Skip to content
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

Segfaults in Timeline:Multi-threaded Timeline GetFrame #934

Open
Ninpo opened this issue Jul 9, 2023 · 1 comment
Open

Segfaults in Timeline:Multi-threaded Timeline GetFrame #934

Ninpo opened this issue Jul 9, 2023 · 1 comment
Labels
stale This issue has not had any activity in 90 days :(

Comments

@Ninpo
Copy link
Contributor

Ninpo commented Jul 9, 2023

---- 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.

Ninpo added a commit to Ninpo/gentoo that referenced this issue Jul 9, 2023
* Fix parallel test issues by renaming the output files
  to avoid clobbering (reported upstream at
  OpenShot/libopenshot#933)

* Skip flaky test (reported upstream at OpenShot/libopenshot#934)

Closes: https://bugs.gentoo.org/909759
Signed-off-by: Ninpo <[email protected]>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Jul 9, 2023
* Fix parallel test issues by renaming the output files
  to avoid clobbering (reported upstream at
  OpenShot/libopenshot#933)

* Skip flaky test (reported upstream at OpenShot/libopenshot#934)

Closes: https://bugs.gentoo.org/909759
Signed-off-by: Ninpo <[email protected]>
Closes: #31810
Signed-off-by: Sam James <[email protected]>
@stale
Copy link

stale bot commented Oct 15, 2023

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!

@stale stale bot added the stale This issue has not had any activity in 90 days :( label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue has not had any activity in 90 days :(
Projects
None yet
Development

No branches or pull requests

1 participant