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

Internal Assertion Failure: Invalid cache key "F:\\test-discord\" #14238

Open
devaoto opened this issue Sep 29, 2024 · 2 comments
Open

Internal Assertion Failure: Invalid cache key "F:\\test-discord\" #14238

devaoto opened this issue Sep 29, 2024 · 2 comments
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows

Comments

@devaoto
Copy link

devaoto commented Sep 29, 2024

How can we reproduce the crash?

It only crashes if I use seyfert

src/index.ts:

import { Client, type ParseClient } from "seyfert";

const client = new Client();

client.start();

declare module "seyfert" {
  interface UsingClient extends ParseClient<Client<true>> {}
}

package.json

{
  "name": "test-discord",
  "module": "src/index.ts",
  "type": "module",
  "devDependencies": {
    "@types/bun": "latest"
  },
  "peerDependencies": {
    "typescript": "^5.0.0"
  },
  "dependencies": {
    "seyfert": "^2.1.0"
  }
}

Relevant log output

============================================================
Bun v1.1.29 (6d43b366) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2 avx512
Args: "bun" "run" "src/index.ts"
Features: jsc dotenv tsconfig(2)
Builtins: "bun:main" "node:buffer" "node:console" "node:crypto" "node:fs" "node:https" "node:path" "node:string_decoder" "node:util" "node:util/types" "node:zlib" "node:cluster"
Elapsed: 5642ms | User: 828ms | Sys: 343ms
RSS: 133.94MB | Peak: 133.94MB | Commit: 0.16GB | Faults: 33224

panic(main thread): Internal Assertion Failure: Invalid cache key "F:\\test-discord\"
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.29/wr16d43b36AiogggCgv7tBilqyRqg1rLygwrL25vyfit/7oBy9/1lB__qvp89BA0eNodzEEKg0AMBdB9TxHc1wO4KwVB3LXgajZh5ovBMANJFLx9sQd4b6oBq6z0coeFtEojix6GgaZ6skqhzHkD7bioG4eUAh7PIp6bldQ9vgB94E1PWM//ZbnZ+1YzLlqbUUGwqPc/zksoSg

Stack Trace (bun.report)

https://bun.report/1.1.29/wr16d43b36AiogggCgv7tBilqyRqg1rLygwrL25vyfit/7oBy9/1lB__qvp89BA0eNodzEEKg0AMBdB9TxHc1wO4KwVB3LXgajZh5ovBMANJFLx9sQd4b6oBq6z0coeFtEojix6GgaZ6skqhzHkD7bioG4eUAh7PIp6bldQ9vgB94E1PWM//ZbnZ+1YzLlqbUUGwqPc/zksoSg

@devaoto devaoto added the crash An issue that could cause a crash label Sep 29, 2024
@Jarred-Sumner
Copy link
Collaborator

It's a filesystem path issue in our code for normalizing file paths

@devaoto
Copy link
Author

devaoto commented Sep 29, 2024

I found a similar issue just now:
#11709

@Jarred-Sumner Jarred-Sumner added the windows An issue that is known to occur on Windows label Sep 30, 2024
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 runtime windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

2 participants