Bug 476797

Summary: Tokodon crashes on closing
Product: [Applications] Tokodon Reporter: Jonas Groß <gross.jonas>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: carl, JohnMS, josh
Priority: NOR Keywords: drkonqi
Version: 23.08.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 24.02
Sentry Crash Report:

Description Jonas Groß 2023-11-10 15:25:54 UTC
Application: tokodon (23.08.2)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.5.9-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
probably because of bizmuth ... seems like some position value is off

The crash can be reproduced sometimes.

-- Backtrace:
Application: Tokodon (tokodon), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd7c66f0281 in QCoreApplication::postEvent(QObject*, QEvent*, int) (receiver=0x5614ee69c0e0, event=0x5614eba91780, priority=<optimized out>) at kernel/qcoreapplication.cpp:1600
#5  0x00007fd7c6716c41 in QObject::deleteLater() (this=<optimized out>) at kernel/qobject.cpp:2340
#6  0x00007fd7c8b32384 in QQuickAnimatedImage::~QQuickAnimatedImage() (this=this@entry=0x5614eddbbfd0, __in_chrg=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.11+kde30/src/quick/items/qquickanimatedimage.cpp:151
#7  0x00007fd7c8c079a5 in QQmlPrivate::QQmlElement<QQuickAnimatedImage>::~QQmlElement() (this=0x5614eddbbfd0, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#8  QQmlPrivate::QQmlElement<QQuickAnimatedImage>::~QQmlElement() (this=0x5614eddbbfd0, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#9  0x00007fd7c6716aee in QObjectPrivate::deleteChildren() (this=this@entry=0x5614ed6b6050) at kernel/qobject.cpp:2137
#10 0x00007fd7c6722de4 in QObject::~QObject() (this=this@entry=0x5614ec86f9d0, __in_chrg=<optimized out>) at kernel/qobject.cpp:1115
#11 0x00007fd7c8a86602 in QQuickItem::~QQuickItem() (this=this@entry=0x5614ec86f9d0, __in_chrg=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.11+kde30/src/quick/items/qquickitem.cpp:2389
#12 0x00007fd7c8c07c45 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x5614ec86f9d0, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#13 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x5614ec86f9d0, __in_chrg=<optimized out>) at ../../include/QtQml/../../../src/qml/qml/qqmlprivate.h:144
#14 0x00007fd7c6716aee in QObjectPrivate::deleteChildren() (this=this@entry=0x5614eb6ca910) at kernel/qobject.cpp:2137
#15 0x00007fd7c6722de4 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1115
#16 0x00005614eb11b93f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/tokodon-23.08.2/src/main.cpp:260
[Inferior 1 (process 21729) detached]

Reported using DrKonqi
Comment 1 Joshua Goins 2023-11-11 03:28:16 UTC
Can't remember if a bug was filed before, but it's unfixable unfortunately. This is a Qt5 bug that's a big pain, and it's "fixed" when we transition to Qt6 in February. You can avoid this crash by not opening fullscreen images, which isn't a great solution but that's all I say for now :(
Comment 2 Joshua Goins 2024-02-07 19:48:03 UTC
*** Bug 479903 has been marked as a duplicate of this bug. ***