Segmentation Fault 11 using zdb on High Sierra

Posted:
Mon Nov 06, 2017 3:26 pm
by Double K
Hi Folks, first post, but long time user of ZFS on OS X.
Did a fresh install of High Sierra on a Mac Pro (10.13.1)
Installed Java, XCode, and Homebrew (with smartmontools)
Installed O3X 1.7.0
Can create pools with no problem
However, when I run zdb, I get "Segmentation fault: 11"
Anyone else having this issue?
Any suggestions on how to fix?
PS - zdb works fine on O3X 1.5.2 on Yosemite 10.10.5 on a macmini for me
Re: Segmentation Fault 11 using zdb on High Sierra

Posted:
Fri Nov 17, 2017 1:53 pm
by Double K
Just to update this post, I downgraded to Sierra 10.12.6 and installed O3X 1.6.1 and I don't have any issues with running zdb.
If anyone is successfully using zdb on High Sierra with O3X 1.7.0, please reply to this post. I'd like to understand if this is a "local" issue.
Re: Segmentation Fault 11 using zdb on High Sierra

Posted:
Fri Nov 17, 2017 5:12 pm
by FadingIntoBlue
Just checked on two separate installs here, segmentation fault 11 with both. High Sierra 10.13.1 also
Re: Segmentation Fault 11 using zdb on High Sierra

Posted:
Sun Nov 19, 2017 4:27 pm
by lundman
The zdb is a known issue with the compile of 1.7.0 - the fix is here:
https://github.com/openzfsonosx/zfs/com ... 17cffe10f1and will be corrected in the proper release, which we wanted out quickly, but the on-disk crypto changes came up first, and we don't want to release something when we know we have to change the on-disk format.
Re: Segmentation Fault 11 using zdb on High Sierra

Posted:
Mon Nov 20, 2017 6:40 am
by Double K
Thanks @FadingIntoBlue for confirming that I'm not alone in having this issue
Thanks @lundman for creating/confirming the fix. Much appreciated!