Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876397 - media-video/openshot-2.6.1 ERROR main_window: Unhandled crash detected: linux-/lib64/libc.so.6 raise 0x12 [0x7f8dac49f182] (PATCH)
Summary: media-video/openshot-2.6.1 ERROR main_window: Unhandled crash detected: linux...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Stefan Strogin
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-10-09 22:52 UTC by Jonas Stein
Modified: 2023-07-06 00:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with patches (openshot-2.6.1-r1.ebuild,1.48 KB, text/plain)
2022-10-23 14:37 UTC, Robby Klehm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2022-10-09 22:52:49 UTC
TDLR: Link to patch is in the end.

---------------------

when starting after a fresh installation it crashes here with:

openshot-qt 
Loaded modules from: /usr/lib/python3.10/site-packages/openshot_qt
INFO app: ------------------------------------------------
INFO app:             Sun Oct  9 01:49:20 2022            
INFO app:               Starting new session              
INFO app: ------------------------------------------------
INFO app:             OpenShot (version 2.6.1)            
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 2.6.1
INFO app: libopenshot version: 0.2.7
INFO app: platform: Linux-5.15.57-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.35
INFO app: processor: AMD Ryzen 9 3950X 16-Core Processor
INFO app: machine: x86_64
INFO app: python version: 3.10.7
INFO app: qt5 version: 5.15.5
INFO app: pyqt5 version: 5.15.6
INFO project_data: Setting default profile to HD 720p 30 fps
INFO language: Qt Detected Languages: ['en-GB']
INFO language: LANG Environment Variable: en_GB.utf8
INFO language: LOCALE Environment Variable: 
INFO language: OpenShot Preference Language: Default
INFO app: Setting font to /usr/lib/python3.10/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
INFO logger_libopenshot: Connecting to libopenshot with debug port: 5556
INFO app: Setting custom dark theme
INFO ui_util: Initializing UI for MainWindow
INFO webengine: WebEngine backend initializing
INFO thumbnail: Starting thumbnail server listening on port 56289
INFO transition_model: updating transitions model.
INFO effects_model: updating effects model.
INFO emoji_model: updating emoji model.
INFO version: Found current version: {'trans_rate_unstable': 0.001, 'error_rate_stable': 0.16, 'openshot_version': '2.6.1', 'trans_rate_stable': 0.01, 'error_rate_unstable': 0.05}
INFO main_window: InitCacheSettings
INFO main_window: cache-mode: CacheMemory
INFO main_window: cache-limit-mb: 250
INFO main_window: Creating CacheMemory object with 262144000 byte limit
INFO preview_thread: QThread Start Method Invoked
ERROR main_window: Unhandled crash detected: linux-/lib64/libc.so.6 raise 0x12 [0x7f8dac49f182]
INFO main_window: updateStatusChanged
INFO main_window: recover_backup
INFO project_data: Setting default profile to HD 720p 30 fps
INFO preview_thread: player Position(): 1
INFO video_widget: Load: Set video widget display aspect ratio to: 1.7777777910232544
INFO video_widget: Set video widget pixel aspect ratio to: 1.0
INFO main_window: updateStatusChanged
Unhandled Python exception
Caught signal 6 (SIGABRT)
---- Unhandled Exception: Stack Trace ----
  /lib64/libc.so.6               ( raise                                     + 0x12  )  [0x7fa6e1fe6182]
  /lib64/libc.so.6               ( abort                                     + 0xcb  )  [0x7fa6e1fd046a]
  /usr/lib64/libQt5Core.so.5     (                                           + 0x91d4b)  [0x7fa6e0b2fd4b]
  /usr/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so (                                           + 0xb5237)  [0x7fa6e10d8237]
  /usr/lib/python3.10/site-packages/PyQt5/sip.cpython-310-x86_64-linux-gnu.so (                                           + 0x11b34)  [0x7fa6e100db34]
  /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so (                                           + 0x14d15d)  [0x7fa6ddb4215d]
  /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so (                                           + 0x3e45bb)  [0x7fa6dddd95bb]
  /usr/lib64/libQt5Widgets.so.5  ( QWidget::event(QEvent*)                   + 0x1d8 )  [0x7fa6dd4b5f08]
  /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so (                                           + 0x3e6e8b)  [0x7fa6ddddbe8b]
  /usr/lib64/libQt5Widgets.so.5  ( QApplicationPrivate::notify_helper(QObject*, QEvent*)  + 0x7e  )  [0x7fa6dd47243e]
  /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so (                                           + 0x3a53be)  [0x7fa6ddd9a3be]
  /usr/lib64/libQt5Core.so.5     ( QCoreApplication::notifyInternal2(QObject*, QEvent*)  + 0x148 )  [0x7fa6e0d21ee8]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::sendPaintEvent(QRegion const&)  + 0x35  )  [0x7fa6dd4adfa5]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x869 )  [0x7fa6dd4ae869]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x551 )  [0x7fa6dd4afc51]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x4ed )  [0x7fa6dd4ae4ed]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x551 )  [0x7fa6dd4afc51]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x4ed )  [0x7fa6dd4ae4ed]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x551 )  [0x7fa6dd4afc51]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x386 )  [0x7fa6dd4afa86]
  /usr/lib64/libQt5Widgets.so.5  ( QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*)  + 0x4ed )  [0x7fa6dd4ae4ed]
  /usr/lib64/libQt5Widgets.so.5  (                                           + 0x174dc9)  [0x7fa6dd483dc9]
  /usr/lib64/libQt5Widgets.so.5  (                                           + 0x17561a)  [0x7fa6dd48461a]
  /usr/lib64/libQt5Widgets.so.5  (                                           + 0x1c3ee3)  [0x7fa6dd4d2ee3]
  /usr/lib64/libQt5Widgets.so.5  ( QApplicationPrivate::notify_helper(QObject*, QEvent*)  + 0x7e  )  [0x7fa6dd47243e]
  /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so (                                           + 0x3a53be)  [0x7fa6ddd9a3be]
  /usr/lib64/libQt5Core.so.5     ( QCoreApplication::notifyInternal2(QObject*, QEvent*)  + 0x148 )  [0x7fa6e0d21ee8]
  /usr/lib64/libQt5Gui.so.5      ( QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)  + 0x91  )  [0x7fa6dce936a1]
  /usr/lib64/libQt5Gui.so.5      ( QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)  + 0xab  )  [0x7fa6dce7146b]
  /usr/lib64/libQt5XcbQpa.so.5   (                                           + 0x65aca)  [0x7fa6cf4a1aca]
  /usr/lib64/libglib-2.0.so.0    ( g_main_context_dispatch                   + 0x298 )  [0x7fa6e00dcd78]
  /usr/lib64/libglib-2.0.so.0    (                                           + 0x56018)  [0x7fa6e00dd018]
  /usr/lib64/libglib-2.0.so.0    ( g_main_context_iteration                  + 0x2c  )  [0x7fa6e00dd0ac]
  /usr/lib64/libQt5Core.so.5     ( QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  + 0x66  )  [0x7fa6e0d73ce6]
  /usr/lib64/libQt5Core.so.5     ( QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)  + 0x12b )  [0x7fa6e0d2090b]
  /usr/lib64/libQt5Core.so.5     ( QCoreApplication::exec()                  + 0x96  )  [0x7fa6e0d28be6]
  /usr/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so (                                           + 0x3a406d)  [0x7fa6ddd9906d]
  /usr/lib64/libpython3.10.so.1.0 (                                           + 0xf7283)  [0x7fa6e229f283]
  /usr/lib64/libpython3.10.so.1.0 ( _PyObject_MakeTpCall                      + 0x90  )  [0x7fa6e2260e10]
  /usr/lib64/libpython3.10.so.1.0 ( _PyEval_EvalFrameDefault                  + 0x72de)  [0x7fa6e221485e]
  /usr/lib64/libpython3.10.so.1.0 (                                           + 0x189b84)  [0x7fa6e2331b84]
  /usr/lib64/libpython3.10.so.1.0 ( _PyEval_EvalFrameDefault                  + 0x649e)  [0x7fa6e2213a1e]
  /usr/lib64/libpython3.10.so.1.0 (                                           + 0x189b84)  [0x7fa6e2331b84]
  /usr/lib64/libpython3.10.so.1.0 ( PyEval_EvalCode                           + 0x99  )  [0x7fa6e2331da9]
  /usr/lib64/libpython3.10.so.1.0 (                                           + 0x1c9ea3)  [0x7fa6e2371ea3]
  /usr/lib64/libpython3.10.so.1.0 (                                           + 0x1ca0d6)  [0x7fa6e23720d6]
  /usr/lib64/libpython3.10.so.1.0 (                                           + 0x1ca1b0)  [0x7fa6e23721b0]
  /usr/lib64/libpython3.10.so.1.0 ( _PyRun_SimpleFileObject                   + 0x119 )  [0x7fa6e2374359]
  /usr/lib64/libpython3.10.so.1.0 ( _PyRun_AnyFileObject                      + 0x40  )  [0x7fa6e2374900]
  /usr/lib64/libpython3.10.so.1.0 ( Py_RunMain                                + 0x7c0 )  [0x7fa6e2392a40]
  /usr/lib64/libpython3.10.so.1.0 ( Py_BytesMain                              + 0x5a  )  [0x7fa6e2392fca]
  /lib64/libc.so.6               (                                           + 0x292ca)  [0x7fa6e1fd12ca]
  /lib64/libc.so.6               ( __libc_start_main                         + 0x85  )  [0x7fa6e1fd1385]
  /usr/bin/python3.10            ( _start                                    + 0x21  )  [0x55842ea28081]
---- End of Stack Trace ----


There is a similar report upstream 
https://github.com/OpenShot/openshot-qt/issues/4596

I tested the following 2 patches and after adding these, it compiles and starts fine again.

https://github.com/OpenShot/openshot-qt/commit/fff785eb1e3e0c30ed6ca57e2d1933aaa807ae22.patch 
https://github.com/OpenShot/openshot-qt/commit/9748a13268d66a5949aebc970637b5903756d018.patch



Thanks go to mroh from #gentoo-de who quickly found the right bug and patches.
Comment 1 Robby Klehm 2022-10-23 14:37:09 UTC
Created attachment 825145 [details]
ebuild with patches

Just like to confirm, that adding the patches fixes the issue here also. Thanks a lot! Added my ebuild.
Comment 2 Alexis 2023-02-15 10:36:12 UTC
Also confirming that the above patches fixed this issue for me.
Comment 3 David Duchesne 2023-06-18 10:58:31 UTC
Patches works fine for me. Thanks. Maybe time to replace the old ebuild ?
Comment 4 José María Fernández González 2023-06-30 15:45:32 UTC
I can confirm the two patches are needed.

I just installed openshot, and what it is happening what it is described in this issue. I have just downloaded and added the two patches to /etc/portage/patches/media-video/openshot-2.6.1 , I have reinstalled openshot, and now it is working.
Comment 5 Larry the Git Cow gentoo-dev 2023-07-06 00:06:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86208fb4b10d1d30908d7e13db86910420017473

commit 86208fb4b10d1d30908d7e13db86910420017473
Author:     Ninpo <ninpo@qap.la>
AuthorDate: 2023-07-05 21:17:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-06 00:05:28 +0000

    media-video/openshot: add 3.1.1
    
    Closes: https://bugs.gentoo.org/876397
    Closes: https://bugs.gentoo.org/887437
    Closes: https://bugs.gentoo.org/909641
    Signed-off-by: Ninpo <ninpo@qap.la>
    Closes: https://github.com/gentoo/gentoo/pull/31764
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/openshot/Manifest              |  1 +
 media-video/openshot/openshot-3.1.1.ebuild | 55 ++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)