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 in console.log #15965

Open
TheDevMinerTV opened this issue Dec 23, 2024 · 4 comments
Open

Crash in console.log #15965

TheDevMinerTV opened this issue Dec 23, 2024 · 4 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime

Comments

@TheDevMinerTV
Copy link

How can we reproduce the crash?

  1. Call console.log() with a string colored by picocolors
  2. Try to call console.log() with a normal string

Idk why it crashed, there isn't a JS backtrace

Relevant log output

============================================================
Bun v1.1.40 (b5b51004) Linux x64
Linux Kernel v6.12.4 | glibc v2.40
CPU: sse42 popcnt avx avx2 avx512
Args: "bun" "." "1" "42000" "127.0.0.1:42001"
Features: jsc transpiler_cache(2) tsconfig 
Builtins: "bun:main" "node:string_decoder" "node:util/types" 
Elapsed: 1615094ms | User: 1692ms | Sys: 617ms
RSS: 1.06GB | Peak: 87.95MB | Commit: 1.06GB | Faults: 0

panic(main thread): Segmentation fault at address 0x0
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:

 https://bun.report/1.1.40/la1b5b5100Ahgg8//Bo9+omE+8oP2w5y5Eikwg6E6qvg6E0zw65E8g/3gEqvjhhF013ghF_A2AA

Illegal instruction (core dumped)

Stack Trace (bun.report)

Bun v1.1.40 (b5b5100) on linux x86_64 [AutoCommand]

Segmentation fault at address 0x00000000

Features: jsc, transpiler_cache, tsconfig, tsconfig

@TheDevMinerTV TheDevMinerTV added the crash An issue that could cause a crash label Dec 23, 2024
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Dec 23, 2024
Copy link
Contributor

@TheDevMinerTV, thank you for reporting this crash. The latest version of Bun is v1.1.41, but this crash was reported on Bun v1.1.40.

Are you able to reproduce this crash on the latest version of Bun?

bun upgrade

For Bun's internal tracking, this issue is BUN-8ZV.

@TheDevMinerTV
Copy link
Author

TheDevMinerTV commented Dec 23, 2024

Why does bun still not have an Archlinux package... now I gotta use the AUR to compile :/

@Jarred-Sumner
Copy link
Collaborator

@TheDevMinerTV can you try running it outside of VSCode terminal and see if it still happens?

@TheDevMinerTV
Copy link
Author

I can't get it to reproduce consistently, it kinda just happened.
I'm now on v1.1.42 after a treacherous 15 minutes :P

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 linux An issue that occurs on Linux runtime
Projects
None yet
Development

No branches or pull requests

2 participants