From owner-freebsd-bugs@freebsd.org Tue Mar 10 02:55:43 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D04C256043 for ; Tue, 10 Mar 2020 02:55:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48c08H0VzCz3Hnd for ; Tue, 10 Mar 2020 02:55:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F1309256042; Tue, 10 Mar 2020 02:55:42 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0BEC256041 for ; Tue, 10 Mar 2020 02:55:42 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48c08G593xz3Hmn for ; Tue, 10 Mar 2020 02:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F0341CD1E for ; Tue, 10 Mar 2020 02:55:42 +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 02A2tgvp078764 for ; Tue, 10 Mar 2020 02:55:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 02A2tgbI078763 for bugs@FreeBSD.org; Tue, 10 Mar 2020 02:55:42 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 244706] [panic] NULL dereference inside __mtx_lock_sleep() Date: Tue, 10 Mar 2020 02:55:42 +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: 11.3-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 02:55:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244706 --- Comment #2 from Eugene Grosbein --- Also, this system does not clear RAM between reboots, so dmesg buffer survi= ves panic and saved to the log after reboot: Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 02 fault virtual address =3D 0x3b8 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80b024ad stack pointer =3D 0x28:0xfffffe022b5ed720 frame pointer =3D 0x28:0xfffffe022b5ed7a0 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 12 (swi4: clock (0)) trap number =3D 12 panic: page fault cpuid =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff803b4bbb =3D db_trace_self_wrapper+0x2b/frame 0xfffffe022b5ed3d0 vpanic() at 0xffffffff80b2253e =3D vpanic+0x17e/frame 0xfffffe022b5ed430 panic() at 0xffffffff80b223b3 =3D panic+0x43/frame 0xfffffe022b5ed490 trap_pfault() at 0xffffffff80fb8d00 =3D trap_pfault/frame 0xfffffe022b5ed4e0 trap_pfault() at 0xffffffff80fb8d49 =3D trap_pfault+0x49/frame 0xfffffe022b= 5ed540 trap() at 0xffffffff80fb83dd =3D trap+0x29d/frame 0xfffffe022b5ed650 calltrap() at 0xffffffff80f979e3 =3D calltrap+0x8/frame 0xfffffe022b5ed650 --- trap 0xc, rip =3D 0xffffffff80b024ad, rsp =3D 0xfffffe022b5ed720, rbp = =3D 0xfffffe022b5ed7a0 --- __mtx_lock_sleep() at 0xffffffff80b024ad =3D __mtx_lock_sleep+0xbd/frame 0xfffffe022b5ed7a0 ipreass_slowtimo() at 0xffffffff80ca1078 =3D ipreass_slowtimo+0x28/frame 0xfffffe022b5ed7e0 pfslowtimo() at 0xffffffff80baa504 =3D pfslowtimo+0x54/frame 0xfffffe022b5e= d810 softclock_call_cc() at 0xffffffff80b3acbf =3D softclock_call_cc+0x14f/frame 0xfffffe022b5ed8c0 softclock() at 0xffffffff80b3b1b9 =3D softclock+0x79/frame 0xfffffe022b5ed8= e0 intr_event_execute_handlers() at 0xffffffff80ae7119 =3D intr_event_execute_handlers+0xe9/frame 0xfffffe022b5ed920 ithread_loop() at 0xffffffff80ae7807 =3D ithread_loop+0xe7/frame 0xfffffe022b5ed970 fork_exit() at 0xffffffff80ae44c3 =3D fork_exit+0x83/frame 0xfffffe022b5ed9= b0 fork_trampoline() at 0xffffffff80f989fe =3D fork_trampoline+0xe/frame 0xfffffe022b5ed9b0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic Uptime: 24d16h23m51s --=20 You are receiving this mail because: You are the assignee for the bug.=