From nobody Thu Oct 03 18:06:13 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 4XKKP262ZFz5Ycm8 for ; Thu, 03 Oct 2024 18:06:14 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XKKP24yj7z40Ms for ; Thu, 3 Oct 2024 18:06:14 +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=1727978774; 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: in-reply-to:in-reply-to:references:references; bh=l/b+vyUV3dWCw1N4lzjREaT0k5WrgT5VzFaY+1W55do=; b=bovK+jyOnKMv1UmwfRbzxFwEe8g+HhZW9jI+0oXod1/6oYGc1Zw5BgK9IJa7pmt/bJbxZd Dfc17Fy9RmLAueccc1AQ3PWMI/VKhEAon7TujmsmOzXXDKUdzcm4jz8JmdPQaGSXu/+XdY x61AevpLrgpjzI7Q1BIriSm6y8k8A1xK3gZPaUIyEZYcAcSvwA1sw8B3/Z91jayh1POsnb GDCpeNipKmlnuZCJliIrNfJsULLOORW21Djz05ENHW2NpZ5Z90wUCAaiLT6ACnlvuTbn1p 7nqm3v8gPcc+iV0UzFvQI89PmxANFwbqAonqwtnwA9ugzA/Yel+5RxW1wUTO+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727978774; a=rsa-sha256; cv=none; b=xZPt1lDDrZ34VbyLd5f5G+1/PtmHcVaFlSd5sfvnj75pZ5ezTYxWatEG3TBQgj6RdeC3m9 rB0wctYniyFyKGAW2iF5HDSnWRfK1KqSPlmEL4MUxSntT5JGVBKnK3+GNbi0hKJDclslMc qbqKoEHTRF4vHmCA6V/28cmIuHYF4FoME03pVBQ3Jo/PgdYHFZSngk+tdrQDiH7b3R7S/X xifhwXYfpG7ejNWBD7LMqJTyHs/6/AlrrJk8DSxxuYrKjChwFNVrYlBNwYNwmmvMtOXqZV fgxPoa06TxXdeFwvYVPliDuTZcON8I0N1HhhgvkgUFW+mK6nCDStsXnExQoOOA== 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 4XKKP24ZTnz10hR for ; Thu, 3 Oct 2024 18:06:14 +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 493I6ECc095498 for ; Thu, 3 Oct 2024 18:06:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 493I6E0C095497 for bugs@FreeBSD.org; Thu, 3 Oct 2024 18:06:14 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 281825] SDT tracepoints are not cleaned up when a module is unloaded Date: Thu, 03 Oct 2024 18:06:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D281825 --- Comment #1 from John Baldwin --- This seems to reproduce the original panic reported to me: kldload nvmft kldload dtraceall kldunload nvmft kldload ctl kldload nvmft Fatal trap 12: page fault while in kernel mode cpuid =3D 11; apic id =3D 0b fault virtual address =3D 0xffffffff8281d078 fault code =3D supervisor write data, protection violation instruction pointer =3D 0x20:0xffffffff828f4761 stack pointer =3D 0x28:0xfffffe00dc30b8f0 frame pointer =3D 0x28:0xfffffe00dc30ba80 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 1084 (kldload) rdi: ffffffff8285e70e rsi: ffffffff8285ed86 rdx: 0000000000000000 rcx: ffffffff8281d078 r8: 0000000000000004 r9: 0000000000000000 rax: ffffffff82865018 rbx: ffffffff82865000 rbp: fffffe00dc30ba80 r10: 0000000000010000 r11: 0000000000000001 r12: fffff80008085c00 r13: fffff8013dd2a220 r14: fffff8003cee6628 r15: fffff80003f37000 trap number =3D 12 panic: page fault cpuid =3D 11 time =3D 1727978657 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00dc30b= 5c0 vpanic() at vpanic+0x13f/frame 0xfffffe00dc30b6f0 panic() at panic+0x43/frame 0xfffffe00dc30b750 trap_fatal() at trap_fatal+0x40b/frame 0xfffffe00dc30b7b0 trap_pfault() at trap_pfault+0xa0/frame 0xfffffe00dc30b820 calltrap() at calltrap+0x8/frame 0xfffffe00dc30b820 --- trap 0xc, rip =3D 0xffffffff828f4761, rsp =3D 0xfffffe00dc30b8f0, rbp = =3D 0xfffffe00dc30ba80 --- sdt_kld_load_probes() at sdt_kld_load_probes+0x3c1/frame 0xfffffe00dc30ba80 linker_load_module() at linker_load_module+0xe90/frame 0xfffffe00dc30bd80 kern_kldload() at kern_kldload+0x16e/frame 0xfffffe00dc30bdd0 sys_kldload() at sys_kldload+0x5c/frame 0xfffffe00dc30be00 amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe00dc30bf30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00dc30bf30 --- syscall (304, FreeBSD ELF64, kldload), rip =3D 0x1085b13898da, rsp =3D 0x1085aeefe008, rbp =3D 0x1085aeefe580 --- --=20 You are receiving this mail because: You are the assignee for the bug.=