Bug 487841 - Randome crash
Summary: Randome crash
Status: RESOLVED UPSTREAM
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-31 16:12 UTC by Carl Schwan
Modified: 2025-05-15 18:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Schwan 2024-05-31 16:12:42 UTC
Storing the backtrace for now, I'll investigate it later

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fc26a6ae8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fc26a65c8ee in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fc26feee174 in KCrash::defaultCrashHandler (sig=6) at /home/carl/kde6/src/kcrash/src/kcrash.cpp:593
#4  0x00007fc26a65c9a0 in <signal handler called> () at /lib64/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007fc26a6ae8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007fc26a65c8ee in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fc26a6448ff in __GI_abort () at abort.c:79
#9  0x00007fc26acc2123 in qAbort () at /home/carl/kde6/src/qtbase/src/corelib/global/qassert.cpp:49
#10 0x00007fc26ad0d36a in qt_message_fatal<QString&> (message=Python Exception <class 'gdb.error'>: Invalid reinterpret_cast
, context=<optimized out>) at /home/carl/kde6/src/qtbase/src/corelib/global/qlogging.cpp:2085
#11 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *)
    (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7fc26b0b2078 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffe8d450688) at /home/carl/kde6/src/qtbase/src/corelib/global/qlogging.cpp:380
#12 0x00007fc26acc323e in QMessageLogger::fatal (this=this@entry=0x7ffe8d4508c8, msg=msg@entry=0x7fc26b0b2078 "ASSERT: \"%s\" in file %s, line %d") at /home/carl/kde6/src/qtbase/src/corelib/global/qlogging.cpp:880
#13 0x00007fc26acc2180 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at /home/carl/kde6/src/qtbase/src/corelib/global/qassert.cpp:105
#14 0x00007fc26e8b2b55 in Quotient::EventStats::updateOnMarkerMove (this=0x6d10560, room=0x6d10340, oldMarker=..., newMarker=...) at /home/carl/kde6/src/libquotient/Quotient/eventstats.cpp:61
#15 0x00007fc26e839a77 in Quotient::Room::Private::setLocalLastReadReceipt (this=0x6d103f0, newMarker=..., newReceipt=..., deferStatsUpdate=false) at /home/carl/kde6/src/libquotient/Quotient/room.cpp:786
#16 0x00007fc26e83ae32 in Quotient::Room::Private::setFullyReadMarker (this=0x6d103f0, eventId=Python Exception <class 'gdb.error'>: Invalid reinterpret_cast
) at /home/carl/kde6/src/libquotient/Quotient/room.cpp:909
#17 0x00007fc26e83a1d0 in Quotient::Room::Private::updateStats (this=0x6d103f0, from=..., to=...) at /home/carl/kde6/src/libquotient/Quotient/room.cpp:823
#18 0x00007fc26e84d065 in Quotient::Room::Private::addNewMessageEvents (this=0x6d103f0, events=...) at /home/carl/kde6/src/libquotient/Quotient/room.cpp:3008
#19 0x00007fc26e84302c in Quotient::Room::updateData (this=0x6d10340, data=..., fromCache=false) at /home/carl/kde6/src/libquotient/Quotient/room.cpp:1953
#20 0x00007fc26e7c1416 in operator() (__closure=0xb23c5a0) at /home/carl/kde6/src/libquotient/Quotient/connection.cpp:553
#21 0x00007fc26e7d4267 in operator() (__closure=0x7ffe8d451ac0) at /home/carl/kde6/usr/include/QtCore/qobjectdefs_impl.h:142
#22 0x00007fc26e7d46a8 in QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Quotient::Connection::Private::consumeRoomData(Quotient::SyncDataList&&, bool)::<lambda()> >::call(Quotient::Connection::Private::consumeRoomData(Quotient::SyncDataList&&, bool)::<lambda()>&, void**)::<lambda()> >(void **, struct {...} &&) (args=0x7fc24004a9a8, fn=...)
    at /home/carl/kde6/usr/include/QtCore/qobjectdefs_impl.h:72
#23 0x00007fc26e7d429d in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Quotient::Connection::Private::consumeRoomData(Quotient::SyncDataList&&, bool)::<lambda()> >::call(struct {...} &, void **)
    (f=..., arg=0x7fc24004a9a8) at /home/carl/kde6/usr/include/QtCore/qobjectdefs_impl.h:141
#24 0x00007fc26e7d3b33 in QtPrivate::FunctorCallable<Quotient::Connection::Private::consumeRoomData(Quotient::SyncDataList&&, bool)::<lambda()> >::call<QtPrivate::List<>, void>(struct {...} &, void *, void **)
    (f=..., arg=0x7fc24004a9a8) at /home/carl/kde6/usr/include/QtCore/qobjectdefs_impl.h:363
#25 0x00007fc26e7d2f56 in QtPrivate::QCallableObject<Quotient::Connection::Private::consumeRoomData(Quotient::SyncDataList&&, bool)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0xb23c590, r=0x6d10340, a=0x7fc24004a9a8, ret=0x0) at /home/carl/kde6/usr/include/QtCore/qobjectdefs_impl.h:573
#26 0x00007fc26ade40c1 in QObject::event (this=0x6d10340, e=0x7fc24004a960) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qobject.cpp:1419
#27 0x00007fc26c7a3095 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x6d10340, e=0x7fc24004a960) at /home/carl/kde6/src/qtbase/src/widgets/kernel/qapplication.cpp:3294
#28 0x00007fc26ad8ed58 in QCoreApplication::notifyInternal2 (receiver=0x6d10340, event=0x7fc24004a960) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1154
#29 0x00007fc26ad8ef6d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1598
#30 0x00007fc26ad92a13 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e135f0) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1953
#31 0x00007fc26ad9329c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1787
#32 0x00007fc26b0770a7 in postEventSourceDispatch (s=0x1f86890) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:245
#33 0x00007fc26ab11e5c in g_main_dispatch (context=0x7fc250000f20) at ../glib/gmain.c:3476
#34 g_main_context_dispatch_unlocked (context=0x7fc250000f20) at ../glib/gmain.c:4284
#35 0x00007fc26ab6cf18 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fc250000f20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#36 0x00007fc26ab0fad3 in g_main_context_iteration (context=0x7fc250000f20, may_block=1) at ../glib/gmain.c:4414
#37 0x00007fc26b0767f0 in QEventDispatcherGlib::processEvents (this=0x1e8d4f0, flags=...) at /home/carl/kde6/src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#38 0x00007fc26ad9b86a in QEventLoop::exec (this=this@entry=0x7ffe8d452050, flags=..., flags@entry=...) at /home/carl/kde6/src/qtbase/src/corelib/global/qflags.h:34
#39 0x00007fc26ad97282 in QCoreApplication::exec () at /home/carl/kde6/src/qtbase/src/corelib/global/qflags.h:74
#40 0x00000000004565dc in main (argc=1, argv=0x7ffe8d453038) at /home/carl/kde6/src/neochat/src/main.cpp:310
Comment 1 James Graham 2024-07-23 13:34:21 UTC
Unfortunately I don't think there is anything actionable for us it may even be a quotient issue if you can find it again maybe we can get something we can work with
Comment 2 Tobias Fella 2024-07-28 12:37:02 UTC
I rarely get these crashes as well. I think the problem is in libquotient
Comment 3 Joshua Goins 2025-05-15 18:18:53 UTC
Closing as this is probably related to https://github.com/quotient-im/libQuotient/issues/867 (the BT points to read marker error)