Open arizz96 opened 6 years ago
+1 same problem here
Also seeing the same issue. Is there any chance it's related to this issue with forking processes in High Sierra? https://blog.phusion.nl/2017/10/13/why-ruby-app-servers-break-on-macos-high-sierra-and-what-can-be-done-about-it/
It seems to have begun reliably only after I upgraded to High Sierra, and if memory serves me right Zeus uses forking pretty heavily.
I'm still seeing the same problem. Is there any progress on it?
any news about this?
@AndrzejJantos check out this https://github.com/burke/zeus/issues/617#issuecomment-346040927
For me, with this ENV, Zeus works
Nope, it didn't help.
Zeus is not working on latest mac update + gem 'pg'.
@devonestes @arizz96 thanks! This worked in my case on zeus v0.15.14:
Available Commands: [waiting] [crashed] [ready]
zeus console (alias: c) [run to see backtrace]
zeus server (alias: s) [run to see backtrace]
zeus generate (alias: g) [run to see backtrace]
zeus destroy (alias: d) [run to see backtrace]
zeus dbconsole [run to see backtrace]
zeus rake [run to see backtrace]
zeus runner (alias: r) [run to see backtrace]
zeus test (alias: rspec, testrb) [run to see backtrace]
slavenode.go:226: [default_bundle] read unix ->: EOF
noice ~/code/crystalmails.com/crystalmails (master)
$ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
$ zeus --log=./zeus.log start
Starting Zeus server v0.15.14
....
Available Commands: [waiting] [crashed] [ready]
zeus dbconsole
zeus rake
zeus runner (alias: r)
zeus console (alias: c)
zeus server (alias: s)
zeus generate (alias: g)
zeus destroy (alias: d)
zeus test (alias: rspec, testrb)
I just want to chime in that export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
fixed my issue on my fresh install of OSX mojave.
System details
uname -a
: Darwin MBP.lan 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64(macOS High Sierra)
ruby -v
: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin17](I'm using rbenv, but rvm give me the same error)
zeus
Tried with: 0.15.15.pre 0.15.14 0.15.13 0.15.12 0.15.10 (this givessegmentation fault
)pg
gem Tried with: 0.18.3 0.21.0Steps to Reproduce
zeus start
on a fresh new project, using PostgreSQL, project gives:slavenode.go:226: [default_bundle] read unix ->: EOF
On another fresh project, using SQLite, zeus works.