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

segfault when re-setting after starting #16

Open
daurnimator opened this issue Jun 3, 2017 · 0 comments
Open

segfault when re-setting after starting #16

daurnimator opened this issue Jun 3, 2017 · 0 comments

Comments

@daurnimator
Copy link

e.g.

var SocketWatcher = require("socketwatcher").SocketWatcher;
var w = new SocketWatcher();
w.set(0, true, false);
w.start();
// w.stop(); // same whether or not this is commented in/out
w.set(0, true, false);

output:

node: ../socket_watcher.cpp:131: static void SocketWatcher::Set(const Nan::FunctionCallbackInfo<v8::Value>&): Assertion `watcher->poll_ == NULL' failed.
Aborted (core dumped)
@daurnimator daurnimator changed the title segfault when re-setting after stopping segfault when re-setting after starting Jun 3, 2017
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

1 participant