Re: ZFS crash with -CURRENT from Aug 23rd

2021-08-27 Thread Ryan Moeller



On 8/27/21 11:35 AM, Ryan Moeller wrote:
zfs_deleteextattr_sa() at zfs_deleteextattr_sa+0x1e/frame 
0xfe0147380360

zfs_setextattr() at zfs_setextattr+0x1e3/frame 0xfe01473804e0

   Panic String: VERIFY(zp->z_is_sa) failed



I see the issue, thanks!


-Ryan




https://github.com/openzfs/zfs/pull/12514




Re: ZFS crash with -CURRENT from Aug 23rd

2021-08-27 Thread Ryan Moeller

zfs_deleteextattr_sa() at zfs_deleteextattr_sa+0x1e/frame 0xfe0147380360
zfs_setextattr() at zfs_setextattr+0x1e3/frame 0xfe01473804e0

   Panic String: VERIFY(zp->z_is_sa) failed



I see the issue, thanks!


-Ryan




Re: ZFS crash with -CURRENT from Aug 23rd

2021-08-27 Thread Jeremie Le Hen
On Fri, Aug 27, 2021 at 1:40 PM Jeremie Le Hen  wrote:
>
> Hey,
>
> I can consistently crash my machine by creating a directory using Samba:
>
> Tracing pid 57242 tid 270954 td 0xfe01446941e0
> kdb_enter() at kdb_enter+0x37/frame 0xfe0147380210
> vpanic() at vpanic+0x1b2/frame 0xfe0147380260
> spl_panic() at spl_panic+0x3a/frame 0xfe01473802c0
> zfs_sa_get_xattr() at zfs_sa_get_xattr+0x1ac/frame 0xfe0147380300
> zfs_ensure_xattr_cached() at zfs_ensure_xattr_cached+0x6c/frame
> 0xfe0147380330
> zfs_deleteextattr_sa() at zfs_deleteextattr_sa+0x1e/frame 0xfe0147380360
> zfs_setextattr() at zfs_setextattr+0x1e3/frame 0xfe01473804e0
> VOP_SETEXTATTR_APV() at VOP_SETEXTATTR_APV+0x40/frame 0xfe0147380500
> null_bypass() at null_bypass+0xf6/frame 0xfe0147380680
> VOP_SETEXTATTR_APV() at VOP_SETEXTATTR_APV+0x40/frame 0xfe01473806a0
> extattr_set_vp() at extattr_set_vp+0x11d/frame 0xfe0147380770
> kern_extattr_set_path() at kern_extattr_set_path+0x181/frame 
> 0xfe01473809a0
> sys_extattr_set_file() at sys_extattr_set_file+0x29/frame 0xfe01473809c0
> amd64_syscall() at amd64_syscall+0x12e/frame 0xfe0147380af0
> fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfe0147380af0
>
> Let me know if I can provide further information.

Actually this may help too

Dump header from device: /dev/gptid/25d0ef97-914b-11e4-9b8e-f44d30620eeb
  Architecture: amd64
  Architecture Version: 4
  Dump Length: 422400
  Blocksize: 512
  Compression: none
  Dumptime: 2021-08-27 11:27:30 +0200
  Hostname: obiwan.local
  Magic: FreeBSD Text Dump
  Version String: FreeBSD 14.0-CURRENT #7 main-n248866-72a92f91f466:
Mon Aug 23 14:24:56 CEST 2021
root@obiwan.local:/usr/obj/usr/src.git/amd64.amd64/sys/OBIWAN
  Panic String: VERIFY(zp->z_is_sa) failed

  Dump Parity: 1322125898
  Bounds: 3
  Dump Status: good




-- 
Jeremie Le Hen
j...@freebsd.org



ZFS crash with -CURRENT from Aug 23rd

2021-08-27 Thread Jeremie Le Hen
Hey,

I can consistently crash my machine by creating a directory using Samba:

Tracing pid 57242 tid 270954 td 0xfe01446941e0
kdb_enter() at kdb_enter+0x37/frame 0xfe0147380210
vpanic() at vpanic+0x1b2/frame 0xfe0147380260
spl_panic() at spl_panic+0x3a/frame 0xfe01473802c0
zfs_sa_get_xattr() at zfs_sa_get_xattr+0x1ac/frame 0xfe0147380300
zfs_ensure_xattr_cached() at zfs_ensure_xattr_cached+0x6c/frame
0xfe0147380330
zfs_deleteextattr_sa() at zfs_deleteextattr_sa+0x1e/frame 0xfe0147380360
zfs_setextattr() at zfs_setextattr+0x1e3/frame 0xfe01473804e0
VOP_SETEXTATTR_APV() at VOP_SETEXTATTR_APV+0x40/frame 0xfe0147380500
null_bypass() at null_bypass+0xf6/frame 0xfe0147380680
VOP_SETEXTATTR_APV() at VOP_SETEXTATTR_APV+0x40/frame 0xfe01473806a0
extattr_set_vp() at extattr_set_vp+0x11d/frame 0xfe0147380770
kern_extattr_set_path() at kern_extattr_set_path+0x181/frame 0xfe01473809a0
sys_extattr_set_file() at sys_extattr_set_file+0x29/frame 0xfe01473809c0
amd64_syscall() at amd64_syscall+0x12e/frame 0xfe0147380af0
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfe0147380af0

Let me know if I can provide further information.
-- 
Jeremie Le Hen
j...@freebsd.org