[Tokodon] [Bug 474182] New: Crash when closing program in ~QQuickAnimatedImage()

Mochalov Konstantin bugzilla_noreply at kde.org
Tue Sep 5 11:13:04 BST 2023


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

            Bug ID: 474182
           Summary: Crash when closing program in ~QQuickAnimatedImage()
    Classification: Applications
           Product: Tokodon
           Version: 23.08.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: incredible.angst at gmail.com
                CC: carl at carlschwan.eu, josh at redstrate.com
  Target Milestone: ---

Application: tokodon (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.12-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
When closing Tokodon normally (by closing its main window), Tokodon crashed.
Seems that it happened when deinitializing an instance of QQuickAnimatedImage.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Tokodon (tokodon), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007f3bcccdca2b 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=0x7f3bcf0e26b8) at
/usr/include/c++/13.2.1/atomic:621
#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=0x7f3bcf0e26b8) at
/usr/include/c++/13.2.1/atomic:623
#8 
QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*>(std::atomic<QMutexData*>&,
QMutexData*, QMutexData*, QMutexData**) (currentValue=0x0, newValue=0x1,
expectedValue=0x0, _q_value=std::atomic<QMutexData *> = { 0x841f0f }) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308
#9  QBasicAtomicPointer<QMutexData>::testAndSetAcquire(QMutexData*,
QMutexData*) (newValue=0x1, expectedValue=0x0, this=0x7f3bcf0e26b8) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:264
#10 QBasicMutex::fastTryLock() (this=0x7f3bcf0e26b8) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:122
#11 QBasicMutex::lock() (this=0x7f3bcf0e26b8) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:83
#12 0x00007f3bcccef153 in QRecursiveMutexPrivate::lock(int) (timeout=-1,
this=0x7f3bcf0e26a0 <QQuickAnimatedImage::frameChanged()>) at
thread/qmutex.cpp:780
#13 QMutex::lock() (this=<optimized out>) at thread/qmutex.cpp:235
#14 0x00007f3bcce9992e in std::unique_lock<QMutex>::lock() (this=<synthetic
pointer>) at /usr/include/c++/13.2.1/bits/unique_lock.h:133
#15 std::unique_lock<QMutex>::unique_lock(QMutex&) (__m=..., this=<synthetic
pointer>, this=<optimized out>, __m=<optimized out>) at
/usr/include/c++/13.2.1/bits/unique_lock.h:71
#16 (anonymous namespace)::qt_unique_lock<QMutex> (mutex=...) at
../../include/QtCore/5.15.10/QtCore/private/../../../../../src/corelib/thread/qlocking_p.h:106
#17 QCoreApplicationPrivate::lockThreadPostEventList(QObject*)
(object=object at entry=0x5649c659c3b0) at kernel/qcoreapplication.cpp:1500
#18 0x00007f3bcce99a22 in QCoreApplication::postEvent(QObject*, QEvent*, int)
(receiver=0x5649c659c3b0, event=0x5649c6a25a80, priority=0) at
kernel/qcoreapplication.cpp:1546
#19 0x00007f3bcf0e79d9 in QQuickAnimatedImage::~QQuickAnimatedImage()
(this=0x5649c6aea080, this=<optimized out>) at
/usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickanimatedimage.cpp:151
#20 0x00007f3bcf1b99aa in
QQmlPrivate::QQmlElement<QQuickAnimatedImage>::~QQmlElement()
(this=0x5649c6aea080, this=<optimized out>) at
../../include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:144
#21 QQmlPrivate::QQmlElement<QQuickAnimatedImage>::~QQmlElement()
(this=0x5649c6aea080, this=<optimized out>) at
../../include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:144
#22 0x00007f3bccec73bd in QObjectPrivate::deleteChildren()
(this=this at entry=0x5649c6ae9e00) at kernel/qobject.cpp:2137
#23 0x00007f3bccec7b39 in QObject::~QObject() (this=<optimized out>,
this=<optimized out>) at kernel/qobject.cpp:1115
#24 0x00007f3bcf1b87db in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement()
(this=0x5649c6ae9d40, this=<optimized out>) at
../../include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:144
#25 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x5649c6ae9d40,
this=<optimized out>) at
../../include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:144
#26 0x00007f3bccec73bd in QObjectPrivate::deleteChildren()
(this=this at entry=0x5649c547ac30) at kernel/qobject.cpp:2137
#27 0x00007f3bccec7b39 in QObject::~QObject() (this=<optimized out>,
this=<optimized out>) at kernel/qobject.cpp:1115
#28 0x00005649c4a9d4ee in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/tokodon/tokodon-23.08.0/src/main.cpp:260
[Inferior 1 (process 582194) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list