ftl library crashes in FTL_LOG enqueue_status_msg #71

Open
opened 2018-08-30 08:36:33 -05:00 by andrewsml · 1 comment
andrewsml commented 2018-08-30 08:36:33 -05:00 (Migrated from github.com)

this happen when internet connection breaks or gets much weak.
crash can be reproduced using XSplit Broadcaster.
Steps:

  1. Start FTL stream from XSplit Broadcaster to Mixer.
  2. Limit XSplit Broadcaster upload speed to 1kbps using NetBalancer software.
  3. 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.

this happen when internet connection breaks or gets much weak. crash can be reproduced using XSplit Broadcaster. Steps: 1. Start FTL stream from XSplit Broadcaster to Mixer. 2. Limit XSplit Broadcaster upload speed to 1kbps using NetBalancer software. 3. 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 2019-02-03 10:49:37 -06:00 (Migrated from github.com)

This issue occurs when the application does not call ftl_ingest_disconnect before calling ftl_ingest_destroy.
It seems to be difficult to care.

This issue occurs when the application does not call `ftl_ingest_disconnect` before calling `ftl_ingest_destroy`. It seems to be difficult to care.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-microsoft/ftl-sdk#71
No description provided.