From nobody Sat Nov 18 18:01:18 2023 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 4SXhR35BvCz51Q2C for ; Sat, 18 Nov 2023 18:01:19 +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 4SXhR31Bkmz3XCR for ; Sat, 18 Nov 2023 18:01:19 +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=1700330479; 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=3OR02uKAvfGwVlcYS3kTtkJ7noXF731gU240GO1PLUQ=; b=omC+70e4eAVyvZPw7cgfQ5KMgSRpxoc6eUU3vKsu0wWGeRrYjib6ofnGWKaYoMLpBqsE6v tTOtR2Uhn1fHrN0nlbzh+myn6ovFAwrr3NgwZbzNply8T5y2uf6pvJx/5xBKuvhXcN2zQW J53uPGBdg9NLZae0cazBSC4tblvrTD44fqyFZTvrh6Xzb76C1uJ7el3QPdhLkUiB0y5lCq eyQSK6kep11rF9lEgGyU0ZA6AOIqsZGnMvI6tz8iAC1gL04IKJSN3ZyjLIuvfH1kvWHW1I tByyCN6TWaysyjzCcWjB7hhrKgnmd/pRaOJjK2C7J0TkfwK0exNW3NcPjLRUJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700330479; a=rsa-sha256; cv=none; b=t9LisoTOSp7AiCDSfwIqLySgkOQoJhjg8kzxq0uhQc6kSUf+Jz8Y3AXmEblYaki4nxJ8D4 YVuJhXQt5qGfX1PZM70CkaUpE5IyBLhdrzuIRvgYZX9lU+rQplgqqqB4HxMsoUpmkWQtdT YeVSnNhJKs1CVLqFosL4/54m0ezkeJk6ElpaWdhtUdBCvd2+/zOCsd2PWKEgYpPjBMskoe vQqIuL+Q4NG2IRE6ZHe9YgdfwCIAMyiv32lhLYLO6mqd4thQDPdu/U1wlrTibnfCBld9J+ m+uExZaXBTxkjA4cHShOqNbgXYoEtnN59l1aZPWFhUxl0OHnQu/bexJzYomkLw== 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 4SXhR30GnGzcWS for ; Sat, 18 Nov 2023 18:01:19 +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 3AII1IA5073287 for ; Sat, 18 Nov 2023 18:01:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AII1I8r073286 for bugs@FreeBSD.org; Sat, 18 Nov 2023 18:01:18 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 275172] crash with sysctl -a | less Date: Sat, 18 Nov 2023 18:01:18 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at 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=3D275172 Bug ID: 275172 Summary: crash with sysctl -a | less Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - FreeBSD stable/14 at e4fb49e867ae (with a few harmless local patches -> 83a9fd62727b) - Executing 'sysctl -a | less' Result: - The first page of the sysctl output is shown. Scenario (continued): - Press "G" to read all of the output and go to the end Result (continued): - Crash. Note: Maybe there was a different scenario leading to the crash, the machine was also busy with iSCSI traffic (ctld) to zfs zvols. Subjetively, the crash coincided with pressing the "G" key. Crash info: [0]# cd /usr/lib/debug/boot/kernel=20=20=20=20=20=20=20=20 [0]# kgdb kernel.debug /var/crash/vmcore.0 GNU gdb (GDB) 13.2 [GDB v13.2 for FreeBSD] Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd14.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from kernel.debug... Unread portion of the kernel message buffer: Fatal trap 9: general protection fault while in kernel mode cpuid =3D 2; apic id =3D 02 instruction pointer =3D 0x20:0xffffffff804f74c6 stack pointer =3D 0x28:0xfffffe00f75e4a60 frame pointer =3D 0x28:0xfffffe00f75e4b00 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 44121 (sysctl) rdi: fffff8000c8ed088 rsi: 0000000000000000 rdx: 0000000000000000 rcx: 0000000000000000 r8: ffffffff82012090 r9: 0000000000000000 rax: 0000000000000000 rbx: fffff8000c8ed088 rbp: fffffe00f75e4b00 r10: 7fffac007fffac03 r11: fffffe0100f39540 r12: fffffe0100f39020 r13: 0000000000000000 r14: 0000000000000000 r15: 95f8404ead006a00 trap number =3D 9 Timeout initializing vt_vga panic: general protection fault cpuid =3D 2 time =3D 1700327198 KDB: stack backtrace: #0 0xffffffff8053772d at kdb_backtrace+0x5d #1 0xffffffff804ec792 at vpanic+0x132 #2 0xffffffff804ec653 at panic+0x43 #3 0xffffffff8080a6fc at trap_fatal+0x40c #4 0xffffffff807e2c98 at calltrap+0x8 #5 0xffffffff825d0ab4 at drm_vblank_info+0x64 #6 0xffffffff804fda40 at sysctl_root_handler_locked+0x90 #7 0xffffffff804fce66 at sysctl_root+0x216 #8 0xffffffff804fd4f6 at userland_sysctl+0x176 #9 0xffffffff804fd33c at sys___sysctl+0x5c #10 0xffffffff8080afa5 at amd64_syscall+0x105 #11 0xffffffff807e35ab at fast_syscall_common+0xf8 Uptime: 8h43m24s Dumping 2556 out of 16096 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% __curthread () at /net/hal/z/SRC/FreeBSD/src/MBi/stable/14/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=