-
Notifications
You must be signed in to change notification settings - Fork 741
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
[ffmpeg] avformat_find_stream_info crashes with Read_packet_Pointer_BytePointer_int #732
Comments
It crashes when multi-stream opened with buffer callback occasionally. |
This is something that's been fixed recently. Please give it a try with the snapshots:
http://bytedeco.org/builds/
|
Duplicate of #683 |
Make sure to use the snapshots: |
Some codecs are also known to have issues with threads: bytedeco/javacv#1139 |
The stream is only wraped rtp with h264 codec |
If synchronization at the Java level is unacceptable, make sure to report this issue upstream! |
warning: Unexpected size of section
.reg-xstate/49454' in core file. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by
/resources/'.Program terminated with signal SIGABRT, Aborted.
warning: Unexpected size of section `.reg-xstate/49454' in core file.
#0 0x00007f4ec8a65428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f4e6b5f5700 (LWP 49454))]
(gdb) bt
#0 0x00007f4ec8a65428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f4ec8a6702a in _GI_abort () at abort.c:89
#2 0x00007f4ec835f365 in os::abort(bool) ()
from /resources/jdk8/jre/lib/amd64/server/libjvm.so
#3 0x00007f4ec8503403 in VMError::report_and_die() ()
from /resources/jdk8/jre/lib/amd64/server/libjvm.so
#4 0x00007f4ec836565f in JVM_handle_linux_signal ()
from /resources/jdk8/jre/lib/amd64/server/libjvm.so
#5 0x00007f4ec835b683 in signalHandler(int, siginfo*, void*) ()
from /resources/jdk8/jre/lib/amd64/server/libjvm.so
#6
#7 0x00007f4ec810ab1f in jni_invoke_nonstatic(JNIEnv, JavaValue, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) ()
from /resources/jdk8/jre/lib/amd64/server/libjvm.so
#8 0x00007f4ec811079d in jni_CallIntMethodA ()
from /resources/jdk8/jre/lib/amd64/server/libjvm.so
#9 0x00007f4e50327c5c in ?? () from /root/.javacpp/cache/ffmpeg-4.1.3-1.5-linux-x86_64.jar/org/bytedeco/ffmpeg/linux-x86_64/libjniavformat.so
#10 0x00007f4e4ba83ab6 in avformat_find_stream_info ()
from /root/.javacpp/cache/ffmpeg-4.1.3-1.5-linux-x86_64.jar/org/bytedeco/ffmpeg/linux-x86_64/libavformat.so.58
The text was updated successfully, but these errors were encountered: