Bug 466980

Summary: Neochat crashes when closing main window
Product: [Applications] NeoChat Reporter: Alexander Wilms <f.alexander.wilms>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED WORKSFORME    
Severity: crash CC: carl
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Wilms 2023-03-06 22:59:09 UTC
Application: neochat (23.01)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.2.1-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
Neochat was working fine but crashed when clicking the close button in the window decoration.

Something unusual, which might be unrelated: The main window fails to show the list of rooms and the chat history when I log into KDE. kwallet asks for my passwort but when I enter it, Neochat keeps showing a loading bar. I can only start Neochat by running it from the console. I'll add that to the "see also" section once I've reported that issue as well.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: NeoChat (neochat), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000000 in  ()
#5  0x00007ffb58e6e477 in  () at /lib64/libQt5Quick.so.5
#6  0x00007ffb58e6e4e9 in  () at /lib64/libQt5Quick.so.5
#7  0x00007ffb58ff0512 in QAccessibleQuickItem::role() const () at /lib64/libQt5Quick.so.5
#8  0x00007ffb51f7a131 in  () at /lib64/libQt5XcbQpa.so.5
#9  0x00007ffb51f7cf44 in  () at /lib64/libQt5XcbQpa.so.5
#10 0x00007ffb51f7e7c1 in  () at /lib64/libQt5XcbQpa.so.5
#11 0x00007ffb58e7c0b3 in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib64/libQt5Quick.so.5
#12 0x00007ffb58e8361d in QQuickItem::setParentItem(QQuickItem*) () at /lib64/libQt5Quick.so.5
#13 0x00007ffb58e83b2d in QQuickItem::~QQuickItem() () at /lib64/libQt5Quick.so.5
#14 0x00007ffb2bf3832d in QQuickItemDelegate::~QQuickItemDelegate() (this=0x55eee391dcc0, this=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.8/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickitemdelegate_p.h:57
#15 QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlElement() (this=0x55eee391dcc0, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#16 QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlElement() (this=0x55eee391dcc0, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#17 0x00007ffb573c27ac in QQmlDelegateModel::~QQmlDelegateModel() () at /lib64/libQt5QmlModels.so.5
#18 0x00007ffb573c2969 in QQmlDelegateModel::~QQmlDelegateModel() () at /lib64/libQt5QmlModels.so.5
#19 0x00007ffb58f3f49d in QQuickItemView::~QQuickItemView() () at /lib64/libQt5Quick.so.5
#20 0x00007ffb58fff9a5 in  () at /lib64/libQt5Quick.so.5
#21 0x00007ffb5690589e in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#22 0x00007ffb56911664 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#23 0x00007ffb3c0e0400 in  () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#24 0x00007ffb5690589e in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#25 0x00007ffb56911664 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#26 0x00007ffb2bf392ed in QQuickToolBar::~QQuickToolBar() (this=0x55eee3659e90, this=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.8/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquicktoolbar_p.h:57
#27 QQmlPrivate::QQmlElement<QQuickToolBar>::~QQmlElement() (this=0x55eee3659e90, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#28 QQmlPrivate::QQmlElement<QQuickToolBar>::~QQmlElement() (this=0x55eee3659e90, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#29 0x00007ffb5690589e in QObjectPrivate::deleteChildren() () at /lib64/libQt5Core.so.5
#30 0x00007ffb56911664 in QObject::~QObject() () at /lib64/libQt5Core.so.5
#31 0x00007ffb2bf3b075 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() (this=0x55eee36cd260, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#32 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() (this=0x55eee36cd260, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#33 0x00007ffb587b65dd in QV4::QObjectWrapper::destroyObject(bool) () at /lib64/libQt5Qml.so.5
#34 0x00007ffb586c49e9 in QV4::MemoryManager::sweep(bool, void (*)(char const*)) () at /lib64/libQt5Qml.so.5
#35 0x00007ffb586c4b35 in QV4::MemoryManager::~MemoryManager() () at /lib64/libQt5Qml.so.5
#36 0x00007ffb5873e824 in QV4::ExecutionEngine::~ExecutionEngine() () at /lib64/libQt5Qml.so.5
#37 0x00007ffb5872913d in QJSEngine::~QJSEngine() () at /lib64/libQt5Qml.so.5
#38 0x000055eee0c0c7e4 in main ()
[Inferior 1 (process 28220) detached]

Reported using DrKonqi
Comment 1 Tobias Fella 2023-03-06 23:03:57 UTC
please delete ~/.cache/KDE/neochat and try again
Comment 2 Alexander Wilms 2023-03-06 23:40:52 UTC
The bug rarely occurred, so I'll add another comment if it crashes when closing again.

So far it didn't crash after deleting ~/.cache/KDE/neochat
Comment 3 Bug Janitor Service 2023-03-21 03:45:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-04-05 03:45:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!