Bug 502638 - Neochat crashes when switching room
Summary: Neochat crashes when switching room
Status: RESOLVED WORKSFORME
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: James Graham
URL:
Keywords: drkonqi
: 502747 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-04-10 09:30 UTC by Nicolas Fella
Modified: 2025-06-13 03:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/161086/events/d4addc2eb7a74cd49a286a9e514aad74/


Attachments
New crash information added by DrKonqi (137.27 KB, text/plain)
2025-04-10 09:30 UTC, Nicolas Fella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2025-04-10 09:30:00 UTC
Application: neochat (25.07.70)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.14.0-63.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Prerelease)"
DrKonqi: 6.3.80 [CoredumpBackend]

-- Information about the crash:


The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00000000005c8272 in QCache<QString, MessageContentModel>::Value::~Value (this=0xf608800) at /home/nico/kde/usr/include/QtCore/qcache.h:35
#6  QCache<QString, MessageContentModel>::Node::~Node (this=0xf6087d8) at /home/nico/kde/usr/include/QtCore/qcache.h:48
#7  QHashPrivate::Span<QCache<QString, MessageContentModel>::Node>::erase (this=0xd13c6b8, bucket=39) at /home/nico/kde/usr/include/QtCore/qhash.h:300
#8  QHashPrivate::Data<QCache<QString, MessageContentModel>::Node>::erase (this=this@entry=0xb2f4a0 <ContentProvider::self()::instance+32>, bucket=...) at /home/nico/kde/usr/include/QtCore/qhash.h:744
#9  0x00000000005c4d9a in QCache<QString, MessageContentModel>::unlink (this=0xb2f490 <ContentProvider::self()::instance+16>, n=<optimized out>) at /home/nico/kde/usr/include/QtCore/qcache.h:106
#10 QCache<QString, MessageContentModel>::trim (this=0xb2f490 <ContentProvider::self()::instance+16>, m=<optimized out>) at /home/nico/kde/usr/include/QtCore/qcache.h:133
#11 QCache<QString, MessageContentModel>::insert (this=0xb2f490 <ContentProvider::self()::instance+16>, key=..., object=0x73c42f0, cost=1) at /home/nico/kde/usr/include/QtCore/qcache.h:191
#12 0x00000000005c5644 in ContentProvider::contentModelForEvent (this=this@entry=0xb2f480 <ContentProvider::self()::instance>, room=0x76ed220, event=event@entry=0x2f70f60, isReply=isReply@entry=false) at /home/nico/kde/src/neochat/src/contentprovider.cpp:54
#13 0x00000000005c0059 in MessageModel::data (this=0x2acb610, idx=<optimized out>, role=267) at /home/nico/kde/src/neochat/src/models/messagemodel.cpp:135
#14 0x00007f961da6bbed in QModelIndex::data (this=0x7ffda98798d0, arole=267) at /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qabstractitemmodel.h:518
#15 QConcatenateTablesProxyModel::data (this=<optimized out>, index=<optimized out>, role=267) at /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:191
#16 0x00007f961da82d8a in QSortFilterProxyModel::data (this=this@entry=0x2a96ef0, index=..., role=267) at /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2222
#17 0x00000000005fadc3 in MessageFilterModel::data (this=0x2a96ef0, index=<optimized out>, role=<optimized out>) at /home/nico/kde/src/neochat/src/models/messagefiltermodel.cpp:97
#18 0x00007f96216970de in QModelIndex::data (this=0x7ffda9879a70, arole=267) at /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qabstractitemmodel.h:518
#19 QQmlDMAbstractItemModelData::value (this=0xcac6c70, role=267) at /home/nico/workspace/qt6/qtdeclarative/src/qmlmodels/qqmldmabstractitemmodeldata.cpp:229
#20 0x00007f9621697796 in QQmlDMAbstractItemModelData::metaCall (this=<optimized out>, call=<optimized out>, id=<optimized out>, arguments=0x7ffda9879bb0) at /home/nico/workspace/qt6/qtdeclarative/src/qmlmodels/qqmldmabstractitemmodeldata.cpp:30


Reported using DrKonqi
Comment 1 Nicolas Fella 2025-04-10 09:30:02 UTC
Created attachment 180146 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 James Graham 2025-05-10 14:27:45 UTC
*** Bug 502747 has been marked as a duplicate of this bug. ***
Comment 3 Joshua Goins 2025-05-14 21:31:57 UTC
Can you update NeoChat and see if we fixed this already? This looks like the same QCache crashes I ran into.
Comment 4 Bug Janitor Service 2025-05-29 03:59:37 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-06-13 03:48:21 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.