Skip to content

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

@Misiur

Description

@Misiur
  • 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions