ftl library crashes in FTL_LOG enqueue_status_msg #71
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-microsoft/ftl-sdk#71
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this happen when internet connection breaks or gets much weak.
crash can be reproduced using XSplit Broadcaster.
Steps:
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 issue occurs when the application does not call
ftl_ingest_disconnectbefore callingftl_ingest_destroy.It seems to be difficult to care.