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

Error While Running Next.js Application with Bun Runtime #12243

Open
Karthik-beta opened this issue Jun 29, 2024 · 0 comments
Open

Error While Running Next.js Application with Bun Runtime #12243

Karthik-beta opened this issue Jun 29, 2024 · 0 comments
Labels
crash An issue that could cause a crash runtime windows An issue that only occurs on Windows

Comments

@Karthik-beta
Copy link

Karthik-beta commented Jun 29, 2024

How can we reproduce the crash?

Steps to Reproduce

  1. Clone the repository: git clone https://github.com/your-username/repro-crash.git
  2. Install dependencies: bun install
  3. Run the application: bun run index.ts
  4. Navigate to http://localhost:3000 and click the "Submit" button.

Expected Behavior

The application should successfully submit the form data.

Actual Behavior

The application crashes with the following error:

Relevant log output

Bun v1.1.17 (bb66bba1) Windows x64
Args: "C:\Users\Admin\AppData\Local\Temp\bun-node-bb66bba1b\node.exe" "C:\Users\Admin\Documents\Projects\mood4movie\mood4movie\node_modules\next\dist\server\lib\start-server.js"
Features: jsc Bun.stderr Bun.stdin Bun.stdout fetch(2) http_server spawn(3) transpiler_cache(30) tsconfig_paths(3) tsconfig(3)
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node:v8" "node:diagnostics_channel"
Elapsed: 39752ms | User: 5203ms | Sys: 546ms
RSS: 0.74GB | Peak: 0.74GB | Commit: 19.02GB | Faults: 230806

Stack Trace (bun.report)

I encountered an issue while running my Next.js application using the Bun runtime. The application initialization took an unusually long time (elapsed time: 39752ms), and the resource usage was unexpectedly high (RSS: 0.74GB, Peak: 0.74GB).

Bun v1.1.17 (bb66bba) on windows x86_64 [RunAsNodeCommand]

Segmentation fault at address 0xFFFFFFFFFFFFFFFF

@Karthik-beta Karthik-beta added the crash An issue that could cause a crash label Jun 29, 2024
@github-actions github-actions bot added runtime windows An issue that only occurs on Windows labels Jun 29, 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 only occurs on Windows
Projects
None yet
Development

No branches or pull requests

1 participant