Closed Phygon closed 1 year ago
Perfect bug report! I'll fix this soon. Thank you.
I solved this problem and committed it. Could you please check if the issue is fixed in the latest master branch?
No change.
Version: OvenMediaEngine v0.15.13 (v0.15.13-20-gf121868a)
[2023-06-29 19:48:43.273] W [SPSRT-s9999:15695] MPEGTS_DEPACKETIZER | mpegts_depacketizer.cpp:83 | An out-of-order packet was received.(PID : 256 Expected : 4, Received : 7
[2023-06-29 19:48:43.282] E [Dech264:15736] FFmpeg | third_parties.cpp:111 | [AVCodecContext: 0x7ff219c6e000] error while decoding MB 18 41, bytestream -5
[2023-06-29 19:48:43.282] I [Dech264:15736] FFmpeg | third_parties.cpp:119 | [AVCodecContext: 0x7ff219c6e000] concealing 351 DC, 351 AC, 351 MV errors in P frame
[2023-06-29 19:48:44.234] W [SPSRT-s9999:15695] MPEGTS_DEPACKETIZER | mpegts_depacketizer.cpp:83 | An out-of-order packet was received.(PID : 257 Expected : 1, Received : 3
[2023-06-29 19:48:44.235] E [Decaac:15737] FFmpeg | third_parties.cpp:111 | [AVCodecContext: 0x7ff219c6e800] channel element 3.11 is not allocated
[2023-06-29 19:48:44.235] E [Decaac:15737] Transcoder | decoder_aac.cpp:166 | An error occurred while sending a packet for decoding: Unhandled error (-1094995529:Invalid data found when processing input)
[2023-06-29 19:48:44.235] E [Decaac:15737] FFmpeg | third_parties.cpp:111 | [AVCodecContext: 0x7ff219c6e800] Reserved bit set.
[2023-06-29 19:48:44.235] E [Decaac:15737] FFmpeg | third_parties.cpp:111 | [AVCodecContext: 0x7ff219c6e800] Prediction is not allowed in AAC-LC.
[2023-06-29 19:48:44.235] E [Decaac:15737] Transcoder | decoder_aac.cpp:166 | An error occurred while sending a packet for decoding: Unhandled error (-1094995529:Invalid data found when processing input)
[2023-06-29 19:48:44.239] C [AW-LLHLS0:15702] OvenMediaEngine | signals.cpp:120 | OME received signal 11 (SIGSEGV), interrupt.
Sorry, I committed wrongly. please test again
Looks good. It was running for an hour and so far no crash.
No crash over the weekend. Thanks! I'll close this.
Describe the bug
OME randomly crashes with a segmentation fault when using the SRT provider and LLHLS publisher. This happened on our production server and it could be reproduced on our test server by randomly dropping UDP packets.
To Reproduce
1) Send one or more SRT streams to OME, for example via ffmpeg. 2) watch LLHLS stream 3) simulate bad connection or network congestion by randomly dropping UDP packets on the sender: iptables -A OUTPUT -p udp --dport 9999 -m statistic --mode random --probability 0.1 -j DROP
Expected behavior
No crash, please.
Logs
log output:
gdb output (separate run):
Server (please complete the following information):