https://bugs.kde.org/show_bug.cgi?id=467763

            Bug ID: 467763
           Summary: Kdenlive crashes when switching to projects in a
                    certain order
    Classification: Applications
           Product: kdenlive
           Version: 22.12.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Video Display & Export
          Assignee: j...@kdenlive.org
          Reporter: fritz.seiff...@protonmail.com
  Target Milestone: ---

Application: kdenlive (21.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.24.49-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I attempted to switch projects from one that I currently had open (dubbed
"Project A") to another one (dubbed "Project B"). There was only one opened
instance of Kdenlive. It appeared as if Project B loaded successfully (the
loading bar filled to 100% and the small loading sub-window disappeared, the
clips and the timeline assembled etc), but about 1-2 seconds after this
Kdenlive crashed.

I did the same thing twice again (first Project A, then Project B) and Kdenlive
crashed in both instances. I tried the inverse, first switching to Project B
(from an empty instance) and then switching to Project A, this worked fine and
Kdenlive did not crash. I then proceeded to switching to Project B again, at
which point Kdenlive crashed just as it had before. This last step (B->A->B) I
repeated, with the same result.

Whenever I write "switch" what I mean is going to "File" -> "Recent Projects"
and then selecting the project in question.

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f66f3b400d0 in pthread_mutex_lock () at /lib64/libpthread.so.0
#5  0x00007f66fc85d86e in mlt_properties_dec_ref
(self=self@entry=0x559b49698380) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_properties.c:401
#6  0x00007f66fc85ae33 in mlt_producer_close (self=0x559b49698380) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_producer.c:1089
#7  0x00007f66fc863128 in clear_property (self=self@entry=0x559b490df9b0) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_property.c:115
#8  0x00007f66fc864a69 in mlt_property_close (self=0x559b490df9b0) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_property.c:917
#9  0x00007f66fc85d929 in mlt_properties_close (self=0x559b460e7d30) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_properties.c:1523
#10 0x00007f66fc85ae74 in mlt_producer_close (self=0x559b460e7d30) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_producer.c:1111
#11 0x00007f66fc852825 in mlt_frame_close (self=0x559b47b9c8d0) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_frame.c:766
#12 0x00007f66fc863128 in clear_property (self=self@entry=0x559b48c00e80) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_property.c:115
#13 0x00007f66fc864a69 in mlt_property_close (self=0x559b48c00e80) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_property.c:917
#14 0x00007f66fc85d929 in mlt_properties_close (self=self@entry=0x559b458df390)
at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_properties.c:1523
#15 0x00007f66fc852844 in mlt_frame_close (self=0x559b458df390) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_frame.c:768
#16 0x00007f66fc863128 in clear_property (self=self@entry=0x559b458e7ed0) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_property.c:115
#17 0x00007f66fc864a69 in mlt_property_close (self=0x559b458e7ed0) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_property.c:917
#18 0x00007f66fc85d929 in mlt_properties_close (self=self@entry=0x559b4706aad0)
at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_properties.c:1523
#19 0x00007f66fc852844 in mlt_frame_close (self=0x559b4706aad0) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/framework/mlt_frame.c:768
#20 0x00007f66fc62af4b in Mlt::Frame::~Frame() (this=0x559b48eef5c8,
__in_chrg=<optimized out>) at
/usr/src/debug/libmlt-7.4.0-bp154.1.60.x86_64/src/mlt++/MltFrame.cpp:54
#21 0x0000559b3fb9003e in FrameData::~FrameData() (this=<optimized out>,
__in_chrg=<optimized out>) at
/usr/src/debug/kdenlive-21.12.3-bp154.1.38.x86_64/src/monitor/scopes/sharedframe.cpp:26
#22
QExplicitlySharedDataPointer<FrameData>::operator=(QExplicitlySharedDataPointer<FrameData>
const&) (o=..., this=0x559b43de5078, this@entry=0x559b48eef798) at
/usr/include/qt5/QtCore/qshareddata.h:208
#23 SharedFrame::operator=(SharedFrame const&) (this=this@entry=0x559b43de5078,
other=...) at
/usr/src/debug/kdenlive-21.12.3-bp154.1.38.x86_64/src/monitor/scopes/sharedframe.h:35
#24 0x0000559b3fb90a68 in GLWidget::onFrameDisplayed(SharedFrame const&)
(this=0x559b43de4ea0, frame=...) at
/usr/src/debug/kdenlive-21.12.3-bp154.1.38.x86_64/src/monitor/glwidget.cpp:1297
#25 0x00007f66f929fd9b in QObject::event(QEvent*)
(this=this@entry=0x559b43de4ea0, e=0x559b4961a640) at kernel/qobject.cpp:1314
#26 0x00007f66fa57ae88 in QWindow::event(QEvent*)
(this=this@entry=0x559b43de4ea0, ev=ev@entry=0x559b4961a640) at
kernel/qwindow.cpp:2454
#27 0x00007f66fd282b99 in QQuickWindow::event(QEvent*) (this=0x559b43de4ea0,
e=0x559b4961a640) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-150400.2.5.x86_64/src/quick/items/qquickwindow.cpp:1901
#28 0x00007f66faec23bc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x559b40ae52e0, receiver=receiver@entry=0x559b43de4ea0,
e=e@entry=0x559b4961a640) at kernel/qapplication.cpp:3632
#29 0x00007f66faec91a0 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffd1017b4b0, receiver=0x559b43de4ea0, e=0x559b4961a640) at
kernel/qapplication.cpp:3156
#30 0x00007f66f926bc23 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x559b43de4ea0, event=0x559b4961a640) at
kernel/qcoreapplication.cpp:1064
#31 0x00007f66f926bdfe in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=receiver@entry=0x559b43de4ea0, event=event@entry=0x559b4961a640) at
kernel/qcoreapplication.cpp:1462
#32 0x00007f66f926e641 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0,
data=0x559b40ae18a0) at kernel/qcoreapplication.cpp:1821
#33 0x00007f66f926ebc8 in QCoreApplication::sendPostedEvents(QObject*, int)
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1680
#34 0x00007f66f92ce983 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x559b40bd6160) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f66f1a3f82b in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#36 0x00007f66f1a3fbd0 in  () at /usr/lib64/libglib-2.0.so.0
#37 0x00007f66f1a3fc5c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#38 0x00007f66f92ce02c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x559b40bc7c80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f66f926a48a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffd1017b370, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:232
#40 0x00007f66f9273cc7 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1375
#41 0x00007f66fa563f9c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1867
#42 0x00007f66faec2315 in QApplication::exec() () at
kernel/qapplication.cpp:2824
#43 0x0000559b3f8e047c in main(int, char**) (argc=<optimized out>,
argv=0x7ffd1017b758) at
/usr/src/debug/kdenlive-21.12.3-bp154.1.38.x86_64/src/main.cpp:283
[Inferior 1 (process 24819) detached]

Possible duplicates by query: bug 440065, bug 433725, bug 420091, bug 356022.

An https://bugs.kde.org/ berichten

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to