-
-
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
Parcel sometimes fails to start properly #1342
Comments
after doing something else for awhile and then coming back, this problem goes away. so there seems to be some memory lock on something that then gets garbage'd away? not really knowing the internals of parcel I don't even know how to track this down further than the SIGSEGV error. |
This problem does not occur when using |
right, so its a |
EDIT: Just converted my sass styles into less styles and it still fails, but at least it's not consistent now This is a full stacktrace I've managed to extract using
If everyone in this issue is using MAC OS X I think this is an fsevents bug? |
Might be related to this issue: fsevents/fsevents#218 |
yes i'm using macosx. i have a confession.. how do you use segfault-handler in the context of parcel? their readme doesn't exactly hold your hand through it... |
You simple put |
ok thanks. i cant replicate the segfault right now, will wait for the next
time this happens.
…On Mon, May 14, 2018 at 12:28 PM Jasper De Moor ***@***.***> wrote:
You simple put require('segfault-handler').registerHandler(); at the
start of the bundler.js file
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1342 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AiT1gpvi-41ssi3Ej8CPCkOBMwoZdUi6ks5tybCVgaJpZM4T7ALG>
.
|
No problem, I'll do a PR that should fix this in a few mins |
@tsiq-swyx also if you turn on core dumps at the start of a terminal session, you can use llnode to capture the JS backtrace and post the stack frame with unmasked JS frames, without segfault-handler (I've had issues with segfault-handler in node10 recently). This post is a good intro on how to use llnode to inspect the core dump: https://developer.ibm.com/node/2016/08/15/exploring-node-js-core-dumps-using-the-llnode-plugin-for-lldb/ I'm about to start a new project with create-react-app-parcel, and will post the stack trace here if I encounter this too. |
thanks, confusingly it just works every time now. hard to replicate this but i'll keep this issue open on c-r-a-p. |
When is the planned release date for the next version with the fix incorporated? This is consistently reproducible for me using the current latest version (1.8.1, same as in this original report). |
Exactly the same problem here. It's been happening a lot this morning. |
same problem here, as of november |
Same here:
I am using parcel 2.11.0 |
It is still happening in v2.12.0 :/ |
Don't know if is not related, but moving to a parent directory and coming back to the project dir and the command worked :/ |
The problem still exists. The following information may be useful: node(42005,0x16fadf000) malloc: Incorrect checksum for freed object 0x13c0dfa00: probably modified after being freed.
Corrupt value: 0x3361636366393331
node(42005,0x16fadf000) malloc: *** set a breakpoint in malloc_error_break to debug
error Command failed with exit code 1. This problem seems to be the same: #9926 . |
🐛 bug report
He can sometimes work, sometimes he can't work.
When I remove the
scss
file it may improve, but I'm not sure if the problem is there.Perhaps it is related to the loading mechanism of the module?
Faster processing when there are fewer modules, When the number of modules is large, the dependency is more complicated and the relationship is not handled properly, Causes the process to exit abnormally.
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
Normal start work
😯 Current Behavior
Sometimes quit abnormally
Comparison of loading
scss
files and removingscss
🔦 Context
parcel ./src/view/*.html
💻 Code Sample
index.html :
base.scss :
index.scss :
🌍 Your Environment
10.13.4
The text was updated successfully, but these errors were encountered: