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
Did a rollback after installing 1.1.45.
Bun crashed with my build script (in JS) where I'm using scp2 and ssh2. Works fine with 1.1.44
Bun v1.1.45 (196621f) on linux x86_64 [AutoCommand]
196621f
Segmentation fault at address 0x00000010
JITExceptions.cpp:57
JSC::genericUnwind
LLIntSlowPaths.cpp:2350
llint_slow_path_handle_exception
ld-temp.o:0
llint_throw_from_slow_path_trampoline
llint_op_call_ignore_result
llint_op_call_varargs
llint_call_javascript
Interpreter.cpp:1278
JSC::Interpreter::executeCall
Features: Bun.stderr, dotenv, jsc, spawn, transpiler_cache, tsconfig, tsconfig
Sentry Issue: BUN-88P
The text was updated successfully, but these errors were encountered:
Same thing in bun 1.2.
Here is the code where bun crashed until 1.1.45.
Never see the "SSH connection established." log, so it fails in the .on()
import { Client as SCP } from 'scp2' import { Client as SSH2 } from 'ssh2' .... const connection = new SSH2() connection.on('ready', async () => { console.log(' > SSH connection established.') try { await this.unzip(connection) console.log(' > Deploying release...') await this.link(connection) await this.postDeployment(connection) } catch (error) { console.error(`Error during deployment: ${error}`) } finally { connection.end() } }).connect(this.sshConfig) } catch (error) { console.error(`Error: ${error}`) }
Here the report in 1.2
Bun v1.2.0 (b0c5a765) Linux x64 WSL Kernel v5.15.123 | glibc v2.39 CPU: sse42 popcnt avx avx2 Args: "bun" "deploy.js" "-s" Features: Bun.stderr Bun.stdout dotenv jsc spawn(2) transpiler_cache(13) tsconfig Builtins: "bun:main" "node:assert" "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:path" "node:process" "node:stream" "node:string_decoder" "node:tls" "node:url" "node:util" "node:util/types" "node:zlib" Elapsed: 31160ms | User: 9647ms | Sys: 2344ms RSS: 1.06GB | Peak: 0.22GB | Commit: 1.06GB | Faults: 1 panic(main thread): Segmentation fault at address 0x10 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.2.0/la1b0c5a76A3v/7/7Bo3xxoE+xpR2z5o+Emu6kgF8tqz9Dgmj39D24k39Dgmj39Dm8gv9Duuz88EA2AgB
Sorry, something went wrong.
No branches or pull requests
How can we reproduce the crash?
Did a rollback after installing 1.1.45.
Bun crashed with my build script (in JS) where I'm using scp2 and ssh2.
Works fine with 1.1.44
Relevant log output
Stack Trace (bun.report)
Bun v1.1.45 (
196621f
) on linux x86_64 [AutoCommand]Segmentation fault at address 0x00000010
JITExceptions.cpp:57
:JSC::genericUnwind
LLIntSlowPaths.cpp:2350
: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_varargs
ld-temp.o:0
:llint_op_call_ignore_result
ld-temp.o:0
:llint_call_javascript
Interpreter.cpp:1278
:JSC::Interpreter::executeCall
Features: Bun.stderr, dotenv, jsc, spawn, transpiler_cache, tsconfig, tsconfig
Sentry Issue: BUN-88P
The text was updated successfully, but these errors were encountered: