-
Notifications
You must be signed in to change notification settings - Fork 270
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
Partial file crash #1444
Labels
Comments
Could you provide a sample file that reproduces this crash? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Caspar to stop the current consumer or load the background clip if it's there. Older version of caspar just stop playing the clip (Froze). Something like this we can detect and tell caspar to load a new clip. There are unforseen circumstance that we failed to check for partial files.
Current behaviour
When playing a partial file, caspar will crash when it reached to the end.
Steps to reproduce
Environment
Screenshots
[2022-09-12 13:19:32.461] [info] Received message from Console: play 1-10 partial\r\n
[2022-09-12 13:19:32.744] [warning] ffmpeg[partial.mp4|0.0000/706.4724] Latency: 4
[2022-09-12 13:19:40.131] [info] Received message from Console: add 1 screen\r\n
[2022-09-12 13:19:40.134] [info] Screen consumer [1|NTSC] Initialized.
[2022-09-12 13:21:10.667] [info] Received message from Console: loadbg 1-10 partial\r\n
[2022-09-12 13:21:11.183] [error] [ffmpeg] [mov,mp4,m4a,3gp,3g2,mj2 @ 000001D0C27C7A00] stream 1, offset 0xab3855f: partial file
[2022-09-12 13:21:11.183] [error]
[2022-09-12 13:21:11.184] [error] Exception: C:\Program Files (x86)\Jenkins\workspace\casparcg-server-dep\master\src\modules\ffmpeg\producer\av_input.cpp(64): Throw in function auto _cdecl caspar::ffmpeg::Input::{ctor}::<lambda_fb20fb3672206abbfd8e24b0901bbc5b>::operator ()(void) const
[2022-09-12 13:21:11.184] [error] Dynamic exception type: class boost::exception_detail::clone_impl
[2022-09-12 13:21:11.184] [error] [struct boost::errinfo_api_function * _ptr64] = av_read_frame
[2022-09-12 13:21:11.184] [error] [struct boost::errinfo_errno * __ptr64] = 1094995529, "Unknown error"
[2022-09-12 13:21:11.184] [error] [struct caspar::ffmpeg::tag_ffmpeg_errn_info * __ptr64] = -1094995529
[2022-09-12 13:21:11.184] [error] [struct caspar::tag_stacktrace_info * __ptr64] = 0# 0x00007FF60689A53E in casparcg
[2022-09-12 13:21:11.184] [error] 1# 0x00007FF6068D35B0 in casparcg
[2022-09-12 13:21:11.184] [error] 2# 0x00007FF606AE7799 in casparcg
[2022-09-12 13:21:11.184] [error] 3# 0x00007FF606C6D953 in casparcg
[2022-09-12 13:21:11.184] [error] 4# configthreadlocale in ucrtbase
[2022-09-12 13:21:11.184] [error] 5# BaseThreadInitThunk in KERNEL32
[2022-09-12 13:21:11.184] [error] 6# RtlUserThreadStart in ntdll
[2022-09-12 13:21:11.184] [error]
[2022-09-12 13:21:11.184] [error]
[2022-09-12 13:21:11.184] [error] 0# 0x00007FF60689A53E in casparcg
[2022-09-12 13:21:11.184] [error] 1# 0x00007FF606899E6F in casparcg
[2022-09-12 13:21:11.184] [error] 2# 0x00007FF606E27F27 in casparcg
[2022-09-12 13:21:11.184] [error] 3# _C_specific_handler in VCRUNTIME140
[2022-09-12 13:21:11.184] [error] 4# _FrameUnwindFilter in VCRUNTIME140
[2022-09-12 13:21:11.184] [error] 5# RtlCaptureContext2 in ntdll
[2022-09-12 13:21:11.184] [error] 6# 0x00007FF606AE7899 in casparcg
[2022-09-12 13:21:11.184] [error] 7# 0x00007FF606C6D953 in casparcg
[2022-09-12 13:21:11.184] [error] 8# configthreadlocale in ucrtbase
[2022-09-12 13:21:11.184] [error] 9# BaseThreadInitThunk in KERNEL32
[2022-09-12 13:21:11.184] [error] 10# RtlUserThreadStart in ntdll
[2022-09-12 13:21:11.184] [error]
[2022-09-12 13:21:14.442] [error] [ffmpeg] [h264 @ 000001D0CE125E00] Invalid NAL unit size (14663 > 302).
[2022-09-12 13:21:14.442] [error]
[2022-09-12 13:21:14.442] [error] [ffmpeg] [h264 @ 000001D0CE125E00] Error splitting the input into NAL units.
[2022-09-12 13:21:14.442] [error]
[2022-09-12 13:21:14.477] [fatal] #######################
[2022-09-12 13:21:14.477] [fatal] UNHANDLED EXCEPTION:
[2022-09-12 13:21:14.477] [fatal] Adress:00007FFDDE184FD9
[2022-09-12 13:21:14.477] [fatal] Code:3765269347
[2022-09-12 13:21:14.477] [fatal] Flag:1
[2022-09-12 13:21:14.477] [fatal] Info:00000029081FF550
[2022-09-12 13:21:14.477] [fatal] Continuing execution.
[2022-09-12 13:21:14.477] [fatal] #######################
The text was updated successfully, but these errors were encountered: