From nobody Wed Aug 3 14:15:17 2022 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 4LyYm612Bwz4XlVs for ; Wed, 3 Aug 2022 14:15:18 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LyYm55KFcz3hN3 for ; Wed, 3 Aug 2022 14:15:17 +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) 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 4LyYm53tTDzttS for ; Wed, 3 Aug 2022 14:15:17 +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 273EFHaT088521 for ; Wed, 3 Aug 2022 14:15:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 273EFHsl088520 for bugs@FreeBSD.org; Wed, 3 Aug 2022 14:15:17 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 265598] page fault under fork in kernel Date: Wed, 03 Aug 2022 14:15:17 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: heas@shrubbery.net 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659536117; 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=m1H5ApnE2cKdHVOB8n2TRZkAQajHYJnBTAYq302kQe8=; b=L5Ye57kPHbHLAlmdCBqeeNtTIZwsFVwiv8SHviI8/NodPJsHbq1Uu2xd/AGRfCVTTBsmLo CPO+q5/zqMwxvLODo7TQ5FJhQpG4eZQ6IJ6Ig4XrDdZOEAkFT9oK5pg26IY9HJQL5tgmsJ 5OJSJguxv10voxe5wnH9UrkFbxEI0IlkC28u4s52/1bMMuifathnpEcJagkhSz63B26bij 0hiyVX+9gGlvQq6EPoMTJ4vDqePQuDWVQu86Sz3Zd5kfkKOgkzmhifuK1w60ljl4vrDor6 YziybRQGT/YnESfA793aF55lVqaie5yWVzJNFubS559BArobX3Ews47qGfxiaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659536117; a=rsa-sha256; cv=none; b=G4RQrHG+OSIWWtwHi4EASM5ynAnZp+MGyiSnrmig5WJjgKuNFo80w5jQhz5qblb22TcI95 /JTdcl8KF5vfGMohO4K+24zl4B9GqnkjlBjJQ1yCKfynkU/dr3k/ivw1H/OUTLq0GEp1+H YaRNXawLF29u/uGCbt9coKc0BAEuw0jk6uSqOHdm+VvgHCoK5Na3UihIZz1HIcwGF55paF f6Nbqjt/Mwdl44W/lJapnIA5jDR14TGEhILSe0VrxzgiHFDKA7QqAXUTby3ycr6o1Ttv6G CXJ71AUe4OZliEDJZJ4PtlsbRQot57YzCh6XfZkEDlmvOtisA0k1NIjFE5Zgng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265598 Bug ID: 265598 Summary: page fault under fork in kernel Product: Base System Version: 12.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: heas@shrubbery.net I experience these periodic page fault crashes on this one machine. I think this began with 12.2, currently at p15. I am not aware of a specific trigger and do not currently have a large enou= gh dumpdev to capture a dump. 12.2.p?: Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x80c83670 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x80c83670 stack pointer =3D 0x28:0xfffffe0000547ab8 frame pointer =3D 0x28:0xfffffe0000547ae0 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 0 (if_io_tqg_3) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1626772337 KDB: stack backtrace: #0 0xffffffff80bb5e35 at kdb_backtrace+0x65 #1 0xffffffff80b6a0eb at vpanic+0x17b #2 0xffffffff80b69f63 at panic+0x43 #3 0xffffffff8103d941 at trap_fatal+0x391 #4 0xffffffff8103d99f at trap_pfault+0x4f #5 0xffffffff8103cfe6 at trap+0x286 #6 0xffffffff81015068 at calltrap+0x8 #7 0xffffffff80c81608 at _task_fn_tx+0xa8 #8 0xffffffff80bb4a01 at gtaskqueue_run_locked+0x121 #9 0xffffffff80bb46c6 at gtaskqueue_thread_loop+0xb6 #10 0xffffffff80b2b94e at fork_exit+0x7e #11 0xffffffff8101609e at fork_trampoline+0xe Uptime: 1d7h6m15s 12.2p10: Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x80c83670 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x80c83670 stack pointer =3D 0x28:0xfffffe0000547ab8 frame pointer =3D 0x28:0xfffffe0000547ae0 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 0 (if_io_tqg_3) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1638558873 KDB: stack backtrace: #0 0xffffffff80bb5e35 at kdb_backtrace+0x65 #1 0xffffffff80b6a0eb at vpanic+0x17b #2 0xffffffff80b69f63 at panic+0x43 #3 0xffffffff8103d941 at trap_fatal+0x391 #4 0xffffffff8103d99f at trap_pfault+0x4f #5 0xffffffff8103cfe6 at trap+0x286 #6 0xffffffff81015068 at calltrap+0x8 #7 0xffffffff80c81608 at _task_fn_tx+0xa8 #8 0xffffffff80bb4a01 at gtaskqueue_run_locked+0x121 #9 0xffffffff80bb46c6 at gtaskqueue_thread_loop+0xb6 #10 0xffffffff80b2b94e at fork_exit+0x7e #11 0xffffffff8101609e at fork_trampoline+0xe Uptime: 61d1h37m40s 12.2.p15: Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x80c836c0 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x80c836c0 stack pointer =3D 0x28:0xfffffe0000542ab8 frame pointer =3D 0x28:0xfffffe0000542ae0 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 0 (if_io_tqg_3) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1659432012 KDB: stack backtrace: #0 0xffffffff80bb5e85 at kdb_backtrace+0x65 #1 0xffffffff80b6a13b at vpanic+0x17b #2 0xffffffff80b69fb3 at panic+0x43 #3 0xffffffff8103d8e1 at trap_fatal+0x391 #4 0xffffffff8103d93f at trap_pfault+0x4f #5 0xffffffff8103cf86 at trap+0x286 #6 0xffffffff81015148 at calltrap+0x8 #7 0xffffffff80c81658 at _task_fn_tx+0xa8 #8 0xffffffff80bb4a51 at gtaskqueue_run_locked+0x121 #9 0xffffffff80bb4716 at gtaskqueue_thread_loop+0xb6 #10 0xffffffff80b2b99e at fork_exit+0x7e #11 0xffffffff8101617e at fork_trampoline+0xe Uptime: 30d14h26m51s I do periodically experience an ECC correctable error that time-wise does n= ot appear to be correlated to these page faults, but perhaps I am wrong. eg: MCA: Bank 11, Status 0x8c000050000800c2 MCA: Global Cap 0x0000000007000c16, Status 0x0000000000000000 MCA: Vendor "GenuineIntel", ID 0x306f2, APIC ID 0 MCA: CPU 0 COR (1) MS channel 2 memory error MCA: Address 0x952ef9e80 MCA: Misc 0x90840100010208c MCA: Misc 0x90840100010208c MCA: Bank 9, Status 0x8c00004c000800c0 MCA: Global Cap 0x0000000007000c16, Status 0x0000000000000000 MCA: Vendor "GenuineIntel", ID 0x306f2, APIC ID 27 MCA: CPU 23 COR (1) MS channel 0 memory error MCA: Address 0x167b065100 MCA: Misc 0x90000020002188c MCA: Misc 0x90840100010208c MCA: Bank 11, Status 0x8c000050000800c2 MCA: Global Cap 0x0000000007000c16, Status 0x0000000000000000 MCA: Vendor "GenuineIntel", ID 0x306f2, APIC ID 0 MCA: CPU 0 COR (1) MS channel 2 memory error MCA: Address 0x952ef9e80 MCA: Misc 0x90840100010208c --=20 You are receiving this mail because: You are the assignee for the bug.=