Mirotalk SFU crashes regularly during meeting after update
-
-
Hello @avatar1024 and @msbt
Does the same happen in the previous version? -
-
-
-
-
-
Hello @msbt and @avatar1024
I have just released the latest MiroTalk SFU update and after a quick test this issue is resolved by the update.
Can you two please update your app as well and report back to me?Can you two please update your app as well and report back to me?
Hi James, unfortunately I could reproduce the crash today. I was in a meeting 3 other people. I left the meeting and the instance crashed for everyone. By the way, something I didn't make it very clear in the OP is that, not only people get kicked out of the meeting but the app actually crashes for a bit and becomes inaccessible. I either need to wait a bit or restart the app.
-
Here is the log around the crash if useful: https://files.chourmo.net/s/7PeZHa2LnZaNs4Z
-
Hi @avatar1024, @msbt, @james,
Thanks for the detailed reports and logs. They made it possible to find the root cause.
Root cause
The crash comes from a regression in the mediasoup media server library (version 3.32.1), not from MiroTalk's own code. When a participant connected over TCP left the meeting, the mediasoup worker crashed while closing their connection (SIGSEGV). TCP is common for users behind VPNs or restrictive networks. Once the media worker is gone, MiroTalk SFU shuts down on purpose so it can restart cleanly. That's why everyone in the room was disconnected and the app was unavailable for a short time.Upstream references:
- Issue: https://github.com/versatica/mediasoup/issues/2036
- Fix: https://github.com/versatica/mediasoup/pull/2038 (released in mediasoup 3.32.2 on Nov 4)
Affected versions
- MiroTalk SFU v2.7.05 – v2.7.50 (bundled with mediasoup 3.32.1)
- Both reported logs (v2.7.11 and v2.7.50) are in this range.
Fixed in
- MiroTalk SFU v2.7.51 and later (bundled with mediasoup 3.32.2). The current release includes the fix.
The Nov 3 package update was still based on mediasoup 3.32.1, because the upstream fix wasn't published until Nov 4. That's why the crash happened again on Nov 5.
What to do
Please update to a package based on MiroTalk SFU v2.7.51 or newer. To confirm, check the startup log for:versions: { app: '2.7.51+', ..., server_version: '3.32.2' }Side note: the logs also show the "Worker Died" email alert failing with
550 ... cannot send mail as test@mirotalk.com. To get these alerts, set the email alert from address to match your authenticated SMTP user.Please let us know if you still see any crashes after updating.
Best regards,
Miroslav
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

