-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expression: object->InternalFieldCount() > 0 #855
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
Comments
This is fixed by #808 :-) |
I used installing instructions for Windows and nothing changed in node-canvas code. |
Ah, sorry for not being clear. #808 is not merged into master yet. The other people who have reported this problem only got the assertion failure while a debugger was attached. If you need an immediate fix, you could use the branch for #808 ( |
Thank you. But this fix just halt application (in debug mode) without any message. |
OK, using my branch from #808, I can reproduce the failure with Visual Studio Code in both launch and attach modes if I put a breakpoint after your 1st line (procdump says 0xc0000005, access violation), but I cannot reproduce it with Visual Studio or with the node.js built-in debugger. I don't know how VSCode's debugger works with node to try to troubleshoot this further, unfortunately. I can't tell if this is from node-canvas or vscode, but it's odd that it only happens wtih vscode's debugger. |
I'm experiencing the same problem: It crashes on the line with |
Hello I am receiving this error on [email protected] |
@webworker01 is there a particular line of your code that causes it to happen? |
@zbjornson would it be a lot of effort to backport PR #808 into the 1.x series? |
I still get this bug with 1.6.11 under Windows with debugger attached. |
@RedGlow this is fixed in 2.x. I don't have plans at the moment to backport it to 1.x, as I think/hope 2.x will be out of alpha shortly. I left this open because @webworker01 reported a crash in 2.0.0-alpha.5, but I haven't heard back, so will close now. |
Uh oh!
There was an error while loading. Please reload this page.
Steps to Reproduce
Error
Assertion failed!
Program: ...\node_modules\canvas\build\Release\canvas.node
File: ...\node_modules\nan\nan_object_wrap.h
Expression: object->InternalFieldCount() > 0
....
Environment
The text was updated successfully, but these errors were encountered: