burke / zeus

Boot any rails app in under a second.
MIT License
3.33k stars 231 forks source link

Panic on CTRL+C while zeus start is loading #587

Open thedrow opened 8 years ago

thedrow commented 8 years ago
panic: send on closed channel

goroutine 52 [running]:
panic(0x416aae0, 0xc82000ef30)
    /usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
github.com/burke/zeus/go/filemonitor.(*fsEventsMonitor).Add(0xc820010fc0, 0xc82029a150, 0x65, 0x0, 0x0)
    /Users/andrew/code/go/src/github.com/burke/zeus/go/filemonitor/filemonitor_darwin.go:40 +0x5b
github.com/burke/zeus/go/processtree.(*SlaveNode).handleMessages(0xc8200ba380, 0xc8200e0088)
    /Users/andrew/code/go/src/github.com/burke/zeus/go/processtree/slavenode.go:414 +0x251
created by github.com/burke/zeus/go/processtree.(*SlaveNode).SlaveWasInitialized
    /Users/andrew/code/go/src/github.com/burke/zeus/go/processtree/slavenode.go:124 +0x38d
panic: send on closed channel

goroutine 37 [running]:
panic(0x416aae0, 0xc8200e62d0)
    /usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
github.com/burke/zeus/go/filemonitor.(*fsEventsMonitor).Add(0xc820010fc0, 0xc8200fc7e0, 0x6a, 0x0, 0x0)
    /Users/andrew/code/go/src/github.com/burke/zeus/go/filemonitor/filemonitor_darwin.go:40 +0x5b
github.com/burke/zeus/go/processtree.(*SlaveNode).handleMessages(0xc8200ba1c0, 0xc820124018)
    /Users/andrew/code/go/src/github.com/burke/zeus/go/processtree/slavenode.go:414 +0x251
created by github.com/burke/zeus/go/processtree.(*SlaveNode).SlaveWasInitialized
    /Users/andrew/code/go/src/github.com/burke/zeus/go/processtree/slavenode.go:124 +0x38d
sideshowcoder commented 7 years ago

I'm not really sure what to make of this @thedrow any chance you could elaborate?

thedrow commented 7 years ago

Yes I started Zeus and then typed Ctrl+C in order to stop it.

sideshowcoder commented 7 years ago

Mh.. @thedrow is this reproducible for you? I tried on both mac an linux but can't see it happening, what would potentially help is:

Thanks for your help!

thedrow commented 7 years ago

I no longer have access to that machine but I did see it happening from time to time. I was using the latest Zeus version and OS X Sierra.