Open wan54 opened 6 months ago
Additional info:
bun init
also hangs for me. No errors.
➜ buntest bun init
bun init helps you get started with a minimal project and tries to guess sensible defaults. Press ^C anytime to quit
package name (buntest):
entry point (index.ts):
Done! A package.json file was saved in the current directory.
+ index.ts
+ .gitignore
+ tsconfig.json (for editor auto-complete)
+ README.md
To get started, run:
bun run index.ts
➜ buntest bun -v
1.1.7
bun upgrade
also crashed
➜ buntest bun upgrade
============================================================
Bun v1.1.7 (b0b7db5c) macOS x64 (baseline)
Args: "bun", "upgrade"
Elapsed: 387ms | User: 42ms | Sys: 25ms
RSS: 9.72MB | Peak: 9.72MB | Commit: 1.07GB | Faults: 0
panic: Illegal instruction at address 0x105F2695D
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.7/bp1b0b7db5AA__8tkzUkru4Swkv1jBk1j2jBy071jB+u/0Q897pG_A3C610p+F
Bun v1.1.7 ([`b0b7db5`](https://github.com/oven-sh/bun/tree/b0b7db5c060e830801b0273b7ff6e34e3eb5c254)) on macos x86_64_baseline [UpgradeCommand]
Illegal instruction at address 0x105F2695D
- *2 unknown/js code*
- `src.install.install.PackageManager.enqueueDependencyToRoot__struct_446997.issue_19586_workaround`
- `src.io.PipeReader.PosixPipeReader`
- `auto uWS::WebSocketContext<false, true, void*>::init(...)::__invoke<us_socket_t>`
- `auto uWS::WebSocketContext<true, true, void*>::init(...)::__invoke<us_socket_t>`
- `ofats::any_detail::handler_traits<void, uWS::WebSocket<true, true, void*>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<true, true, void*>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::large_handler<uWS::TemplatedApp<true>&& uWS::TemplatedApp<true>::ws<void*>(...)::'lambda'(...)> >::handle`
- `src.bun.js.javascript.VirtualMachine.printErrorInstance__anon_416339`
- `src.js_printer.NewPrinter`
- *1 unknown/js code*
<!-- from bun.report: nScFuZ99LyfteZx-9YHI -->
How can we reproduce the crash?
Sorry, I'm not sure if it's reproducible. But looks like I can't use bun on this machine.
uname -a
outputsRelevant log output
Stack Trace (bun.report)
Bun v1.1.6 (
e58d67b
) on macos x86_64_baseline [InstallCommand]Illegal instruction at address 0x109D146FD
src.install.install.PackageManager.enqueueDependencyToRoot__struct_445492.issue_19586_workaround
src.shell.interpreter.Interpreter.Binary.makeChild
uWS::WebSocketContext<false, true, void*>::handleFragment
auto uWS::WebSocketContext<true, true, void*>::init(...)::__invoke<us_socket_t>
auto uWS::WebSocketContext<true, true, void*>::init(...)::__invoke<us_socket_t>
src.bun.js.javascript.VirtualMachine.printErrorInstance__anon_414869
src.js_printer.NewPrinter
Features: dotenv