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 when running discord.js bot using typescript #13560

Closed
travisfriesen opened this issue Aug 27, 2024 · 5 comments
Closed

Crash when running discord.js bot using typescript #13560

travisfriesen opened this issue Aug 27, 2024 · 5 comments
Labels
crash An issue that could cause a crash needs repro Needs an example to reproduce runtime windows An issue that is known to occur on Windows

Comments

@travisfriesen
Copy link

How can we reproduce the crash?

i was just running the program using 'bun run index.ts' and by waiting it crashes

Relevant log output

Bun v1.1.12 (43f0913c) Windows x64
Args: "C:\Users\me\.bun\bin\bun.exe" "run" "index.ts"
Features: jsc Bun.stdin(2) dotenv fetch(23) transpiler_cache(3) tsconfig(4) WebSocket 
Builtins: "bun:main" "node:buffer" "node:events" "node:fs" "node:fs/promises" "node:http" "node:path" "node:string_decoder" "node:timers" "node:timers/promises" "node:url" "node:util" "node:util/types" "node:zlib" "node:worker_threads" "undici" "ws" 
Elapsed: 651466ms | User: 156ms | Sys: 109ms
RSS: 0.14GB | Peak: 0.19GB | Commit: 0.16GB | Faults: 184644

Stack Trace (bun.report)

Bun v1.1.12 (43f0913) on windows x86_64 [BunxCommand]

panic: reached unreachable code

@travisfriesen travisfriesen added the crash An issue that could cause a crash label Aug 27, 2024
@github-actions github-actions bot added runtime windows An issue that is known to occur on Windows labels Aug 27, 2024
Copy link
Contributor

@travisfriesen, the latest version of Bun is v1.1.26, but this crash was reported on Bun v1.1.12.

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

bun upgrade

@travisfriesen
Copy link
Author

I'm going to update and see if that resolves it,

@oven-sh oven-sh deleted a comment Aug 27, 2024
@tobycm
Copy link
Contributor

tobycm commented Aug 27, 2024

Any chance I can get a snippet to repro this?

@cirospaciari cirospaciari added the needs repro Needs an example to reproduce label Aug 27, 2024
Copy link
Contributor

Hello @travisfriesen. Please provide a minimal reproduction using a GitHub repository, Replit, or CodeSandbox. Issues marked with needs repro will be closed if they have no activity within 3 days.

@travisfriesen
Copy link
Author

i haven't had any issues since updating, so im going to close this issue.

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 needs repro Needs an example to reproduce runtime windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

3 participants