Bug 479671 - NeoChat crashes when accepting Invitation
Summary: NeoChat crashes when accepting Invitation
Status: RESOLVED DUPLICATE of bug 475502
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 23.08.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-11 22:55 UTC by Boba Fit
Modified: 2024-01-12 14:00 UTC (History)
1 user (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 Boba Fit 2024-01-11 22:55:17 UTC
Application: neochat (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.113.0
Operating System: Linux 6.6.10-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I accept an Invitation, that was already accepted on element.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: NeoChat (neochat), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f3314b298c8 in Quotient::Room::connection() const (this=this@entry=0x7f32bc2b4ad0) at /usr/src/debug/libquotient/libQuotient-0.8.1.2/Quotient/room.cpp:2840
#7  0x000055a36c8ede15 in NeoChatRoom::acceptInvitation() (this=0x7f32bc2b4ad0) at /usr/src/debug/neochat/neochat-23.08.4/src/neochatroom.cpp:222
#8  0x000055a36c91d78f in operator() (__closure=0x55a379169d70) at /usr/src/debug/neochat/neochat-23.08.4/src/notificationsmanager.cpp:256
#9  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, NotificationsManager::postInviteNotification(NeoChatRoom*, const QString&, const QString&, const QImage&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#10 QtPrivate::Functor<NotificationsManager::postInviteNotification(NeoChatRoom*, const QString&, const QString&, const QImage&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#11 QtPrivate::QFunctorSlotObject<NotificationsManager::postInviteNotification(NeoChatRoom*, const QString&, const QString&, const QImage&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55a379169d60, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#12 0x00007f3312ad0e27 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc712b3dc0, r=<optimized out>, this=0x55a379169d60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false>(QObject*, int, void**) (sender=0x55a37a1fa580, signal_index=6, argv=0x7ffc712b3dc0) at kernel/qobject.cpp:3925
#14 0x00007f331524bac0 in KNotification::activate(unsigned int) (this=this@entry=0x55a37a1fa580, action=action@entry=1) at /usr/src/debug/knotifications5/knotifications-5.113.0/src/knotification.cpp:334
#15 0x00007f331524e7fa in KNotificationManager::notificationActivated(int, int) (this=0x7f3315283040 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, id=<optimized out>, action=1) at /usr/src/debug/knotifications5/knotifications-5.113.0/src/knotificationmanager.cpp:240
#16 0x00007f3312ad0e27 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc712b3fb0, r=<optimized out>, this=0x55a37965bf60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false>(QObject*, int, void**) (sender=0x55a3796d31e0, signal_index=4, argv=0x7ffc712b3fb0) at kernel/qobject.cpp:3925
#18 0x00007f33152544dd in KNotificationPlugin::actionInvoked(int, int) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/debug/knotifications5/build/src/KF5Notifications_autogen/include/moc_knotificationplugin.cpp:180
#19 0x00007f3315264b90 in NotifyByPopup::onNotificationActionInvoked(unsigned int, QString const&) (this=0x55a3796d31e0, notificationId=<optimized out>, actionKey=...) at /usr/src/debug/knotifications5/knotifications-5.113.0/src/notifybypopup.cpp:132
#20 0x00007f3312ad0e27 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc712b41b0, r=<optimized out>, this=0x7f330801c350, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false>(QObject*, int, void**) (sender=0x55a3796d3218, signal_index=3, argv=0x7ffc712b41b0) at kernel/qobject.cpp:3925
#22 0x00007f331526d646 in OrgFreedesktopNotificationsInterface::ActionInvoked(unsigned int, QString const&) (_t2=<optimized out>, _t1=<optimized out>, this=<optimized out>) at /usr/src/debug/knotifications5/build/src/notifications_interface.moc:273
#23 OrgFreedesktopNotificationsInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x55a3796d3218, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffc712b4300) at /usr/src/debug/knotifications5/build/src/notifications_interface.moc:146
#24 0x00007f331526e133 in OrgFreedesktopNotificationsInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x55a3796d3218, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffc712b4300) at /usr/src/debug/knotifications5/build/src/notifications_interface.moc:242
#25 0x00007f3313e2a76e in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusintegrator.cpp:1001
#26 0x00007f3312ac3964 in QObject::event(QEvent*) (this=0x55a3796d3218, e=0x7f3308002210) at kernel/qobject.cpp:1347
#27 0x00007f33137788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55a3796d3218, e=0x7f3308002210) at kernel/qapplication.cpp:3640
#28 0x00007f3312a9bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55a3796d3218, event=0x7f3308002210) at kernel/qcoreapplication.cpp:1064
#29 0x00007f3312aa0e5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55a36e40a580) at kernel/qcoreapplication.cpp:1821
#30 0x00007f3312ae6ec8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55a36e4defd0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f3311f8cf69 in g_main_dispatch (context=0x7f3308000ec0) at ../glib/glib/gmain.c:3476
#32 0x00007f3311feb367 in g_main_context_dispatch_unlocked (context=0x7f3308000ec0) at ../glib/glib/gmain.c:4284
#33 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f3308000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#34 0x00007f3311f8b162 in g_main_context_iteration (context=0x7f3308000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#35 0x00007f3312aead0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55a36e4e6bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f3312a9ac04 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc712b47d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007f3312a9c0a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x00007f3312f3bf12 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#39 0x00007f3313776cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#40 0x000055a36c7d7c65 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/neochat/neochat-23.08.4/src/main.cpp:355
[Inferior 1 (process 19054) detached]

The reporter indicates this bug may be a duplicate of or related to bug 467327.

Reported using DrKonqi
Comment 1 Tobias Fella 2024-01-12 14:00:33 UTC
*** This bug has been marked as a duplicate of bug 475502 ***