Bug 430962 - Discover crashed when trying to send usage statistics
Summary: Discover crashed when trying to send usage statistics
Status: RESOLVED DUPLICATE of bug 426602
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.75.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-12-29 22:56 UTC by redhat.8h5ab
Modified: 2021-06-29 10:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description redhat.8h5ab 2020-12-29 22:56:31 UTC
Application: plasma-discover (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.75.0
Operating System: Linux 5.9.16-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:

A small popup appeared asking me if I wanted to participate by sending usage statistics. I slided the slider all the way to the right (send everything). That is when Discover crashed and I got a dialog prompting me if I wanted to report the bug.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1e27090edb in QShortcutMap::removeShortcut(int, QObject*, QKeySequence const&) () from /lib64/libQt5Gui.so.5
#5  0x00007f1e2810dc05 in QQuickShortcut::~QQuickShortcut() () from /lib64/libQt5Quick.so.5
#6  0x00007f1e28349b17 in QQmlPrivate::QQmlElement<QQuickShortcut>::~QQmlElement() [clone .lto_priv.0] () from /lib64/libQt5Quick.so.5
#7  0x00007f1e267ae93a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#8  0x00007f1e267b42ef in QObject::~QObject() () from /lib64/libQt5Core.so.5
#9  0x00007f1e10a18162 in QQmlPrivate::QQmlElement<QQuickButton>::~QQmlElement() () from /usr/lib64/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#10 0x00007f1e267ae93a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#11 0x00007f1e267b42ef in QObject::~QObject() () from /lib64/libQt5Core.so.5
#12 0x00007f1e2834ab90 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() [clone .lto_priv.0] () from /lib64/libQt5Quick.so.5
#13 0x00007f1e267ae93a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#14 0x00007f1e267b42ef in QObject::~QObject() () from /lib64/libQt5Core.so.5
#15 0x00007f1e110de12e in QQmlPrivate::QQmlElement<QQuickGridLayout>::~QQmlElement() () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#16 0x00007f1e267ae93a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#17 0x00007f1e267b42ef in QObject::~QObject() () from /lib64/libQt5Core.so.5
#18 0x00007f1e28348e29 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() [clone .lto_priv.0] () from /lib64/libQt5Quick.so.5
#19 0x00007f1e267ae93a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#20 0x00007f1e267b42ef in QObject::~QObject() () from /lib64/libQt5Core.so.5
#21 0x00007f1e10a17d42 in QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlElement() () from /usr/lib64/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#22 0x00007f1e10e4c4fe in (anonymous namespace)::Q_QGS_s_delegateCache::innerFunction()::Holder::~Holder() () from /usr/lib64/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
#23 0x00007f1e26190237 in __run_exit_handlers () from /lib64/libc.so.6
#24 0x00007f1e261903e0 in exit () from /lib64/libc.so.6
#25 0x00007f1e261781e9 in __libc_start_main () from /lib64/libc.so.6
#26 0x000055ac622300fe in _start ()
[Inferior 1 (process 6409) detached]

Possible duplicates by query: bug 430842, bug 427821, bug 426732, bug 426602, bug 419648.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-05 02:07:57 UTC
Gross, the crash is super deep, but does ultimately have something in Kirigami:

#22 0x00007f1e10e4c4fe in (anonymous namespace)::Q_QGS_s_delegateCache::innerFunction()::Holder::~Holder() () from /usr/lib64/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
Comment 2 Marco Martin 2021-03-10 16:37:33 UTC
hmm, delegateCache may suggest DelegateRecycler, but we don't have any Holder class.
Comment 3 Aleix Pol 2021-03-10 22:42:49 UTC
Holder is in Qt.

I imagine it's the one here: qtbase/corelib/global/qglobalstatic.h:86

    struct Holder {
        QtPrivate::QSlotObjectBase *obj;
        ~Holder() { obj->destroyIfLastRef(); }
    } holder = { slot };
    Q_UNUSED(holder);
Comment 4 David Redondo 2021-06-29 10:24:30 UTC

*** This bug has been marked as a duplicate of bug 426602 ***