Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Aug 2025 20:50:45 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Current <current@freebsd.org>
Subject:   panic: fsync: vnode is not exclusive locked but should be
Message-ID:  <879c4b3b4daa32dd7b975640f18b6103@Leidinger.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi,

I have a crash with todays -current:
---snip---
[435] VNASSERT failed: locked not true at 
/space/system/usr_src/sys/kern/vfs_subr.c:5795 (assert_vop_elocked)
[435] 0xfffff806746f2000: type VREG state VSTATE_CONSTRUCTED op 
0xffffffff835474f8
[435]     usecount 1, writecount 1, refcount 1 seqc users 0
[435]     hold count flags ()
[435]     flags ()
[435]     v_object 0xfffff80bd3abf0f8 ref 0 pages 0 cleanbuf 0 dirtybuf 
0
[435]     lock type zfs: SHARED (count 1)
[435]   vp=0xfffff806746f2000, lowervp=0xfffff806749bd370
[435] panic: fsync: vnode is not exclusive locked but should be
[435] cpuid = 6
[435] time = 1754331603
[435] KDB: stack backtrace:
[435] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xfffffe0761c76bb0
[435] vpanic() at vpanic+0x136/frame 0xfffffe0761c76ce0
[435] panic() at panic+0x43/frame 0xfffffe0761c76d40
[435] vop_fsync_debugprepost() at vop_fsync_debugprepost+0x102/frame 
0xfffffe0761c76d70
[435] VOP_FSYNC_APV() at VOP_FSYNC_APV+0x23/frame 0xfffffe0761c76d90
[435] kern_fsync() at kern_fsync+0x109/frame 0xfffffe0761c76e00
[435] amd64_syscall() at amd64_syscall+0x16a/frame 0xfffffe0761c76f30
[435] fast_syscall_common() at fast_syscall_common+0xf8/frame 
0xfffffe0761c76f30
[435] --- syscall (95, FreeBSD ELF64, fsync), rip = 0x3d917a21f0a, rsp = 
0x3d90b281448, rbp = 0x3d90b281460 ---
[435] Uptime: 7m15s
---snip---

This repeats at each boot. crashinfo doesn't provide an useful 
backtrace, I think we need a way to provide the location of the debug 
symbols:
---snip---
Reading symbols from /tmp/be_mount.qjKC/boot/kernel/kernel...
(No debugging symbols found in /tmp/be_mount.qjKC/boot/kernel/kernel)
'osreldate' has unknown type; cast it to its declared type
(kgdb) No thread selected.
(kgdb) (kgdb) Python Exception <class 'AttributeError'>: 'NoneType' 
object has no attribute 'value'
Error occurred in Python: 'NoneType' object has no attribute 'value'
(kgdb)
---snip---

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmiRARQACgkQEg2wmwP4
2IagsA//fUyzU7WUxrmt9X+TKqnbt0rTPbWd6Oqh/OMM625eS/FpV4wEvZ5kFa28
VKucjtlkzIQA4vW0o03jExuDKBuixmocsbzXioVQcHXjsaiL1q5aAVc3wj5DSZ/N
IDIsTU1x8m+IHKWYoLgonZo8BrgOKRGI8yPJJF0Y1ND4VfcwgVm0lI1mzBMQJDEl
Zaffy4U1CH8PHBKVWAo97+PNRtSAm4Op1B+yZlYE60dabxsz0e1HCgviKjh23O6u
t7OU8jNsuBmvGuF5yBGlgdNKp5C8LyItgocpAdLsIytzWzRzkxzGtPVBpH2PbsXl
BfHP0HmS/rrqzRTyo6IMPzUxjgEOpGZSbyzpV6hg7Os3eMjx38egbz6SmaPTcIlk
DJIj2m+fTfvplhqLl10libwWdDPgMHX+gRlUZAcENYMzfaMQK4V/o/a1vGwUAJZr
yjdP0Dh5nPM5TEfwRUNBZq8CGfj0pA8F6xml9WLXeV2CB4sI7kYAkZnILy1KOd9r
n58IUx7sjoNowMj/C+IyAsSZvjQ2zNtt5j83hG9cWUEDC5fobRgSuznHMIfKCPTJ
KIlweTboBpY3eGlGsehlk7DzHcuEeJOOTxS/sU1JROmquAMcVZPm2ClNC5lc0TG2
wpbLKgcybEtdBPthnnoiWqg0t8sXH3Y69sopMWerTTilv7GWaxY=
=2fJ0
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?879c4b3b4daa32dd7b975640f18b6103>