Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

ftl library crashes in FTL_LOG enqueue_status_msg #71

Open
andrewsml opened this issue Aug 30, 2018 · 1 comment
Open

ftl library crashes in FTL_LOG enqueue_status_msg #71

andrewsml opened this issue Aug 30, 2018 · 1 comment

Comments

@andrewsml
Copy link

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
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants