We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bun --bun run dev $ next dev ▲ Next.js 14.2.15
Bun v1.1.25 (fe62a61) Windows x64 Windows v.win10_fe CPU: sse42 avx avx2 Args: "bun-node-fe62a6140\node.exe" "node_modules\next\dist\server\lib\start-server.js" Features: jsc Bun.stdin dotenv fetch(7) http_server spawn(2) transpiler_cache(23) tsconfig_paths(2) tsconfig(2) Builtins: "bun:jsc" "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node-fetch" "node:v8" "node:diagnostics_channel" Elapsed: 8877ms | User: 1609ms | Sys: 140ms RSS: 1.07GB | Peak: 1.07GB | Commit: 22.98GB | Faults: 288104
panic(main thread): attempt to unwrap error: OutOfMemory oh no: Bun has crashed. This indicates a bug in Bun, not your code.
No response
Bun v1.1.25 (fe62a61) on windows x86_64 [RunAsNodeCommand]
fe62a61
panic: attempt to unwrap error: OutOfMemory
sourcemap.zig:518
parse
javascript.zig:175
toMapping
javascript.zig:393
resolveMapping
javascript.zig:3106
remapStackFramePositions
BunString.cpp:558
BunString::toWTFString
Function.h:53
WTF::Detail::CallableWrapper<WTF::String (...)(...),WTF::String,JSC::VM &,WTF::Vector<JSC::StackFrame,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> &,unsigned int &,unsigned int &,WTF::String &,JSC::JSObject *>::call
utility:756
std::exchange
RefPtr.h:71
WTF::RefPtr<WTF::StringImpl,WTF::RawPtrTraits<WTF::StringImpl>,WTF::DefaultRefDerefTraits<WTF::StringImpl> >::operator!
JSGlobalObject.h:1104
JSC::JSGlobalObject::vm
JSObjectInlines.h:178
JSC::JSObject::getNonIndexPropertySlot
The text was updated successfully, but these errors were encountered:
@MayaMalkoti, the latest version of Bun is v1.1.32, but this crash was reported on Bun v1.1.25.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
Sorry, something went wrong.
@MayaMalkoti I can run next.js dev server just fine on Bun v1.1.32, so you should try upgrading
No branches or pull requests
How can we reproduce the crash?
bun --bun run dev
$ next dev
▲ Next.js 14.2.15
· nextScriptWorkers
✓ Starting...
✓ Ready in 1825ms
○ Compiling /src/middleware ...
✓ Compiled /src/middleware in 5.6s (72 modules)
○ Compiling / ...
Bun v1.1.25 (fe62a61) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "bun-node-fe62a6140\node.exe" "node_modules\next\dist\server\lib\start-server.js"
Features: jsc Bun.stdin dotenv fetch(7) http_server spawn(2) transpiler_cache(23) tsconfig_paths(2) tsconfig(2)
Builtins: "bun:jsc" "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node-fetch" "node:v8" "node:diagnostics_channel"
Elapsed: 8877ms | User: 1609ms | Sys: 140ms
RSS: 1.07GB | Peak: 1.07GB | Commit: 22.98GB | Faults: 288104
panic(main thread): attempt to unwrap error: OutOfMemory
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.25 (
fe62a61
) on windows x86_64 [RunAsNodeCommand]panic: attempt to unwrap error: OutOfMemory
sourcemap.zig:518
:parse
javascript.zig:175
:toMapping
javascript.zig:393
:resolveMapping
javascript.zig:3106
:remapStackFramePositions
BunString.cpp:558
:BunString::toWTFString
Function.h:53
:WTF::Detail::CallableWrapper<WTF::String (...)(...),WTF::String,JSC::VM &,WTF::Vector<JSC::StackFrame,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> &,unsigned int &,unsigned int &,WTF::String &,JSC::JSObject *>::call
utility:756
:std::exchange
RefPtr.h:71
:WTF::RefPtr<WTF::StringImpl,WTF::RawPtrTraits<WTF::StringImpl>,WTF::DefaultRefDerefTraits<WTF::StringImpl> >::operator!
JSGlobalObject.h:1104
:JSC::JSGlobalObject::vm
JSObjectInlines.h:178
:JSC::JSObject::getNonIndexPropertySlot
The text was updated successfully, but these errors were encountered: