Closed benjie closed 8 years ago
Ah @burke I think this is https://github.com/burke/ttyutils/pull/1. My best guess is that you built 0.15.4 with a version of Go that had a different struct memory layout that didn't trigger this latent bug. When you built 0.15.8, you had probably updated Golang on your machine and thus built a binary that includes this bug.
Yep, I built 0.15.8 with go 1.6.2. Perhaps I should yank 0.15.8?
btw, I can give you rubygems push access if you want it.
Sure! I'm ametcalf
on rubygems. I'll have a PR incoming to update ttyutils and bump the version.
@benjie: published 0.15.9, please tell me if you still encounter problems!
@metcalf just installed this myself and I get an immediate exit status 1 on linux whereas, no other changes, 0.15.4 works fine. Troubleshooting tips?
$ zeus start
Starting Zeus server v0.15.9
[ready] [crashed] [running] [connecting] [waiting]
boot
└── default_bundle
├── development_environment
│ └── prerake
└── test_environment
└── test_helper
Available Commands: [waiting] [crashed] [ready]
zeus destroy (alias: d)
zeus dbconsole
zeus rake
zeus runner (alias: r)
zeus console (alias: c)
zeus server (alias: s)
zeus generate (alias: g)
zeus test (alias: rspec, testrb)
exit status 1
$ gem uninstall zeus -v 0.15.9
Successfully uninstalled zeus-0.15.9
$ zeus start
Starting Zeus server v0.15.4
[ready] [crashed] [running] [connecting] [waiting]
boot
└── default_bundle
├── development_environment
│ └── prerake
└── test_environment
└── test_helper
Available Commands: [waiting] [crashed] [ready]
zeus rake
zeus runner (alias: r)
zeus console (alias: c)
zeus server (alias: s)
zeus generate (alias: g)
zeus destroy (alias: d)
zeus dbconsole
zeus test (alias: rspec, testrb)
@burke: can you do the output from zeus --log /dev/stderr start
? I want to make sure we're seeing the same things.
2016/06/30 17:05:15.487917 [/Users/andrew/code/go/src/github.com/burke/zeus/go/processtree/slavenode.go:384] boot/(no PID) root process exited with an error before it could boot: exit status 1; output was: /home/drew/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/zeus-0.15.9/lib/zeus/rails.rb:17:in `require': cannot load such file -- zeus (LoadError)
from /home/drew/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/zeus-0.15.9/lib/zeus/rails.rb:17:in `<top (required)>'
from /home/drew/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
from /home/drew/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
from /home/drew/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
(I see you've pulled 0.15.9 due to similar issues)
I have a the same problem now 0.15.10
Description of Problem
With zeus 0.15.8,
zeus start
crashes withpanic: runtime error: invalid memory address or nil pointer dereference
zeus 0.15.4 works
System details
uname -a
:Darwin iMac.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
ruby -v
:ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
Steps to Reproduce
zeus start
Observed Behavior
Expected Behavior
No crash