ftl library crashes in FTL_LOG enqueue_status_msg
andrewsml opened this issue · 1 comments
andrewsml commented
this happen when internet connection breaks or gets much weak.
crash can be reproduced using XSplit Broadcaster.
Steps:
- Start FTL stream from XSplit Broadcaster to Mixer.
- Limit XSplit Broadcaster upload speed to 1kbps using NetBalancer software.
- Stop FTL stream.
I debugged this problem and found that ftl->status_q.mutex
was deleted by ftl_ingest_disconnect function, while some threads like ping_thread
are still alive and continue calling FTL_LOG with deleted ftl->status_q.mutex.
tyiki-badwell commented
This issue occurs when the application does not call ftl_ingest_disconnect
before calling ftl_ingest_destroy
.
It seems to be difficult to care.