Bug 502638 - Neochat crashes when switching room
Summary: Neochat crashes when switching room
Status: REPORTED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: James Graham
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-04-10 09:30 UTC by Nicolas Fella
Modified: 2025-04-10 12:50 UTC (History)
2 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.