Date: Fri, 17 Apr 2020 06:19:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 245683] panic: solaris assert: HDR_EMPTY(hdr), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c, line: 6271 Message-ID: <bug-245683-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245683 Bug ID: 245683 Summary: panic: solaris assert: HDR_EMPTY(hdr), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zf s/arc.c, line: 6271 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: delphij@FreeBSD.org I'm seeing this panic occasionally on my laptop. Backtrace (from core.txt): (kgdb) #0 doadump (textdump=3D0) at src/sys/amd64/include/pcpu_aux.h:55 #1 0xffffffff84e5ea51 in vt_kms_postswitch (arg=3D0xfffff80006b2b380) at /p51/home/delphij/kms-drm/drivers/gpu/drm/linux_fb.c:89 #2 0xffffffff80a2d7c2 in vt_window_switch (vw=3D0xffffffff818e5b58) at /usr/src/sys/dev/vt/vt_core.c:603 #3 0xffffffff80a2ad3f in vtterm_cngrab (tm=3D<value optimized out>) at /usr/src/sys/dev/vt/vt_core.c:1612 #4 0xffffffff80b5cac6 in cngrab () at /usr/src/sys/kern/kern_cons.c:397 #5 0xffffffff80bc0d4c in vpanic ( fmt=3D0xffffffff82580209 "solaris assert: %s, file: %s, line: %d",=20 ap=3D0xfffffe00e1c85960) at /usr/src/sys/kern/kern_shutdown.c:887 #6 0xffffffff80bc0b93 in panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:839 #7 0xffffffff8257f21a in assfail (a=3D<value optimized out>,=20 f=3D<value optimized out>, l=3D<value optimized out>) at /usr/src/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c:81 #8 0xffffffff82144359 in arc_release (buf=3D0xfffff804d08a03c0,=20 tag=3D0xfffff8000f508160) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:6271 #9 0xffffffff82152e35 in dbuf_free_range (dn=3D<value optimized out>,=20 start_blkid=3D0, end_blkid=3D0, tx=3D0xfffff806d9c8f500) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c:2098 #10 0xffffffff8217c0be in dnode_free_range (dn=3D0xfffff8063bb5bb40,=20 off=3D<value optimized out>, len=3D<value optimized out>,=20 tx=3D0xfffff806d9c8f500) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c:2123 #11 0xffffffff82161183 in dmu_free_long_range (os=3D<value optimized out>,= =20 object=3D<value optimized out>, offset=3D<value optimized out>,=20 length=3D<value optimized out>) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c:869 #12 0xffffffff8220b7a2 in zfs_freesp (zp=3D0xfffff8062a7ccea0, off=3D0, len= =3D0,=20 flag=3D<value optimized out>, log=3D0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c:= 1743 #13 0xffffffff8224b501 in zfs_freebsd_setattr (ap=3D<value optimized out>) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:= 2933 #14 0xffffffff810e06b5 in VOP_SETATTR_APV (vop=3D0xffffffff823161e0,=20 a=3D0xfffffe00e1c86778) at vnode_if.c:739 #15 0xffffffff80caf23e in vn_truncate_locked (vp=3D0xfffff805bad913d0, leng= th=3D0,=20 sync=3Dfalse, cred=3D0xfffff8000f68a900) at vnode_if.h:335 #16 0xffffffff80cac985 in vn_truncate (fp=3D0xfffff805aa03de60, length=3D0,= =20 active_cred=3D0xfffff8000f68a900, td=3D<value optimized out>) at /usr/src/sys/kern/vfs_vnops.c:1329 #17 0xffffffff80ca59fd in kern_openat (td=3D0xfffffe012a066700,=20 fd=3D<value optimized out>, path=3D<value optimized out>,=20 pathseg=3D<value optimized out>, flags=3D<value optimized out>,=20 mode=3D<value optimized out>) at src/sys/sys/file.h:334 #18 0xffffffff84cb6415 in filemon_wrapper_openat (td=3D0xfffffe012a066700,= =20 uap=3D0xfffffe012a066ad8) at src/sys/dev/filemon/filemon_wrapper.c:232 #19 0xffffffff81065c60 in amd64_syscall (td=3D0xfffffe012a066700, traced=3D= 0) at src/sys/amd64/amd64/../../kern/subr_syscall.c:162 #20 0xffffffff8103b510 in fast_syscall_common () at /usr/src/sys/amd64/amd64/exception.S:584 #21 0x000000080bb67caa in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb)=20 It's not really clear to me what is triggering this, but it seems to happen when saving files in vscode-oss. Looks like the system is trying to trunca= te a file: (kgdb) up #13 0xffffffff8224b501 in zfs_freebsd_setattr (ap=3D<value optimized out>) = at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:2933 2933 err =3D zfs_freesp(zp, vap->va_size, 0, 0, FALSE); (kgdb) print *(a->a_vap) $4 =3D {va_type =3D VNON, va_mode =3D 65535, va_padding0 =3D 0, va_uid =3D = 4294967295, va_gid =3D 4294967295, va_nlink =3D 18446744073709551615, va_fsid =3D 18446744073709551615, va_fileid =3D 18446744073709551615, va_size =3D 0, va_blocksize =3D -1,=20 va_atime =3D {tv_sec =3D -1, tv_nsec =3D -1}, va_mtime =3D {tv_sec =3D -1= , tv_nsec =3D -1}, va_ctime =3D {tv_sec =3D -1, tv_nsec =3D -1}, va_birthtime =3D {tv_sec= =3D -1, tv_nsec =3D -1}, va_gen =3D 18446744073709551615, va_flags =3D 184467440737= 09551615,=20 va_rdev =3D 18446744073709551615, va_bytes =3D 18446744073709551615, va_f= ilerev =3D 0, va_vaflags =3D 0, va_spare =3D 128} A quick Google search suggests that this might be the same as https://github.com/openzfs/zfs/issues/9897 . --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245683-227>