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

Assert failed! Expression: object->internalFieldCount() > 0 #2524

Closed
Misiur opened this issue Mar 13, 2020 · 4 comments
Closed

Assert failed! Expression: object->internalFieldCount() > 0 #2524

Misiur opened this issue Mar 13, 2020 · 4 comments

Comments

@Misiur
Copy link

Misiur commented Mar 13, 2020

  • v13.11.0
  • Windows 10 x64

What steps will reproduce the bug?

const {
  loadImage,
} = require('canvas');

async function main() {
  const image = await loadImage('./assets/simple.gif');
  console.log(image);
}

main();

Run node debugger, breakpoint on console log, hover over image, try to inspect __proto__

How often does it reproduce? Is there a required condition?

What is the expected behavior?

Working debug

What do you see instead?

Assert failed! Expression: object->internalFieldCount() > 0
https://i.imgur.com/81MxbKB.png

Additional information

Hover via VSCode, but related issues point to that being directly node bug.

@mscdex
Copy link

mscdex commented Mar 13, 2020

This should be posted to the issue tracker for canvas instead.

@addaleax addaleax transferred this issue from nodejs/node Mar 13, 2020
@addaleax
Copy link
Member

I’ve moved this to the help repo but it’s unlikely that we can actually help you, as @mscdex pointed out.

@Misiur
Copy link
Author

Misiur commented Mar 13, 2020

@gireeshpunathil
Copy link
Member

looks like this has been fixed in node-canvas repo through Automattic/node-canvas#1550. closing, re-open if there is anything outstanding

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

4 participants