parcel icon indicating copy to clipboard operation
parcel copied to clipboard

segfault on parcel >= 2.10.0

Open raph6 opened this issue 1 year ago • 1 comments

🐛 bug report

Hello, I'm experiencing a segfault for all version since 2.10.0, I tried with Node 18, 20 and 21 and got the same issue

🎛 Configuration (.babelrc, package.json, cli command)

{
  "scripts": {
    "dev": "rm -rf .parcel-cache dist && node_modules/parcel/lib/bin.js",
    "prod": "node_modules/parcel/lib/bin.js build --no-source-maps"
  },
  "devDependencies": {
    "parcel": "2.12.0"
  },

😯 Current Behavior

Screenshot_2024-02-29_17-00-09

Screenshot_2024-02-29_16-59-14

Feb 29 16:53:41 diesel (sd-parse-elf)[101967]: Could not parse number of program headers from core file: invalid `Elf' handle
Feb 29 16:53:41 diesel (sd-parse-elf)[101967]: Could not parse number of program headers from core file: invalid `Elf' handle
Feb 29 16:53:41 diesel systemd-coredump[101956]: [🡕] Process 101847 (node) of user 1000 dumped core.
                                                 
                                                 Module /home/raph/projects/raph.cc/node_modules/lightningcss-linux-x64-gnu/lightningcss.linux-x64-gnu.node without build-id.
                                                 Module /home/raph/projects/raph.cc/node_modules/lightningcss-linux-x64-gnu/lightningcss.linux-x64-gnu.node
                                                 Module /home/raph/projects/raph.cc/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node without build-id.
                                                 Module /home/raph/projects/raph.cc/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node
                                                 Stack trace of thread 101925:
                                                 #0  0x0000762b9235a8aa n/a (/home/raph/projects/raph.cc/node_modules/@parcel/rust/parcel-node-bindings.linux-x64-gnu.node + 0x15a8aa)
                                                 #1  0x0000000000000000 n/a (n/a + 0x0)
                                                 ELF object binary architecture: AMD x86-64

It's still perfectly work with 2.9.3 or lower

🌍 Your Environment

Software Version(s)
Parcel >= 2.10.0
Node 18, 20, 21
Yarn 1.22.21
Operating System Arch (kernel 6.7.6)

raph6 avatar Feb 29 '24 16:02 raph6

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

github-actions[bot] avatar Aug 28 '24 00:08 github-actions[bot]