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

            Bug ID: 469520
           Summary: Error starting kdenlive in GPU mode
    Classification: Applications
           Product: kdenlive
           Version: 23.04.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: mbartasevis...@gmail.com
  Target Milestone: ---

Application: kdenlive (23.04.0)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.1.27-1-lts x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Every time I launch the app, it crashes and prompts me to disable GPU mode. I
know it's okay to not use this mode, but I want it fixed because I need this
mode.

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007fe093adfdab in
std::__atomic_base<QMutexData*>::compare_exchange_strong(QMutexData*&,
QMutexData*, std::memory_order, std::memory_order)
(__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1,
__p1=<synthetic pointer>: <optimized out>, this=0x58) at
/usr/include/c++/12.2.1/atomic:623
#7  std::atomic<QMutexData*>::compare_exchange_strong(QMutexData*&,
QMutexData*, std::memory_order, std::memory_order) (__p2=0x1,
__m1=std::memory_order_acquire, __m2=std::memory_order_acquire, __p1=<synthetic
pointer>: <optimized out>, this=0x58) at /usr/include/c++/12.2.1/atomic:625
#8 
QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*>(std::atomic<QMutexData*>&,
QMutexData*, QMutexData*, QMutexData**) (currentValue=<synthetic pointer>,
newValue=0x1, expectedValue=0x0, _q_value=<error reading variable: Cannot
access memory at address 0x58>, _q_value=<optimized out>,
expectedValue=<optimized out>, newValue=<optimized out>,
currentValue=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308
#9  QBasicAtomicPointer<QMutexData>::testAndSetAcquire(QMutexData*,
QMutexData*, QMutexData*&) (currentValue=<synthetic pointer>: <optimized out>,
newValue=0x1, expectedValue=0x0, this=0x58) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:273
#10 QBasicMutex::fastTryLock(QMutexData*&) (current=<synthetic pointer>:
<optimized out>, this=0x58) at thread/qmutex.h:128
#11 QMutex::lock() (this=this@entry=0x58) at thread/qmutex.cpp:232
#12 0x00007fe093ae1e22 in QMutexLocker::QMutexLocker(QBasicMutex*) (m=0x58,
this=<synthetic pointer>) at thread/qmutex.h:257
#13 QThread::exit(int) (this=<optimized out>, returnCode=0) at
thread/qthread.cpp:580
#14 0x00007fe093ae1eac in QThread::quit() (this=<optimized out>) at
thread/qthread.cpp:601
#15 0x000055a9f10d4ffb in onThreadJoin(mlt_properties, GLWidget*,
mlt_event_data) (owner=<optimized out>, self=<optimized out>, data=...) at
/usr/src/debug/kdenlive/kdenlive-23.04.0/src/monitor/glwidget.cpp:911
#16 0x00007fe09690882a in mlt_events_fire () at /usr/lib/libmlt-7.so.7
#17 0x00007fe096908f6a in mlt_consumer_stop () at /usr/lib/libmlt-7.so.7
#18 0x000055a9f10d67c2 in GLWidget::stop() (this=0x55a9f4a91190) at
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1665
#19 0x000055a9f10da481 in GLWidget::setProducer(std::shared_ptr<Mlt::Producer>
const&, bool, int) (this=0x55a9f4a91190,
producer=std::shared_ptr<Mlt::Producer> (use count 1, weak count 0) = {...},
isActive=<optimized out>, position=0) at
/usr/src/debug/kdenlive/kdenlive-23.04.0/src/monitor/glwidget.cpp:1007
#20 0x000055a9f13624f1 in ProjectManager::updateTimeline(int, bool, QString
const&, QString const&, QDateTime const&, bool) [clone .constprop.0]
(this=this@entry=0x55a9f2512590, pos=pos@entry=0, chunks=..., dirty=...,
documentDate=..., enablePreview=enablePreview@entry=false, createNewTab=true)
at /usr/src/debug/kdenlive/kdenlive-23.04.0/src/project/projectmanager.cpp:1279
#21 0x000055a9f1149812 in ProjectManager::newFile(QString, bool)
(this=this@entry=0x55a9f2512590, profileName=...,
showProjectSettings=<optimized out>) at
/usr/src/debug/kdenlive/kdenlive-23.04.0/src/project/projectmanager.cpp:252
#22 0x000055a9f114a5e3 in ProjectManager::newFile(bool)
(this=this@entry=0x55a9f2512590,
showProjectSettings=showProjectSettings@entry=false) at
/usr/src/debug/kdenlive/kdenlive-23.04.0/src/project/projectmanager.cpp:157
#23 0x000055a9f114bcea in ProjectManager::slotLoadOnOpen()
(this=0x55a9f2512590) at
/usr/src/debug/kdenlive/kdenlive-23.04.0/src/project/projectmanager.cpp:114
#24 0x00007fe093cb1c80 in QObject::event(QEvent*) (this=0x55a9f2512590,
e=0x55a9f57e4bf0) at kernel/qobject.cpp:1347
#25 0x00007fe094f78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55a9f2512590, e=0x55a9f57e4bf0) at
kernel/qapplication.cpp:3640
#26 0x00007fe093c8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55a9f2512590, event=0x55a9f57e4bf0) at
kernel/qcoreapplication.cpp:1064
#27 0x00007fe093c8e093 in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1462
#28 0x00007fe093c8eb33 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55a9f1dbec50) at
kernel/qcoreapplication.cpp:1821
#29 0x00007fe093cd4f58 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55a9f1dc1e40) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fe09239e53b in g_main_dispatch (context=0x7fe088000ee0) at
../glib/glib/gmain.c:3460
#31 g_main_context_dispatch (context=0x7fe088000ee0) at
../glib/glib/gmain.c:4200
#32 0x00007fe0923fb219 in g_main_context_iterate.constprop.0
(context=0x7fe088000ee0, block=1, dispatch=1, self=<optimized out>) at
../glib/glib/gmain.c:4276
#33 0x00007fe09239d1a2 in g_main_context_iteration (context=0x7fe088000ee0,
may_block=1) at ../glib/glib/gmain.c:4343
#34 0x00007fe093cd8d3c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55a9f1efdc10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007fe093c8668c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd220b6a10,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007fe093c912f9 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x00007fe09473b052 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#38 0x00007fe094f76f2a in QApplication::exec() () at
kernel/qapplication.cpp:2832
#39 0x000055a9f0e2bae2 in main(int, char**) (argc=<optimized out>,
argv=0x7ffd220b6e88) at
/usr/src/debug/kdenlive/kdenlive-23.04.0/src/main.cpp:352
[Inferior 1 (process 4179785) detached]

Reported using DrKonqi

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

Reply via email to