-
Notifications
You must be signed in to change notification settings - Fork 44
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 using wildcard in ignore option on Node.js v20.12.x (LTS) #170
Comments
I seem to hit the same issue. I work around it by replacing $ git clone https://github.com/parcel-bundler/watcher.git .
$ npm install prebuildify node-gyp-build
$ yarn prebuild
$ ls -l prebuilds/linux-x64/node.napi.glibc.node My env:
vvv ADDED vvv
|
I and quite a few of my colleagues are experiencing these segfaults as well. We had to resort to a workaround from #170 (comment)
|
I'm hitting this issue as well, and it is blocking our ability to upgrade our node version to fix the Node CVE that was reported. It would be great if there was a fix made for this issue. |
Hey @yamadapc any update on this? Unfortunately this issue makes it so we can't update our node version due to our graphql-codegen (which uses parcel watcher) breaking. |
@yamadapc , this should be reproducible on this codesandbox. Thanks for the minimal way to reproduce it, @rogerweb. |
Upgrading Node from |
It potentially could be nodejs/node#52349 included in 20.13.0 |
Upgrading to |
If anyone is still seeing this, please test |
Upgrading Node to latest (20.16 in my case) fixed the issue |
I have the same symptom with Node 22. Here's the example repo to reproduce. https://github.com/mtsmfm/parcel-watcher-segv Shall I file another issue? |
It happens with v2.4.2-alpha.0 as well |
running into the same issue with latest node22. @mtsmfm can you create a new issue with your example repo? |
Created #184 |
Using
*
in theignore
option is causing aSegmentation fault
when running on Node.js v20.12.x onwards.It works on Node.js v20.11.1 but not in v20.12.1.
If you negate the expression using
!
like inthen you get another error:
free(): invalid pointer Aborted
These apply to @parcel/watcher version 2.4.1 on Linux 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 GNU/Linux.
The text was updated successfully, but these errors were encountered: