-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Unhandled exception - Code 3765269347 #1547
Comments
I have also faced multiple cases with Fatal errors causing CasparCG to crash, which seem to be related to unhandled ffmpeg errors. Below are the logs from some related examples i have (also related to ffmpeg audio (aac codec) like the mp3 case above) :
If this is the case (unhandled ffmpeg errors causing CasparCG to crash), wouldn't it make sense to just kill the related producer/consumer when such an internal ffmpeg error occurs? |
Observed Behavior
Tried to play an mp3 stream and CasparCG gets into a fatal exception and quits
Expected behaviour
The stream would start or, if it cannot, at least keeps running.
Logging:
[2024-06-21 14:57:51.401] [info] Sent more than 512 bytes to 127.0.0.1
[2024-06-21 14:57:52.416] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2024-06-21 14:57:54.908] [error] [ffmpeg] [tls @ 0000020114D10700] Error in the pull function.
[2024-06-21 14:57:54.908] [error]
[2024-06-21 14:57:54.908] [error] [ffmpeg] [tls @ 0000020114D10700] IO error: Error number -138 occurred
[2024-06-21 14:57:54.908] [error]
[2024-06-21 14:57:54.908] [warning] [ffmpeg] [https @ 0000020114A28940] Will reconnect at 13130914 in 0 second(s), error=Error number -138 occurred.
[2024-06-21 14:57:54.908] [warning]
[2024-06-21 14:57:55.064] [warning] ffmpeg[https://go_fm.streampartner.nl/live|547.0200/0.0000] Waiting for audio frame...
[2024-06-21 14:57:59.977] [error] [ffmpeg] [tcp @ 0000020114D10F40] Connection to tcp://go_fm.streampartner.nl:443 failed: Error number -138 occurred
[2024-06-21 14:57:59.977] [error]
[2024-06-21 14:57:59.977] [error] [ffmpeg] [tls @ 0000020114D10700] The specified session has been invalidated for some reason.
[2024-06-21 14:57:59.977] [error]
[2024-06-21 14:57:59.977] [warning] [ffmpeg] [https @ 0000020114A28940] Will reconnect at 13130914 in 1 second(s), error=I/O error.
[2024-06-21 14:57:59.977] [warning]
[2024-06-21 14:58:01.366] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2024-06-21 14:58:01.367] [info] Received message from 127.0.0.1: CLS\r\n
[2024-06-21 14:58:01.387] [info] Sent more than 512 bytes to 127.0.0.1
[2024-06-21 14:58:02.398] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2024-06-21 14:58:05.413] [warning] ffmpeg[https://go_fm.streampartner.nl/live|547.0200/0.0000] Waiting for audio frame...
[2024-06-21 14:58:06.023] [error] [ffmpeg] [tcp @ 0000020114D11E80] Connection to tcp://go_fm.streampartner.nl:443 failed: Error number -138 occurred
[2024-06-21 14:58:06.023] [error]
[2024-06-21 14:58:06.023] [error] [ffmpeg] [tls @ 0000020114D10700] The specified session has been invalidated for some reason.
[2024-06-21 14:58:06.023] [error]
[2024-06-21 14:58:06.023] [warning] [ffmpeg] [https @ 0000020114A28940] Will reconnect at 13130914 in 3 second(s), error=I/O error.
[2024-06-21 14:58:06.023] [warning]
[2024-06-21 14:58:11.376] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2024-06-21 14:58:11.376] [info] Received message from 127.0.0.1: CLS\r\n
[2024-06-21 14:58:11.400] [info] Sent more than 512 bytes to 127.0.0.1
[2024-06-21 14:58:12.413] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2024-06-21 14:58:14.070] [error] [ffmpeg] [tcp @ 0000020114D11000] Connection to tcp://go_fm.streampartner.nl:443 failed: Error number -138 occurred
[2024-06-21 14:58:14.070] [error]
[2024-06-21 14:58:14.070] [error] [ffmpeg] [tls @ 0000020114D10700] The specified session has been invalidated for some reason.
[2024-06-21 14:58:14.070] [error]
[2024-06-21 14:58:14.070] [warning] [ffmpeg] [https @ 0000020114A28940] Will reconnect at 13130914 in 7 second(s), error=I/O error.
[2024-06-21 14:58:14.070] [warning]
[2024-06-21 14:58:15.758] [warning] ffmpeg[https://go_fm.streampartner.nl/live|547.0200/0.0000] Waiting for audio frame...
[2024-06-21 14:58:21.263] [warning] [ffmpeg] [https @ 0000020114A28940] HTTP error 404 File Not Found
[2024-06-21 14:58:21.263] [warning]
[2024-06-21 14:58:21.264] [error] [ffmpeg] [tls @ 0000020114D10700] The specified session has been invalidated for some reason.
[2024-06-21 14:58:21.264] [error]
[2024-06-21 14:58:21.264] [warning] [ffmpeg] [https @ 0000020114A28940] Will reconnect at 13130914 in 15 second(s), error=I/O error.
[2024-06-21 14:58:21.264] [warning]
[2024-06-21 14:58:21.375] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2024-06-21 14:58:21.375] [info] Received message from 127.0.0.1: CLS\r\n
[2024-06-21 14:58:21.408] [info] Sent more than 512 bytes to 127.0.0.1
[2024-06-21 14:58:22.417] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2024-06-21 14:58:26.114] [warning] ffmpeg[https://go_fm.streampartner.nl/live|547.0200/0.0000] Waiting for audio frame...
[2024-06-21 14:58:31.367] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2024-06-21 14:58:31.367] [info] Received message from 127.0.0.1: CLS\r\n
[2024-06-21 14:58:31.388] [info] Sent more than 512 bytes to 127.0.0.1
[2024-06-21 14:58:32.399] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2024-06-21 14:58:36.465] [warning] ffmpeg[https://go_fm.streampartner.nl/live|547.0200/0.0000] Waiting for audio frame...
[2024-06-21 14:58:36.631] [error] [ffmpeg] [mp3float @ 0000020114C51A80] Header missing
[2024-06-21 14:58:36.631] [error]
[2024-06-21 14:58:36.643] [warning] ffmpeg[https://go_fm.streampartner.nl/live|547.0200/0.0000] Latency: 4733
[2024-06-21 14:58:36.648] [fatal] #######################
[2024-06-21 14:58:36.648] [fatal] UNHANDLED EXCEPTION:
[2024-06-21 14:58:36.648] [fatal] Adress:00007FFF728EBA99
[2024-06-21 14:58:36.648] [fatal] Code:3765269347
[2024-06-21 14:58:36.648] [fatal] Flag:1
[2024-06-21 14:58:36.648] [fatal] Info:00000007D98FF490
[2024-06-21 14:58:36.648] [fatal] Continuing execution.
[2024-06-21 14:58:36.648] [fatal] #######################
Steps to reproduce
The error does not happen each time, but when it is, it is playing an mp3 stream
Environment
The text was updated successfully, but these errors were encountered: