描述
Why do I occasionally see Zynq UltraScale+ MPSoC VCU OMX Encoder crashes when transitioning out of the recording state?
Example Error:
#0 0x0000007fbe8f62e0 in pthread_cond_wait () at /lib/libpthread.so.0
#1 0x0000007fbe709640 in std::condition_variable::wait(std::unique_lock<:mutex>&) () at /usr/lib/libstdc++.so.6
#2 0x0000007f99bc0004 in semaphore::wait() (this=0x7f9c83ba28) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_utils/semaphore.h:78
#3 0x0000007f99bc0004 in locked_queue<:task>::pop() (this=0x7f9c83ba28) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_utils/locked_queue.h:76
<:mutex><:task>#4 0x0000007f99bc0004 in ProcessorFifo::Worker() (this=0x7f9c83b9f0) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_utils/processor_fifo.h:83
#5 0x0000007fbe70f3b4 in () at /usr/lib/libstdc++.so.6
#6 0x0000007fbe8eff40 in () at /lib/libpthread.so.0
#7 0x0000007f1eeab608 in ()
#0 0x0000007fbe8f10b4 in pthread_join () at /lib/libpthread.so.0
#1 0x0000007fbe70f648 in std::thread::join() () at /usr/lib/libstdc++.so.6
#2 0x0000007f95bad604 in ProcessorFifo::~ProcessorFifo() (this=0x7f751dcdc0, __in_chrg=) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_utils/processor_fifo.h:59
#3 0x0000007f95ba9308 in ProcessorFifo::~ProcessorFifo() (this=0x7f751dcdc0, __in_chrg=) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_utils/processor_fifo.h:60
#4 0x0000007f95ba9308 in std::default_delete::operator()(ProcessorFifo*) const (this=, __ptr=0x7f751dcdc0) at /usr/include/c++/7.3.0/bits/unique_ptr.h:78
#5 0x0000007f95ba9308 in std::unique_ptr >::~unique_ptr() (this=0x7f7565fd50, __in_chrg=) at /usr/include/c++/7.3.0/bits/unique_ptr.h:268
#6 0x0000007f95ba9308 in Component::~Component() (this=0x7f7565fae0, __in_chrg=) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_component/omx_component.cpp:232
#7 0x0000007f95bcdf44 in EncComponent::~EncComponent() (this=0x7f7565fae0, __in_chrg=) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_component/omx_component_enc.h:46
#8 0x0000007f95be8514 in WrapComponentDeInit(OMX_HANDLETYPE) (hComponent=0x7f756723d0) at /usr/src/debug/libomxil-xlnx/git-r0/git/base/omx_wrapper/omx_wrapper_enc_entry_point.cpp:56
#9 0x0000007f96713458 in OMX_FreeHandle(OMX_HANDLETYPE) (hComponent=0x7f756723d0) at /usr/src/debug/libomxil-xlnx/git-r0/git/core/omx_core/omx_core.cpp:179
#10 0x0000007f960627ac in () at /usr/lib/gstreamer-1.0/libgstomx.so