-
-
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
Reproducible segfaults #6292
Comments
Ah I figured out what I was doing wrong, lldb was not attached to the process crashing. Here we go:
what do I do now? |
That nightly uses a complete rewrite of the native sourcemap package. So trying to debug a older nightly now doesn't really make sense |
Nooooooo, and I finally was able to reproduce a segfault 😭😡 |
But what if it still could happen on 669? |
The previous version was written in C++, then new one in Rust. I think it's less likely to run into segfaults in the new one 😄 |
Hm ok. So it's not node that's segfaulting? However I have a problem because 669 has fucked private class fields (#6289 isn't merged yet, nightly hasn't build yet) and it transpiles optional chaining even tho it shouldn't. So I can't use 669. But now for some reason, even after removing .parcel-cache 650 always segfaults. I hope it's not due to my code and cloning my repo freshly will help… |
It doesn't help 😖 I keep getting the segfault |
Seems like the problem is that some dependencies got updated and versions incompatible to 650 got installed. I found an old copy of my repo where |
No. It's a native Node module:
|
Ah, interesting. Well, let's hope all segfaults are gone with rust then. |
That particular segfault is definitely fixed now with the rust rewrite |
Pinning Looking forward to bug and segfault free SWC parcel! |
Nevermind, it still happens. It depends on the thing I build. But whatever. |
After pinning some more things it seems to work:
|
🐛 bug report
parcel serve
segfaults, probably because my.parcel-cache
is from a future version.It is reproducible (happens every time).
Please tell me how to debug it.
🤔 Expected Behavior
No segfault
😯 Current Behavior
I tried running it with lldb as @mischnic suggested previously but I must be doing something wrong because it isn't helpful at all?????
💁 Possible Solution
Fix it / tell me how to fix it
🔦 Context
Downgraded from I think 669 to 650 because 669 still isn't ready.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: