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

Segmentation fault at address 0x6024C after upgrading to Bun v1.1.36 on MacOS #15375

Open
hgeldenhuys opened this issue Nov 23, 2024 · 1 comment
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS runtime

Comments

@hgeldenhuys
Copy link

How can we reproduce the crash?

Run a remix.run (Vite) via bun --bun

Package.json script:
"dev-remix": "remix vite:dev",
"dev": "bun --bun run dev-remix",

Relevant log output

bun run dev
$ bun --bun run dev-remix
$ remix vite:dev
============================================================
Bun v1.1.36 (ededc168) macOS Silicon
macOS v15.1
Args: "node" "/Users/user/WebstormProjects/xfiles/node_modules/.bin/remix" "vite:dev"
Features: dotenv jsc transpiler_cache(9) tsconfig(3) tsconfig_paths 
Builtins: "bun:main" "node:assert" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:module" "node:net" "node:os" "node:path" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:worker_threads" 
Elapsed: 242ms | User: 206ms | Sys: 57ms
RSS: 79.27MB | Peak: 79.27MB | Commit: 1.07GB | Faults: 54

panic(main thread): Segmentation fault at address 0x6024C
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.36/Mn1ededc16Ahw/7/f_+onlCmj6lFu4qKmpirJu59rJ++xrJmuomBu9v+I287sHA2A4khY

error: script "dev-remix" was terminated by signal SIGTRAP (Trace or breakpoint trap)
error: script "dev" was terminated by signal SIGTRAP (Trace or breakpoint trap)

Stack Trace (bun.report)

Bun v1.1.36 (ededc16) on macos aarch64 [AutoCommand]

Segmentation fault at address 0x0006024C

  • 1 unknown/js code
  • src.install.dependency.parseWithTag
  • src.resolver.resolver.Resolver.parsePackageJSON__anon_97690
  • src.resolver.resolver.Resolver.dirInfoUncached
  • src.resolver.resolver.Resolver.dirInfoCached
  • src.resolver.resolver.Resolver.loadNodeModules
  • src.resolver.resolver.Resolver.resolveWithoutRemapping
  • src.resolver.resolver.Resolver.resolveAndAutoInstall
  • src.bun.js.javascript.VirtualMachine.resolveMaybeNeedsTrailingSlash__anon_116799
  • src.bun.js.api.BunObject.doResolveWithArgs__anon_110045

Features: process_dlopen, Bun.stdin, dotenv, jsc, spawn, tsconfig, tsconfig_paths, tsconfig_paths

Sentry Issue: BUN-8NE

@hgeldenhuys hgeldenhuys added the crash An issue that could cause a crash label Nov 23, 2024
@github-actions github-actions bot added macOS An issue that occurs on macOS runtime labels Nov 23, 2024
@rogerkerse
Copy link

Same issue started happening today random remix application when deploying through FROM oven/bun:latest

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 macOS An issue that occurs on macOS runtime
Projects
None yet
Development

No branches or pull requests

2 participants