oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.1k stars 2.76k forks source link

Bun crashes when trying to run OpenGL bindings for Node (NodeGL) #10690

Open MrMasrozYTLIVE opened 6 months ago

MrMasrozYTLIVE commented 6 months ago

How can we reproduce the crash?

1) Install nodegl & glfw-n-api 2) Use example code from https://github.com/EnzoAlbornoz/nodegl 3) bun index.js (With commonjs) 4) It crashes (Only with bun)

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.6 (e58d67b) on windows x86_64_baseline [AutoCommand]

Segmentation fault at address 0x00000C70

MrMasrozYTLIVE commented 6 months ago

Issue still exists on bun 1.1.7 (Windows) Bun v1.1.7 (b0b7db5) on windows x86_64_baseline [RunCommand]

Segmentation fault at address 0x00000C70