srt icon indicating copy to clipboard operation
srt copied to clipboard

[BUG]SRT crash when sending data under a very heavily congested networks

Open cg82616424 opened this issue 3 years ago • 2 comments

Describe the bug srt crash under very heavily congested networks To Reproduce some conditions to reappear this core dump

  1. a heavily congested network
  2. send data under file mode
  3. do not modify SRTO_LINGER opptions
  4. use async mode

Expected behavior srt crash will be happened after one or two hours Screenshots stack trace: image image

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 avatar Jun 16 '21 03:06 cg82616424

@cg82616424 Thanks for reporting!

SRT Version:1.4.3rc

Please define whether RC.0 or RC.1 is used. Or v1.4.3 release.

maxsharabayko avatar Jun 16 '21 07:06 maxsharabayko

1.4.3.RC.0

cg82616424 avatar Jun 16 '21 07:06 cg82616424