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

Crash with canvas library #13191

Closed
Ken-Yim opened this issue Aug 9, 2024 · 2 comments
Closed

Crash with canvas library #13191

Ken-Yim opened this issue Aug 9, 2024 · 2 comments
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows

Comments

@Ken-Yim
Copy link

Ken-Yim commented Aug 9, 2024

How can we reproduce the crash?

Bun v1.1.22-canary.96+df33f2b2a (Windows x64)

Bun Canary v1.1.22-canary.96 (df33f2b) Windows x64
CPU: sse42 avx avx2
Args: "C:\Users\ken\AppData\Roaming\npm\node_modules\bun\bin\bun.exe" "index.js"
Features: jsc tsconfig(9)
Builtins: "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:net" "node:os" "node:path" "node:querystring" "node:readline" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "ws"
Elapsed: 13015ms | User: 296ms | Sys: 140ms
RSS: 0.17GB | Peak: 0.19GB | Commit: 0.21GB | Faults: 53033

Relevant log output

1 | 'use strict'
2 |
3 | const bindings = require('../build/Release/canvas.node')
          ^
TypeError: LoadLibrary failed: A dynamic link library (DLL) in
      at C:\Users\ken\Kenfil-Eval-Bun\node_modules\canvas\lib\bindings.js:3:7
      at C:\Users\ken\Kenfil-Eval-Bun\node_modules\canvas\lib\canvas.js:9:7
      at C:\Users\ken\Kenfil-Eval-Bun\node_modules\canvas\index.js:1:7
      at C:\Users\ken\Kenfil-Eval-Bun\index.js:19:23

Stack Trace (bun.report)

Bun v1.1.22 (df33f2b) on windows x86_64 [AutoCommand]

Segmentation fault at address 0x7FFD09943460

@Ken-Yim Ken-Yim added the crash An issue that could cause a crash label Aug 9, 2024
@github-actions github-actions bot added runtime windows An issue that is known to occur on Windows labels Aug 9, 2024
@Jarred-Sumner
Copy link
Collaborator

Duplicate of #5835

@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #5835 Aug 9, 2024
@Jarred-Sumner
Copy link
Collaborator

Please try using canvas@next instead of canvas@latest

We are tracking this in #5835

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

2 participants