-
Notifications
You must be signed in to change notification settings - Fork 291
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
SetMethod throwing exception after upgrading to v8.0.0 #644
Comments
Have you tried a rebuild from scratch? My hunch would be that some of your object files are still compiled for the older node version. |
I tried |
Okay, what happens when you run it under a debugger? |
It looks like a failed JS heap allocation inside V8 but as to why it fails, your guess is as good as mine. |
I checked the differences on setup of NodeJS (environment etc.), one of them is adding the |
bump, tested on v8.10.0, same behavior :-/ |
I see you emailed me your code but I don't have time to look into it (and neither do I use Windows.) You'll have to figure this out yourself. |
@nodejs/async_hooks |
@gamelaster can you send me your code? |
@refack I sent email to mail in NodeJS readme. |
looks like nodejs/node@c0bde73 broke embedding (at least on windows) |
@refack the addon tests runs on windows CI, correct? |
@refack Have an idea why this passes in Windows CI, or how we might replicate this in an addon test? |
AndreasMadsen/node@48ef6a2 doesn't fixed this issue. |
@gamelaster - is this still an issue for you? that is, with the latest version of node? please let me know. |
closing due to inactivity, please re-open if it is still outstanding. |
I embedded successfully NodeJS v7.10.0 into my C++ project. After updating to v8.0.0, I getting
Access violation reading location
on first line of stacktrace.Stacktrace:
Code:
JS:
The text was updated successfully, but these errors were encountered: