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

Inspecting canvas object in node-inspector crashes node #258

Closed
hura opened this issue Feb 21, 2013 · 12 comments
Closed

Inspecting canvas object in node-inspector crashes node #258

hura opened this issue Feb 21, 2013 · 12 comments

Comments

@hura
Copy link

hura commented Feb 21, 2013

If I hook up node-inspector I can step through the code fine but as soon as I 'inspect' a canvas object it'll crash:

.node-gyp/0.8.6/src/node_object_wrap.h:52: static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = Canvas]: Assertion `handle->InternalFieldCount() > 0' failed.

Minimal working example should be a simple:

var Canvas = require('canvas')
var canvas = new Canvas(w,h)
@tjlahr
Copy link

tjlahr commented Jun 13, 2013

+1

@euskode
Copy link

euskode commented Sep 12, 2013

Seeing a potentially related issue myself, seems like it does not like it when a breakpoint is hit in debug mode.

Assertion failed: (handle->InternalFieldCount() > 0), function Unwrap, file /Users/me/.node-gyp/0.10.17/src/node_object_wrap.h, line 61.

@sanfords
Copy link

Me too, node v0.10.22, canvas 1.1.3.

@mattraby
Copy link

+1

3 similar comments
@robbiet480
Copy link

+1

@nchase
Copy link

nchase commented Nov 22, 2014

+1

@chylvina
Copy link

+1

@dfoody
Copy link

dfoody commented Jul 16, 2015

+1 on io.js 2.3.4 with canvas 1.2.3

@hometlt
Copy link

hometlt commented Feb 2, 2016

+1

@LinusU
Copy link
Collaborator

LinusU commented Feb 15, 2016

Duplicate of #76

@LinusU LinusU closed this as completed Feb 15, 2016
@DaviesGit
Copy link

+1

@LinusU
Copy link
Collaborator

LinusU commented Jul 31, 2018

@DaviesGit this was fixed by #808

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