From nobody Wed Oct 18 10:52:16 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 4S9SNK0pCpz4xrmg for ; Wed, 18 Oct 2023 10:52:17 +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 4S9SNJ4j4nz4KK7 for ; Wed, 18 Oct 2023 10:52:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697626336; a=rsa-sha256; cv=none; b=yTQpFsHqNeevZf1zt7tZRuP4RNMxpxxLMYb9c0Iyv1gq99i5XBMm+iQ3AMaUPAcbRb296g jgGvXm2c+FOg/1q4nrB+9FFkVWa4sPi3cRdCdecJs8TGXPijI6zLcdi9QpHBr/cnP29Rr/ TL+WkmrkRLuaIUO30hYu1bXERTiVfJk+fOjyEPPAENi1XTrn7ZME5fSH7keCYk8MW8NShg kFK6ZKmQ4XpNjmrZzcSH3CrlsgZYdZPQf37GcNDcRoeqLouh9Rv7ps3YfBHS2MwEaFmHE6 sowOqU17VLk8L6hp8DUFIHbimgCgLS6XPYXrtkK9Noj40sxYVY492AUUPQBrSQ== 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=1697626336; 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=LF0ZwJ6JstsQRazrY1z9FdOgGVCWT4ityFvCAZUnC4o=; b=Hbn1mZHLpawTYcov/N/GFv2P6c7AYBJ4i/IJEIP3iosii8oJKPtcWCHwAk2jvghMqjhq9p v3DjgkJXNgLsNo0dhToczHAZsDFaBps2ZkBvnZOrGgJbAo1ItPaGiAPX4xXzR6g8qousiR 1Y/NlMEGs7kFknM/mYRl9H+JCHkLHH0I+uW0q22ASpG+/BQg8gEdfcz+qlFIPAWFsr+OlP dTyBwJQpX4B6aHI6JMJdfguI4VyzPHBRNLagcjX0yIbTpNtLuWgImGsXgcnkNUOoVPn8o4 TUU3Ss7RAD+K/F4hAvFzCno/JW1bW8avWtwI1Y2FfJZhthT/X6exHHNJt0YihQ== 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 4S9SNJ3S6Fz13rx for ; Wed, 18 Oct 2023 10:52:16 +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 39IAqGQu020087 for ; Wed, 18 Oct 2023 10:52:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39IAqGpN020086 for bugs@FreeBSD.org; Wed, 18 Oct 2023 10:52:16 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 274538] panic: vrefact: wrong use count 0 Date: Wed, 18 Oct 2023 10:52:16 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: Open 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=3D274538 --- Comment #2 from Edward Tomasz Napierala --- Sure; looks the same to me: FreeBSD pustak 15.0-CURRENT FreeBSD 15.0-CURRENT #69 main-n266018-d2abbfede534-dirty: Wed Oct 18 11:33:02 BST 2023=20=20=20=20 root@pustak:/usr/obj/usr/home/trasz/git/freebsd-src/amd64.amd64/sys/GENERIC= =20 amd64 panic: vrefact: wrong use count 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-freebsd15.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 /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: VNASSERT failed: old > 0 not true at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_subr.c:3367 (vrefact) 0xfffff8020f4eb380: type VCHR state VSTATE_CONSTRUCTED op 0xffffffff816ae700 usecount 1, writecount 0, refcount 9 seqc users 0 rdev 0xfffff800095e44= 00 hold count flags () flags () lock type devfs: UNLOCKED dev drm/128 panic: vrefact: wrong use count 0 cpuid =3D 2 time =3D 1697626072 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00f5c63= 820 vpanic() at vpanic+0x132/frame 0xfffffe00f5c63950 panic() at panic+0x43/frame 0xfffffe00f5c639b0 vrefact() at vrefact+0x5e/frame 0xfffffe00f5c639d0 fgetvp_lookup() at fgetvp_lookup+0x97/frame 0xfffffe00f5c63a30 namei_setup() at namei_setup+0x1bf/frame 0xfffffe00f5c63a80 namei_emptypath() at namei_emptypath+0x49/frame 0xfffffe00f5c63ae0 namei() at namei+0x686/frame 0xfffffe00f5c63b40 linux_kern_statat() at linux_kern_statat+0x101/frame 0xfffffe00f5c63c70 linux_newfstatat() at linux_newfstatat+0x59/frame 0xfffffe00f5c63e00 amd64_syscall() at amd64_syscall+0x153/frame 0xfffffe00f5c63f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00f5c63f30 --- syscall (262, Linux ELF64, linux_newfstatat), rip =3D 0x801513f2e, rsp = =3D 0x7fffffffc0b8, rbp =3D 0x1090540 --- Uptime: 5m1s Dumping 1061 out of 16225 MB:..2%..11%..22%..31%..41%..52%..61%..71%..82%..= 91% __curthread () at /usr/home/trasz/git/freebsd-src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/home/trasz/git/freebsd-src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3Dtextdump@entry=3D1) at /usr/home/trasz/git/freebsd-src/sys/kern/kern_shutdown.c:405 #2 0xffffffff80b4eeb0 in kern_reboot (howto=3D260) at /usr/home/trasz/git/freebsd-src/sys/kern/kern_shutdown.c:526 #3 0xffffffff80b4f3af in vpanic ( fmt=3D0xffffffff811e494a "%s: wrong use count %d",=20 ap=3Dap@entry=3D0xfffffe00f5c63990) at /usr/home/trasz/git/freebsd-src/sys/kern/kern_shutdown.c:970 #4 0xffffffff80b4f153 in panic (fmt=3D) at /usr/home/trasz/git/freebsd-src/sys/kern/kern_shutdown.c:894 #5 0xffffffff80c45d3e in vrefact (vp=3D) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_subr.c:3367 #6 0xffffffff80aee297 in fgetvp_lookup (fd=3D,=20 ndp=3Dndp@entry=3D0xfffffe00f5c63b50, vpp=3Dvpp@entry=3D0xfffffe00f5c63= ac8) at /usr/home/trasz/git/freebsd-src/sys/kern/kern_descrip.c:3095 #7 0xffffffff80c3653f in namei_setup (ndp=3Dndp@entry=3D0xfffffe00f5c63b50= ,=20 dpp=3Ddpp@entry=3D0xfffffe00f5c63ac8, pwdp=3Dpwdp@entry=3D0xfffffe00f5c= 63ac0) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_lookup.c:363 #8 0xffffffff80c361b9 in namei_emptypath (ndp=3Dndp@entry=3D0xfffffe00f5c6= 3b50) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_lookup.c:443 #9 0xffffffff80c35fc6 in namei (ndp=3Dndp@entry=3D0xfffffe00f5c63b50) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_lookup.c:664 #10 0xffffffff83b447d1 in linux_kern_statat (td=3D0xfffffe00dc405000,=20 flag=3D16384, fd=3D4,=20 path=3D0x8015d846f = ,=20 pathseg=3DUIO_USERSPACE, sbp=3Dsbp@entry=3D0xfffffe00f5c63c88) at /usr/home/trasz/git/freebsd-src/sys/compat/linux/linux_stats.c:103 #11 0xffffffff83b44519 in linux_newfstatat (td=3D,=20 args=3D0xfffffe00dc405400) at /usr/home/trasz/git/freebsd-src/sys/compat/linux/linux_stats.c:606 #12 0xffffffff810506a3 in syscallenter (td=3D0xfffffe00dc405000) at /usr/home/trasz/git/freebsd-src/sys/amd64/amd64/../../kern/subr_syscall.c:1= 88 #13 amd64_syscall (td=3D0xfffffe00dc405000, traced=3D0) at /usr/home/trasz/git/freebsd-src/sys/amd64/amd64/trap.c:1194 #14 #15 0x0000000801513f2e in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffc0b8 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=