Bug 488066 - Neochat crashed after switching channels
Summary: Neochat crashed after switching channels
Status: CONFIRMED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: drkonqi, regression
: 489621 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-05 11:47 UTC by Akseli Lahtinen
Modified: 2024-07-28 14:35 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (110.73 KB, text/plain)
2024-06-05 11:47 UTC, Akseli Lahtinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akseli Lahtinen 2024-06-05 11:47:23 UTC
Application: neochat (24.07.70)
 (Compiled from sources)
Qt Version: 6.7.1
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:
I don't exactly remember what happened, but I think was switching between channels.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x00007f24d8641a91 in QArrayDataPointer<QtCbor::Element>::constEnd (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:127
#6  QList<QtCbor::Element>::constEnd (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/tools/qlist.h:619
#7  indexOf<QLatin1String> (o=..., key=..., keyExists=keyExists@entry=0x7ffdde3cea1f) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/serialization/qjsonobject.cpp:262
#8  0x00007f24d86425fb in QJsonObject::valueImpl<QLatin1String> (this=0x5b21508, key=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/serialization/qjsonobject.cpp:314
#9  QJsonObject::value (this=0x5b21508, key=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/serialization/qjsonobject.cpp:301


Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-06-05 11:47:24 UTC
Created attachment 170163 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Akseli Lahtinen 2024-06-05 11:47:58 UTC
Added this for searchability

Thread 1 (Thread 0x7f24d249dd40 (LWP 5697)):
[KCrash Handler]
#5  0x00007f24d8641a91 in QArrayDataPointer<QtCbor::Element>::constEnd (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:127
#6  QList<QtCbor::Element>::constEnd (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/tools/qlist.h:619
#7  indexOf<QLatin1String> (o=..., key=..., keyExists=keyExists@entry=0x7ffdde3cea1f) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/serialization/qjsonobject.cpp:262
#8  0x00007f24d86425fb in QJsonObject::valueImpl<QLatin1String> (this=0x5b21508, key=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/serialization/qjsonobject.cpp:314
#9  QJsonObject::value (this=0x5b21508, key=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/serialization/qjsonobject.cpp:301
#10 0x00007f24daf95db9 in QJsonObject::operator[] (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qjsonobject.h:61
#11 Quotient::RoomEvent::id (this=<optimized out>) at /home/akseli/Repositories/kde/src/libquotient/Quotient/events/roomevent.cpp:24
#12 0x00000000007224b2 in operator() (__closure=0x68f2310, serverEvent=<optimized out>) at /home/akseli/Repositories/kde/src/neochat/src/models/messagecontentmodel.cpp:78
#13 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Quotient::RoomEvent*>, void, MessageContentModel::initializeModel()::<lambda(Quotient::RoomEvent*)> >::call (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#14 QtPrivate::FunctorCallable<MessageContentModel::initializeModel()::<lambda(Quotient::RoomEvent*)>, Quotient::RoomEvent*>::call<QtPrivate::List<Quotient::RoomEvent*>, void> (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#15 QtPrivate::QCallableObject<MessageContentModel::initializeModel()::<lambda(Quotient::RoomEvent*)>, QtPrivate::List<Quotient::RoomEvent*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x68f2300, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#16 0x00007f24d85fa752 in QtPrivate::QSlotObjectBase::call (this=0x68f2300, r=<optimized out>, a=0x7ffdde3cec00) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#17 doActivate<false> (sender=0x39b42a0, signal_index=10, argv=0x7ffdde3cec00) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#18 0x00007f24d85f0b47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f24db07ab80, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffdde3cec00) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#19 0x00007f24daf3f959 in Quotient::Room::pendingEventAboutToMerge (this=<optimized out>, _t1=<optimized out>, _t1@entry=0x6dba340, _t2=<optimized out>, _t2@entry=0) at /home/akseli/Repositories/kde/build/libquotient/QuotientQt6_autogen/include/moc_room.cpp:2366
#20 0x00007f24daf6029d in Quotient::Room::Private::addNewMessageEvents (this=this@entry=0x39b4350, events=...) at /home/akseli/Repositories/kde/src/libquotient/Quotient/room.cpp:3106
#21 0x00007f24daf61d85 in Quotient::Room::Private::addNewMessageEvents (this=0x39b4350, events=...) at /usr/include/c++/14/bits/stl_iterator.h:1067
#22 Quotient::Room::updateData (this=0x39b42a0, data=..., fromCache=false) at /home/akseli/Repositories/kde/src/libquotient/Quotient/room.cpp:2078
#23 0x00007f24d85ebdeb in QObject::event (this=0x39b42a0, e=0x5021590) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:1452
#24 0x00007f24d9b8b168 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x39b42a0, e=0x5021590) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#25 0x00007f24d8595b18 in QCoreApplication::notifyInternal2 (receiver=0x39b42a0, event=0x5021590) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#26 0x00007f24d8595d7d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1575
#27 0x00007f24d85998c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x17a30a0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1932
#28 0x00007f24d8599b6d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1789
#29 0x00007f24d887d39f in postEventSourceDispatch (s=0x1915620) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#30 0x00007f24d5b0f6ac in g_main_dispatch (context=0x7f24bc000f00) at ../glib/gmain.c:3344
#31 g_main_context_dispatch_unlocked (context=0x7f24bc000f00) at ../glib/gmain.c:4152
#32 0x00007f24d5b70708 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f24bc000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#33 0x00007f24d5b10b23 in g_main_context_iteration (context=0x7f24bc000f00, may_block=1) at ../glib/gmain.c:4282
#34 0x00007f24d887cb53 in QEventDispatcherGlib::processEvents (this=0x17894d0, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#35 0x00007f24d85a2713 in QEventLoop::exec (this=this@entry=0x7ffdde3cf380, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/global/qflags.h:34
#36 0x00007f24d859e69c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/global/qflags.h:74
#37 0x00007f24d8fd53dd in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#38 0x00007f24d9b8b0d9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#39 0x000000000043a8d0 in main (argc=<optimized out>, argv=<optimized out>) at /home/akseli/Repositories/kde/src/neochat/src/main.cpp:310
Comment 3 Nate Graham 2024-06-24 16:58:39 UTC
I'm seeing this crash dozens of times a day with current git master.
Comment 4 Bug Janitor Service 2024-06-30 09:27:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1790
Comment 5 Tobias Fella 2024-07-02 17:14:05 UTC
*** Bug 489621 has been marked as a duplicate of this bug. ***