From nobody Thu Oct 31 12:46:56 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XfNzj0Gb0z5bcpt for ; Thu, 31 Oct 2024 12:46:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfNzh4JPFz4grb for ; Thu, 31 Oct 2024 12:46:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730378816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tfJUuPfdVGnk+NLArJCgQx/e1HyYvk6PpT2JKeJcm3s=; b=VeE0CAQhpAVCkMu1V/ArmdkEhjXhmDuxdAavBrRjaGVckbyjPrbJ7EGqhsS38LeHZELvaI o8hs705nk+x8J6nZGKPioPB22bLtRmohHe4DMtbNCDJDvCCDCMw5gqQ3I9ud8UsXSG4gz3 P3T7N5LAhTbGAM/5S+ddBg2IVB0tK2g5UF4RZLldFlJwaGf/EBALldNqUyav/lIHv4atB9 FvzwHUKPKKW42zangL5D8r+J2deaT0HR5w0zGjQrLERkI8/Weza6dzo8fHCuIzHRIKt6mI ZCK0WQXYSk9TPFtiNvkO9De3bs2YIod991mr7diZ+4pQfVnzU5jxOqvN2vJpfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730378816; a=rsa-sha256; cv=none; b=NwYLo4OgTR4BJxXlYo2gH4ZpgJ5yP+8GZkaOJPnYDWSvMe615LiuXxTa+ilhCBP40owjZY SJmuZWZnCKIhSghRn4s279Dr0wjbnJ3UQbkA/12BXiWiV4KgjOpHVbOkHginI4d09iDluP Q47F8HoVeDk1iDLyyzeLePWnW0/vqb9QBboLgYYlC0KHa95b/4SBo5ma+DrlVuV30zZ/H3 hljtzwS3NfRdy+vvmCNHf7WXqsbFbYAoN3oZG8DCcqwLWCiCxBB/7q5xoJ1tz0RaDo0Guo WQy/0oXBENjjkthfSE+Lhw/uu+wlrQJg+PYiBshYxyUbVa3g0kyGvD/0kyTqog== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XfNzh3wsVzcld for ; Thu, 31 Oct 2024 12:46:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49VCkuYj069127 for ; Thu, 31 Oct 2024 12:46:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49VCkuQ8069126 for bugs@FreeBSD.org; Thu, 31 Oct 2024 12:46:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282445] Wrong stack() info in dtrace Date: Thu, 31 Oct 2024 12:46:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: artemhevorhian@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282445 Bug ID: 282445 Summary: Wrong stack() info in dtrace Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: artemhevorhian@gmail.com Let's assign an ip address to vtnet0 interface in bhyve virtual machine. And after that let's make sure that the routes are added to the OS and we have internet connection from it. Then, let's run the following: dtrace -n 'fbt:kernel:rtnl_handle_message:entry { stack(); }' This is just an example. It can be anything. On my kernel, it gives me the following stack trace: <...> kernel`nl_taskqueue_handler+0x78b kernel`taskqueue_run_locked+0x182 kernel`taskqueue_thread_loop+0xc2 kernel`fork_exit+0x7f kernel`0xffffffff80fdc21e Here, only the first 0xffffffff80fdc21e frame is correct. When I try to do l *fork_exit+0x7f, for example, I get after the current execution point in the stack trace. I guess that's a bug with how dtrace handles name printing. Because the pure hash value seems to be okay. --=20 You are receiving this mail because: You are the assignee for the bug.=