srt
srt copied to clipboard
[BUG]SRT crash when sending data under a very heavily congested networks
Describe the bug srt crash under very heavily congested networks To Reproduce some conditions to reappear this core dump
- a heavily congested network
- send data under file mode
- do not modify SRTO_LINGER opptions
- use async mode
Expected behavior
srt crash will be happened after one or two hours
Screenshots
stack trace:
Desktop (please provide the following information):
- OS: Android
- SRT Version:1.4.3rc
Additional context I reviewd srt code, I found that , when I use async mode and do not modify SRTO_LINGER, srt will let gc thread to release resources; so the GC thread and the sender thread may have some thread synchronization problems; so I set SRTO_LINGER to off and 0, this crash never happened again; but I dont know to use which lock to solve this problem appropriately
@cg82616424 Thanks for reporting!
SRT Version:1.4.3rc
Please define whether RC.0 or RC.1 is used. Or v1.4.3 release.
1.4.3.RC.0