Segfaults in Timeline:Multi-threaded Timeline GetFrame
---- Unhandled Exception: Stack Trace ----
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Clip::GetFrame(std::shared_ptr<openshot::Frame>, long, openshot::TimelineInfoStruct*) + 0x3d3 ) [0x7f49875d1503]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Timeline::GetOrCreateFrame(std::shared_ptr<openshot::Frame>, openshot::Clip*, long, openshot::TimelineInfoStruct*) + 0x3fc ) [0x7f498762a8bc]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Timeline::add_layer(std::shared_ptr<openshot::Frame>, openshot::Clip*, long, bool, float) + 0xa1 ) [0x7f498762aaa1]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Timeline::GetFrame(long) + 0x1584) [0x7f4987630684]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/tests/openshot-Timeline-test ( + 0xad67) [0x5622d29a6d67]
/usr/lib/gcc/x86_64-pc-linux-gnu/13/libgomp.so.1 ( + 0x20360) [0x7f49871a1360]
/lib64/libc.so.6 ( + 0x85eb9) [0x7f4986818eb9]
/lib64/libc.so.6 ( + 0x10945c) [0x7f498689c45c]
---- End of Stack Trace ----
Randomness seeded to: 1794867837
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
Caught signal 11 (SIGSEGV)
---- Unhandled Exception: Stack Trace ----
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Clip::GetFrame(std::shared_ptr<openshot::Frame>, long, openshot::TimelineInfoStruct*) + 0x3d3 ) [0x7fce7b7ac503]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Timeline::GetOrCreateFrame(std::shared_ptr<openshot::Frame>, openshot::Clip*, long, openshot::TimelineInfoStruct*) + 0x3fc ) [0x7fce7b8058bc]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Timeline::add_layer(std::shared_ptr<openshot::Frame>, openshot::Clip*, long, bool, float) + 0xa1 ) [0x7fce7b805aa1]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/src/libopenshot.so.25 ( openshot::Timeline::GetFrame(long) + 0x1584) [0x7fce7b80b684]
/var/tmp/portage/media-libs/libopenshot-0.3.2-r1/work/libopenshot-0.3.2_build/tests/openshot-Timeline-test ( + 0xad67) [0x55cb164a6d67]
/usr/lib/gcc/x86_64-pc-linux-gnu/13/libgomp.so.1 ( + 0x20360) [0x7fce7b37c360]
/lib64/libc.so.6 ( + 0x85eb9) [0x7fce7a9f3eb9]
/lib64/libc.so.6 ( + 0x10945c) [0x7fce7aa7745c]
---- End of Stack Trace ----
To get better debug information I've attempted to keep running this individual test with gdb, unfortunately I can only sometimes get this to happen when running loops of the entire test suite. Appears to happen more reliably as number of make jobs increases.
For now in our distro package we've disabled the test. Do let me know if there's anything else you'd like me to do/provide to help nail this down.
Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.
This issue will be closed, as it meets the following criteria:
- No activity in the past 90 days
- No one is assigned to this issue
We'd like to ask you to help us out and determine whether this issue should be reopened.
- If this issue is reporting a bug, please can you attempt to reproduce on the latest daily build to help us to understand whether the bug still needs our attention.
- If this issue is proposing a new feature, please can you verify whether the feature proposal is still relevant.
Thanks again for your help!