-
Notifications
You must be signed in to change notification settings - Fork 95
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
V8 fatal error #30
Comments
Which version of nodejs are you using ? |
|
Is it reproducible with your code ? |
Hello same error here. With Raspbian Jessie Lite, node v4.2.1 and 2.1.0 of this module. Here is a simple code that makes V8 crash, and it seems to be reproducible. var wpi = require('wiring-pi');
var btnPin = 4;
wpi.setup('wpi');
wpi.pinMode(btnPin, wpi.INPUT);
wpi.pullUpDnControl(btnPin, wpi.PUD_UP);
wpi.wiringPiISR(btnPin, wpi.INT_EDGE_FALLING, function(delta) {
console.log('btnPin changed to LOW (', delta, ')');
}); |
I am getting this issue also, it occurs even when using the sample code in the documentation. A workaround could be implemented using polling instead of interrupts but I haven't tested this approach yet. |
PS I'm using Raspbian Wheezy, all up to date. |
The solution is here: nwjs/nw.js#3289.
Added scope for dispatchInterrupt and solved #30
Fixed, closing |
Hi.
While handling interrupt I've got the following error:
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
My code is below:
What is this? How to solve?
The text was updated successfully, but these errors were encountered: