Bug 488272

Summary: Neochat crashes
Product: [Applications] NeoChat Reporter: Nicolas Fella <nicolas.fella>
Component: GeneralAssignee: James Graham <james.h.graham>
Status: RESOLVED FIXED    
Severity: crash CC: carl, kdedev, nate
Priority: NOR Keywords: drkonqi, regression
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Nicolas Fella 2024-06-09 21:38:42 UTC
Application: neochat (24.07.70)
 (Compiled from sources)
Qt Version: 6.8.0
Frameworks Version: 6.4.0
Operating System: Linux 6.8.11-300.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.1.80 [CoredumpBackend]

-- Information about the crash:
Doing nothing in particular

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QJsonPrivate::ObjectIterator<QtCbor::Element const, QList<QtCbor::Element>::const_iterator>::value_type::value_type (this=0x7fff5a05d800, ref=...) at /home/nico/workspace/qt6/qtbase/src/corelib/serialization/qjson_p.h:64
#9  indexOf<QLatin1String> (o=..., key=..., keyExists=keyExists@entry=0x7fff5a05d86f) at /home/nico/workspace/qt6/qtbase/src/corelib/serialization/qjsonobject.cpp:269
#10 0x00007f2a7e63e26b in QJsonObject::valueImpl<QLatin1String> (this=0x3188e68, key=...) at /home/nico/workspace/qt6/qtbase/src/corelib/serialization/qjsonobject.cpp:319
#11 QJsonObject::value (this=0x3188e68, key=...) at /home/nico/workspace/qt6/qtbase/src/corelib/serialization/qjsonobject.cpp:306
#12 0x00007f2a80f9b539 in QJsonObject::operator[] (this=<optimized out>, key=...) at /home/nico/kde/usr/include/QtCore/qjsonobject.h:61


Reported using DrKonqi
Comment 1 Nicolas Fella 2024-06-09 21:38:43 UTC
Created attachment 170302 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Tobias Fella 2024-06-10 16:29:04 UTC
*** Bug 488305 has been marked as a duplicate of this bug. ***
Comment 3 Tobias Fella 2024-06-10 16:29:57 UTC
apparently m_event in MessageContentModel is garbage