From nobody Sun Feb 11 15:08:33 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 4TXrZT5H5Pz59t8y for ; Sun, 11 Feb 2024 15:08:33 +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 4TXrZT0fLtz4YsM for ; Sun, 11 Feb 2024 15:08:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707664113; a=rsa-sha256; cv=none; b=Nk433jyJ+pQ5t+WBTkOI0HTlyYLtjoDV2z67uUcHhYGuGhPz8MqCgTb0cNcu7xRzcwMtsT zz96rxvdZz49fAABiUPoJhQVfEC3HdZI7oFSIz74Mzcl4HMh5N/oGYreIP6lVQn2GNI/Yv j54UvPf+z2wwn0yzFMCOaw84E5Dl4px+Ote9x33JFrA38mx1dgZNWRck2gRNnBJeKLiJca tRQ+iOesi33Lbapjt6SGSFDya8lfDZPWV0j2KWP5Hzq1yqUk8RVDWIFkktiEtffstzrkXt UtQ4zR2kEtw/S/n6qeXc7iZhBII6VLTFNytIXaJ4d/hv31Jj1jooXUCeuktMqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707664113; 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=luTNSMm8UqdZWS7IU/AfVt62bBrx8ubYd6GM2GJYjfI=; b=xFEN/zEFLCJLBZK4QCECA4E8XdpMbYdCSbszkf/nqmTL4A/wLnDY9uZutbthJhKtatOXWo hPb4SEw10RtzWLCb1XRqTUlTyZMIM9WBJP6MugG5pQfOQn19kdSO33oDoDVVEaLMnACtOq Sm7tpzMdoTxX6/11hyOIJap+9sv0oIVDFB/+6hUnpQR0NmAl73m+kvm6EcLIqXvDEhVddQ nu09PhZnu8Zmcj1ebzQKphl2LkvaCZmVKHvH+YM/wtarRVwgrQNUW/SbjOBySf/9Cwq9f+ HnyU0A/89BK3Qz+qRrIrabbvhHQgohmeoCFzP+OAi2TbIdE9QtYykbI6OCpF2g== 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 4TXrZS6sXXz13gj for ; Sun, 11 Feb 2024 15:08:32 +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 41BF8Wuh026507 for ; Sun, 11 Feb 2024 15:08:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41BF8WfD026501 for bugs@FreeBSD.org; Sun, 11 Feb 2024 15:08:32 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 276985] Crash in scheduler __curthread Date: Sun, 11 Feb 2024 15:08:33 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: feh@fehcom.de 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=3D276985 Bug ID: 276985 Summary: Crash in scheduler __curthread Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: feh@fehcom.de Hi, I'm getting a crash dump occasionally (desktop machine, running Cinnamon, Firefox, Evolution ...): uname -a FreeBSD am06 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 dmesg: FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GEN= ERIC amd64 FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) VT(efifb): resolution 800x600 CPU: AMD Ryzen 5 5500U with Radeon Graphics (2096.12-MHz K8-class = CPU) Origin=3D"AuthenticAMD" Id=3D0x860f81 Family=3D0x17 Model=3D0x68 Step= ping=3D1 Crash dumps analyzed with kdbg: --- vmcore.1 --- Fatal trap 12: page fault while in kernel mode cpuid =3D 8; apic id =3D 0a fault virtual address =3D 0xfffff80177d84d10 fault code =3D supervisor read instruction, protection violati= on instruction pointer =3D 0x20:0xfffff80177d84d10 stack pointer =3D 0x28:0xfffffe00c0721e18 frame pointer =3D 0x28:0xfffffe00c0721e40 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 (linuxkpi_irq_wq) rdi: fffff80177d84d10 rsi: fffff8022a176300 rdx: 0000000000000000 rcx: fffffe0097ec7cc0 r8: 000000000000001e r9: fffffe001aa03598 rax: fffff80177d84d10 rbx: fffffe00c0721e28 rbp: fffffe00c0721e40 r10: fffff8022a176300 r11: fffff8022a176400 r12: fffff80001971a58 r13: 0000000000000000 r14: ffffffff81a10d48 r15: 0000000000000008 trap number =3D 12 panic: page fault cpuid =3D 8 time =3D 1707662279 KDB: stack backtrace: #0 0xffffffff80b9009d at kdb_backtrace+0x5d #1 0xffffffff80b431a2 at vpanic+0x132 #2 0xffffffff80b43063 at panic+0x43 #3 0xffffffff8100c85c at trap_fatal+0x40c #4 0xffffffff8100c8af at trap_pfault+0x4f #5 0xffffffff80fe3a38 at calltrap+0x8 #6 0xffffffff80ba5992 at taskqueue_run_locked+0x182 #7 0xffffffff80ba6c22 at taskqueue_thread_loop+0xc2 #8 0xffffffff80afdb7f at fork_exit+0x7f #9 0xffffffff80fe4a9e at fork_trampoline+0xe Uptime: 3h55m5s Dumping 1095 out of 15734 MB:..2%..11%..21%..31%..41%..52%..62%..71%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, ---- vmcore.1 ------ Fatal trap 12: page fault while in kernel mode cpuid =3D 9; apic id =3D 0b fault virtual address =3D 0x10 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff830341e0 stack pointer =3D 0x28:0xfffffe012c6bd900 frame pointer =3D 0x28:0xfffffe012c6bd910 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 3 current process =3D 1909 (Xorg:cs0) rdi: fffffe0129486058 rsi: 0000000000000000 rdx: ffffffff833bae90 rcx: 0000000000000000 r8: 0000000000000010 r9: 0000000000000000 rax: 0000000000000000 rbx: fffffe0129486058 rbp: fffffe012c6bd910 r10: 000000000001ffee r11: 0000000000000003 r12: fffffe0129486058 r13: 0000000000000000 r14: fffffe012c6bd9e0 r15: fffffe012c6bd9a8 trap number =3D 12 panic: page fault cpuid =3D 9 time =3D 1707133733 KDB: stack backtrace: #0 0xffffffff80b9009d at kdb_backtrace+0x5d #1 0xffffffff80b431a2 at vpanic+0x132 #2 0xffffffff80b43063 at panic+0x43 #3 0xffffffff8100c85c at trap_fatal+0x40c #4 0xffffffff8100c8af at trap_pfault+0x4f #5 0xffffffff80fe3a38 at calltrap+0x8 #6 0xffffffff8300bc69 at amdgpu_cs_parser_bos+0x639 #7 0xffffffff8300b4ff at amdgpu_cs_ioctl+0xd8f #8 0xffffffff8353cbb6 at drm_ioctl_kernel+0xc6 #9 0xffffffff8353cf65 at drm_ioctl+0x2b5 #10 0xffffffff80da7902 at linux_file_ioctl+0x312 #11 0xffffffff80bb15a5 at kern_ioctl+0x255 #12 0xffffffff80bb12e3 at sys_ioctl+0x123 #13 0xffffffff8100d119 at amd64_syscall+0x109 #14 0xffffffff80fe434b at fast_syscall_common+0xf8 Uptime: 2h12m22s Dumping 1007 out of 15734 MB:..2%..12%..21%..31%..42%..51%..61%..72%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, It point to the inline assembler macro. This happened twice now: drwxr-x--- 2 root wheel 12 11 Feb. 15:38 . drwxr-xr-x 26 root wheel 26 11 Feb. 15:38 .. -rw-r--r-- 1 root wheel 2 11 Feb. 15:38 bounds -rw-r--r-- 1 root wheel 309974 5 Feb. 12:49 core.txt.0 -rw-r--r-- 1 root wheel 259814 11 Feb. 15:38 core.txt.1 -rw------- 1 root wheel 471 5 Feb. 12:49 info.0 -rw------- 1 root wheel 472 11 Feb. 15:38 info.1 lrwxr-xr-x 1 root wheel 6 11 Feb. 15:38 info.last -> info.1 -rw-r--r-- 1 root wheel 5 10 Nov. 09:16 minfree -rw------- 1 root wheel 1056780288 5 Feb. 12:49 vmcore.0 -rw------- 1 root wheel 1148813312 11 Feb. 15:38 vmcore.1 lrwxr-xr-x 1 root wheel 8 11 Feb. 15:38 vmcore.last -> vmcore.1 Any help is appreciated. --eh. --=20 You are receiving this mail because: You are the assignee for the bug.=