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
The error occured on an AWS EC2 instance after executing:
import {drizzle} from 'drizzle-orm/mysql2'; import * as schema from './schema'; import {createConnection} from 'mysql2'; export * from './schema'; let connection; try { connection = createConnection(Bun.env.DB_URL!); } catch (err) { console.error('DB Error:', err); throw 'DB Error'; } export default drizzle(connection, { schema, mode: 'default', logger: false, });
Probably after adding "throw 'DB Error'."
No response
Bun v1.1.33 (247456b) on linux x86_64 [AutoCommand]
247456b
Segmentation fault at address 0x00000010
ld-temp.o:0
JSC::genericUnwind
llint_slow_path_handle_exception
llint_throw_from_slow_path_trampoline
llint_op_call_ignore_result
llint_op_call_varargs
Features: dotenv https_server jsc transpiler_cache Builtins: "bun:main" "node:async_hooks" "node:buffer" "node:crypto" "node:events" "node:fs" "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:http2" Elapsed: 1120ms | User: 750ms | Sys: 154ms RSS: 0.95GB | Peak: 0.23GB | Commit: 0.95GB | Faults: 380 panic(main thread): Segmentation fault at address 0x10 oh no: Bun has crashed. This indicates a bug in Bun, not your code. To send a redacted crash report to Bun's team, please file a GitHub issue using the link below......
The text was updated successfully, but these errors were encountered:
Another possible reason: sudo apt-get install libcap2-bin sudo setcap cap_net_bind_service=+ep readlink -f \which bun``
readlink -f \
Sorry, something went wrong.
No branches or pull requests
How can we reproduce the crash?
The error occured on an AWS EC2 instance after executing:
Probably after adding "throw 'DB Error'."
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.33 (
247456b
) on linux x86_64 [AutoCommand]Segmentation fault at address 0x00000010
ld-temp.o:0
:JSC::genericUnwind
ld-temp.o:0
:llint_slow_path_handle_exception
ld-temp.o:0
:llint_throw_from_slow_path_trampoline
ld-temp.o:0
:llint_op_call_ignore_result
ld-temp.o:0
:llint_op_call_ignore_result
ld-temp.o:0
:llint_op_call_ignore_result
ld-temp.o:0
:llint_op_call_varargs
The text was updated successfully, but these errors were encountered: