oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.35k stars 2.78k forks source link

bunx nx serve application on bun 1.1.36 #15292

Open kdriedger opened 1 day ago

kdriedger commented 1 day ago

How can we reproduce the crash?

if this is deemed important, more time can be dedicated... it's a proprietary angular app. Saved the bun.lockb file if needed

Relevant log output

NX   Failed to process project graph. Run "nx reset" to fix this. Please report the issue if you keep seeing it. See errors below.

Failed to process project graph. Run "nx reset" to fix this. Please report the issue if you keep seeing it.
  AggregateCreateNodesError: An error occurred while processing files for the nx/js/dependencies-and-lockfile plugin.
    - bun.lockb: Command failed: bun C:\Users\KDRIEDGE\source\repos\app\Web\bun.lockb
  ============================================================
  Bun v1.1.36 (ededc168) Windows x64
  Windows v.win10_fe
  CPU: sse42 avx avx2 avx512
  Args: "bun" "C:\Users\KDRIEDGE\source\repos\app\Web\bun.lockb"
  Elapsed: 10ms | User: 15ms | Sys: 15ms
  RSS: 23.52MB | Peak: 23.52MB | Commit: 54.16MB | Faults: 5903

  panic(main thread): incorrect alignment
  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/wa1ededc16AA0mi3C6i9rM8+6rM2/q3Hg23oF28g9Fulj+F48hBi8I4ykwkDA0eNrLzEvOLypKTS5RSMzJTM/LTc0rAQBMcwep

      at createNodesFromFiles (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\project-graph\plugins\utils.js:58:15)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async LoadedNxPlugin.createNodes.<computed> (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\project-graph\plugins\internal-api.js:41:28) 
      at async LoadedNxPlugin.createNodes.<computed> (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\project-graph\plugins\internal-api.js:41:28)  
      at async Promise.all (index 1)
      at async processFilesAndCreateAndSerializeProjectGraph (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\daemon\server\project-graph-incremental-recomputation.js:148:43)
      at async getCachedSerializedProjectGraphPromise (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\daemon\server\project-graph-incremental-recomputation.js:46:16)
      at async handleRequestProjectGraph (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\daemon\server\handle-request-project-graph.js:12:24)      
      at async handleResult (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\daemon\server\server.js:130:16)
      at async handleMessage (C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\daemon\server\server.js:89:9)
      at async C:\Users\KDRIEDGE\source\repos\app\Web\node_modules\nx\src\daemon\server\server.js:55:9

Stack Trace (bun.report)

Bun v1.1.36 (ededc16) on windows x86_64 [AutoCommand]

panic: incorrect alignment

Sentry Issue: BUN-8FJ