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

Bun crashed when tried to run on WSL 2 (Ubuntu) #11020

Closed
rajanmoliya opened this issue May 12, 2024 · 3 comments
Closed

Bun crashed when tried to run on WSL 2 (Ubuntu) #11020

rajanmoliya opened this issue May 12, 2024 · 3 comments
Labels
bug Something isn't working crash An issue that could cause a crash

Comments

@rajanmoliya
Copy link

How can we reproduce the crash?

No response

JavaScript/TypeScript code that reproduces the crash?

console.log("Hello via Bun!");

Relevant log output

============================================================
Bun v1.1.8 (89d25807) Windows x64 (baseline)
Args: "bun.exe", "index.ts"
Features: jsc
Elapsed: 23ms | User: 15ms | Sys: 46ms
RSS: 34.50MB | Peak: 34.51MB | Commit: 79.52MB | Faults: 8593

panic(main thread): Internal Assertion Failure: Invalid cache key "\\wsl.localhost\"
See Resolver.assertValidCacheKey for details.
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.8/ea189d2580AC2zzmK+g2nGgluR02kQivn6Eui+lFu1/wF+ywrFg53BiiJA0eNodzEEKwjAQBdB9T/HpAXIAd1IQijsFV9kM6ZcGhwzMxEpv
X+oB3ptbpzdRXCPovVrDTap+nRfMbROtC4qUlfhwx5jzLzSpFdHVoudxeJJ4MEw3epJ/8jrVdKI7d7zNsbBL1UgHug0oQg

Stack Trace (bun.report)

Bun v1.1.8 (89d2580) on windows x86_64_baseline [AutoCommand]

panic: Internal Assertion Failure: Invalid cache key "\wsl.localhost"
See Resolver.assertValidCacheKey for details.

Features: jsc

@rajanmoliya rajanmoliya added bug Something isn't working crash An issue that could cause a crash labels May 12, 2024
@Jarred-Sumner
Copy link
Collaborator

Duplicate of #10281

@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #10281 May 16, 2024
@Jarred-Sumner
Copy link
Collaborator

We will fix this, but please follow along in #10281

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
@Jarred-Sumner
Copy link
Collaborator

Fixed by @paperdave in #11155

This will be part of the Bun v1.1.9 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash An issue that could cause a crash
Projects
None yet
Development

No branches or pull requests

2 participants