Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panics on sleep/wake #29

Open
robbles opened this issue May 16, 2016 · 1 comment
Open

Panics on sleep/wake #29

robbles opened this issue May 16, 2016 · 1 comment

Comments

@robbles
Copy link

robbles commented May 16, 2016

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x77678]

goroutine 1 [running]:
panic(0x1a6460, 0x820340100)
    /usr/local/Cellar/go/1.6/libexec/src/runtime/panic.go:464 +0x3e6
github.com/howeyc/fsnotify.(*Watcher).removeWatch(0x8207ba000, 0x8208f3700, 0x3b, 0x0, 0x0)
    /Users/rob/go/src/github.com/howeyc/fsnotify/fsnotify_bsd.go:269 +0x878
github.com/howeyc/fsnotify.(*Watcher).Close(0x8207ba000, 0x0, 0x0)
    /Users/rob/go/src/github.com/howeyc/fsnotify/fsnotify_bsd.go:128 +0x1ac
main.rerun(0x7fff5fbfee60, 0x27, 0x8203382d0, 0x0, 0x0, 0x0, 0x0)
    /Users/rob/go/src/github.com/skelterjohn/rerun/rerun.go:226 +0x7ad
main.main()
    /Users/rob/go/src/github.com/skelterjohn/rerun/rerun.go:283 +0x289

It looks like this happens only on sleep/wake, as I've noticed it every time I leave rerun up and re-open my laptop.

Possibly a signal is being passed that's missing some attributes? Or a unexpected signal? This is not a big deal for my use case, but I thought I'd report it anyways.

OSX 10.9.5, rerun revision e317af9469ea6d0a63244f7b985660062610237c.

@skelterjohn
Copy link
Owner

I think the real answer here is to migrate to https://github.com/fsnotify/fsnotify, but I'm not sure when I'll find time to do that.

Thanks for the report, hopefully someone sees this and makes a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants