-
Notifications
You must be signed in to change notification settings - Fork 139
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 when running local dev #687
Comments
Ugh, that sounds bad, sorry about that. I updated the runtime at 0.0.63, can you try with 0.0.62 and tell me if the problem persists? If you can make a small repro, I'd be happy to dig into that too. |
Super hard to reproduce, it seems to have to do with party state on 0.0.63, but cant tell exactly what triggers the segfault as I had many parties with dev data. |
To clarify, does this mean using 0.0.62 fixes the issue for you? If so, I'll revert the miniflare update I did, else not. |
Got a segfault on both 0.0.62 and 0.0.63. I copied the
Running |
This is super helpful, thank you! I'll investigate tomorrow. One last thing: can you try turning hibernation off and see if that fixes the segfaults? |
Ran it for a few hours with several manual restarts, it did not seem to trigger a segfault with hibernation off. |
Ok, this is great info. I'm going to talk to cloudflare/workerd about this and file an issue with them. Been trying to reproduce it locally with your repro but haven't been able to, will keep trying this weekend. |
Thanks, is there a way to turn on verbose logging? |
Yeah, |
Seems I'll need to dig into why --verbose fails
|
Oh hmm interesting |
can you try with |
Still getting it:
Is there a way to dump the stack from the runtime vs an empty stack? |
I'm using I'm pretty sure this is hard to debug/reproduce/fix. |
I'm getting |
I have a rather basic app with partykit and partysocket/react which randomly exits with
Segmentation fault: 11
after a few minutes when idle or sending messages.Is there a detailed debug log mode available?
node: v21.5.0
macos: ARM64 14.2.1
partysocket: 0.0.19
partykit: 0.0.63
The text was updated successfully, but these errors were encountered: