Page 2 of 2

Re: Xcode IOS Simulator on ZFS

PostPosted: Tue May 05, 2015 11:38 am
by realfolkblues12
ilovezfs wrote:That procedure should work all right.

Next time it hangs, see if you can run spindump from a preexisting ssh connection.


Can you instruct me on running spindump or point me to a resource never have before.

Re: Xcode IOS Simulator on ZFS

PostPosted: Thu May 07, 2015 12:56 am
by ilovezfs
Spindump instructions here: viewtopic.php?f=26&t=2267&start=10#p5541

Re: Xcode IOS Simulator on ZFS

PostPosted: Thu May 07, 2015 8:50 pm
by Brendon
@realfolkblues

Your issue is 100% reproducable, I've raised an issue at https://github.com/openzfsonosx/zfs/issues/306.

Installing Xcode on ZFS is not a prerequisite for the failure, rather, it seems that even having just the project stored on ZFS is sufficient to cause an issue when launching the IOS Simulator.

ZFS is deadlocking. This accounts for the lack of filesystem activity you reported.

- Brendon

Re: Xcode IOS Simulator on ZFS

PostPosted: Sat May 09, 2015 11:47 pm
by realfolkblues12
Thanks for doing the spin dump and opening the issue for me. It's been crazy with finals for me and have not had time.

Brendon wrote:@realfolkblues

Your issue is 100% reproducable, I've raised an issue at https://github.com/openzfsonosx/zfs/issues/306.

Installing Xcode on ZFS is not a prerequisite for the failure, rather, it seems that even having just the project stored on ZFS is sufficient to cause an issue when launching the IOS Simulator.

ZFS is deadlocking. This accounts for the lack of filesystem activity you reported.

- Brendon

Re: Xcode IOS Simulator on ZFS

PostPosted: Sun May 10, 2015 9:46 pm
by Brendon
Issue has been corrected in master. Note that ZFS and SPL need updating.

Thanks Lundman!

-Brendon

Re: Xcode IOS Simulator on ZFS

PostPosted: Sun May 10, 2015 11:00 pm
by realfolkblues12
Brendon wrote:Issue has been corrected in master. Note that ZFS and SPL need updating.

Thanks Lundman!

-Brendon


Sweet! Just built from source and am able to use the simulator without issue. Thanks!

Re: Xcode IOS Simulator on ZFS

PostPosted: Sat May 16, 2015 7:33 am
by perry
For those in need of a work-around, it's the ~/Library/Developer directory that triggers the problem. Link that over to HFS and things seem to be fine. (At least they are for me, on 1.3.1-r2.)

Cheers
-- perry

Re: Xcode IOS Simulator on ZFS

PostPosted: Sat May 16, 2015 11:30 am
by realfolkblues12
Why not just build from source perry? I mean you've already got Xcode if you have this issue.

Re: Xcode IOS Simulator on ZFS

PostPosted: Wed Jul 15, 2015 7:28 am
by nixcamic
I reported something very similar to this in November of last year :D viewtopic.php?f=26&t=2097