-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
<style>
causes SIGSEGV aka. Segmentation fault on Oracle Linux Server 7.9 with Parcel 2
#8311
Comments
The bug also occurs with node v16.16.0 |
Downgrading parcel to 2.6.0, 2.5.0 or even 2.0.0 does not affect the issue. |
<style>
causes SIGSEGV aka. Segmentation fault on Oracle Linux Server 7.9 with Parcel 2.6.2<style>
causes SIGSEGV aka. Segmentation fault on Oracle Linux Server 7.9 with Parcel 2
The empty style element makes it sound like #7995 but for CSS instead of JS assets with no content. |
This problem still affects me. I need to check if it is still present in newer versions of Parcel though. |
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. |
🐛 bug report
I'm trying to build my web page on Linux and I get a SIGSEGV error. The error does not occur on Windows.
🎛 Configuration (.babelrc, package.json, cli command)
opc@ina:~/minimal2 0b1$ ls -la total 88 drwxrwxr-x. 5 opc opc 4096 Jul 15 19:31 . drwx------. 29 opc opc 4096 Jul 15 19:31 .. drwxrwxr-x. 2 opc opc 24 Jul 15 19:32 dist -rw-rw-r--. 1 opc opc 96 Jul 15 19:31 index.html drwxrwxr-x. 99 opc opc 4096 Jul 15 19:26 node_modules -rw-rw-r--. 1 opc opc 115 Jul 15 19:29 package.json drwxrwxr-x. 2 opc opc 4096 Jul 15 19:32 .parcel-cache -rw-rw-r--. 1 opc opc 64763 Jul 15 19:26 yarn.lock
opc@ina:~/minimal2 0b1$ cat index.html <!DOCTYPE html> <html lang="en"> <head> </head> <body> <style> </style> </body> </html>
Please note the
<style>
element inindex.html
. Its presence causes the bug.🤔 Expected Behavior
The project should build and exit with code 0, marking success.
😯 Current Behavior
The projects builds but an error occurs at the end and it exits with a non-zero code, marking failure.
🔦 Context
This makes my automatic deployment script fail.
💻 Code Sample
Here is a gist, in case you need the yarn.lock file:
https://gist.github.com/mathieucaroff/907232cbe512f3ccca5ce687266884d7
🌍 Your Environment
Note: the problem occurs with both package managers. With yarn it is "SIGSEGV" with npm, it is "Segmentation fault (core dumped)".
The text was updated successfully, but these errors were encountered: