Bug 466476

Summary: NeoChat crashes when trying to log out of account
Product: [Applications] NeoChat Reporter: Neal Gompa <ngompa>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: crash CC: carl, james.h.graham
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Neal Gompa 2023-02-26 15:15:45 UTC
Application: neochat (23.01)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.2.0-63.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma Prerelease)
DrKonqi: 5.27.1 [KCrashBackend]

-- Information about the crash:
I was trying to log out of my account to see if I can get encryption to work properly, but clicking the logout button caused NeoChat to crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: NeoChat (neochat), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8ee42dd812 in Quotient::Connection::accountData(QString const&) const () from /lib64/libQuotient.so.0.7
#5  0x00007f8ee42dd8aa in Quotient::Connection::accountDataJson(QString const&) const () from /lib64/libQuotient.so.0.7
#6  0x00005640275485f3 in NotificationsManager::updateNotificationRules(QString const&) [clone .part.0] ()
#7  0x0000564027549bf0 in QtPrivate::QFunctorSlotObject<NotificationsManager::NotificationsManager(QObject*)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#8  0x00007f8ee28e7f51 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00005640274b0490 in Controller::setActiveConnection(Quotient::Connection*) ()
#10 0x00005640274b4c86 in Controller::logout(Quotient::Connection*, bool) ()
#11 0x0000564027499b72 in Controller::qt_metacall(QMetaObject::Call, int, void**) ()
#12 0x00007f8ee46f214a in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#13 0x00007f8ee45c50f3 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#14 0x00007f8ee45c6eea in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#15 0x00007f8ee45e49ec in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#16 0x00007f8ee45e820f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#17 0x00007f8ee4578352 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#18 0x00007f8ee470ddb0 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#19 0x00007f8ee46bc2e1 in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#20 0x00007f8ee46bd560 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#21 0x00007f8ee46f1be7 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#22 0x00007f8ee28e7c20 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#23 0x00007f8ee1f18481 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#24 0x00007f8ee1f33721 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#25 0x00007f8ee4c9de28 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#26 0x00007f8ee35aece5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#27 0x00007f8ee28b3648 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#28 0x00007f8ee4cb99a6 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#29 0x00007f8ee4cbb133 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#30 0x00007f8ee2d76cc5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#31 0x00007f8ee35aece5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007f8ee28b3648 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f8ee2d6b34b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#34 0x00007f8ee2d4990c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#35 0x00007f8ee0671234 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#36 0x00007f8ee18c07f8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#37 0x00007f8ee191ef38 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#38 0x00007f8ee18be183 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#39 0x00007f8ee2906229 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#40 0x00007f8ee28b201b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007f8ee28ba29b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#42 0x000056402740f5bd in main ()
[Inferior 1 (process 2949) detached]

Reported using DrKonqi
Comment 1 James Graham 2023-02-26 16:13:31 UTC
Already fixed on master https://invent.kde.org/network/neochat/-/merge_requests/787