Open taro445 opened 3 days ago
I am experiencing a crash in Bun when using ctx['fillText']("Big smile!", 10, 90) with @napi-rs/canvas while integrating with Elysia on Bun.
node_modules\@napi-rs\canvas-win32-x64-msvc\icudtl.dat. SkIcuLoader: datafile missing: C:\Users\...\AppData\Roaming\npm\node_modules\bun\bin\icudtl.dat. ../../modules/skparagraph/src/ParagraphBuilderImpl.cpp(252): fatal error: "check(fUnicode)" ============================================================ Bun v1.1.36 (ededc168) Windows x64 Windows v.win10_fe CPU: sse42 avx avx2 avx512 Args: "C:\Users\...\AppData\Roaming\npm\\node_modules\bun\bin\bun.exe" "run" "--watch" "./src/app.ts" Features: Bun.stdin(2) dotenv http_server jsc transpiler_cache(12) tsconfig(14) tsconfig_paths(2) process_dlopen Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:stream" "node:string_decoder" "node:timers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "node:worker_threads" Elapsed: 2690ms | User: 578ms | Sys: 281ms RSS: 0.51GB | Peak: 0.51GB | Commit: 0.77GB | Faults: 130554 panic(main thread): Illegal instruction at address 0x7FFD829BA420 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Bun v1.1.36 (ededc16) on windows x86_64 [RunCommand]
ededc16
Illegal instruction at address 0x7FFD829BA420
0x1ea420
0x20e3e9
0x20e3b8
0x17e5b8
0x1eb85
0x1ad29
0x1a94f
0x23ad7
0x3b819
napi.cpp:452
NAPIFunction::call
Features: process_dlopen, Bun.stdin, dotenv, http_server, jsc, transpiler_cache, tsconfig, tsconfig_paths, tsconfig_paths
Sentry Issue: BUN-8TN
Can reproduce on Bun 1.1.34 and Windows 10 Edit: The underlying issue which caused this for the library was fixed, although Bun should not be dying like this.
How can we reproduce the crash?
I am experiencing a crash in Bun when using ctx['fillText']("Big smile!", 10, 90) with @napi-rs/canvas while integrating with Elysia on Bun.
Relevant log output
Stack Trace (bun.report)
Bun v1.1.36 (
ededc16
) on windows x86_64 [RunCommand]Illegal instruction at address 0x7FFD829BA420
0x1ea420
in skia.win32-x64-msvc.node0x20e3e9
in skia.win32-x64-msvc.node0x20e3b8
in skia.win32-x64-msvc.node0x17e5b8
in skia.win32-x64-msvc.node0x1eb85
in skia.win32-x64-msvc.node0x1ad29
in skia.win32-x64-msvc.node0x1a94f
in skia.win32-x64-msvc.node0x23ad7
in skia.win32-x64-msvc.node0x3b819
in skia.win32-x64-msvc.nodenapi.cpp:452
:NAPIFunction::call
Features: process_dlopen, Bun.stdin, dotenv, http_server, jsc, transpiler_cache, tsconfig, tsconfig_paths, tsconfig_paths
Sentry Issue: BUN-8TN