Bug 465224 - Crash after leaving a room and going to another
Summary: Crash after leaving a room and going to another
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-02-03 12:16 UTC by Jonathan Wakely
Modified: 2023-02-04 11:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Wakely 2023-02-03 12:16:34 UTC
Application: neochat (22.11)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.1.5-100.fc36.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
After right-clicking and selecting "Leave Room" on a room, when I click on another room to read the messages there, NeoChat crashes.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fb97e6d5e42 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /lib64/libQt5Core.so.5
#6  0x0000557a3ad1f4f7 in UserListModel::setRoom(NeoChatRoom*) [clone .part.0] ()
#7  0x00007fb97e6dbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x0000557a3ad22651 in QtPrivate::QFunctorSlotObject<ChatDocumentHandler::ChatDocumentHandler(QObject*)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] ()
#9  0x00007fb97e6dbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x0000557a3ad03773 in RoomManager::enterRoom(NeoChatRoom*) ()
#11 0x0000557a3ac9454b in RoomManager::qt_metacall(QMetaObject::Call, int, void**) ()
#12 0x00007fb9806e9933 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#13 0x00007fb9805c1a09 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#14 0x00007fb9805c3910 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#15 0x00007fb9805e090d in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#16 0x00007fb9805e4077 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#17 0x00007fb980575586 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#18 0x00007fb9807043b1 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#19 0x00007fb9806b4d3f in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#20 0x00007fb9806b64c8 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#21 0x00007fb9806e93ff in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#22 0x00007fb97e6db900 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#23 0x00007fb97e2ef6d6 in QQuickAction::triggered(QObject*) () from /lib64/libQt5QuickTemplates2.so.5
#24 0x00007fb97e2f1ebe in QQuickActionPrivate::trigger(QObject*, bool) () from /lib64/libQt5QuickTemplates2.so.5
#25 0x00007fb97e2f82eb in QQuickAction::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libQt5QuickTemplates2.so.5
#26 0x00007fb9806e9933 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#27 0x00007fb9805c057d in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#28 0x00007fb9805c3910 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#29 0x00007fb9805e090d in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#30 0x00007fb9805e4077 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#31 0x00007fb980575586 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#32 0x00007fb9807043b1 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#33 0x00007fb9806b4d3f in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#34 0x00007fb9806b64c8 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#35 0x00007fb9806e93ff in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#36 0x00007fb97e6db900 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#37 0x00007fb97e2f50b1 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#38 0x00007fb97e30f9e9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#39 0x00007fb980c96d68 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#40 0x00007fb97f3aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#41 0x00007fb97e6a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#42 0x00007fb980cb1e2e in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#43 0x00007fb980cb34e1 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#44 0x00007fb97eb764f5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#45 0x00007fb97f3aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#46 0x00007fb97e6a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#47 0x00007fb97eb6ae7d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#48 0x00007fb97eb4a02c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#49 0x00007fb96c7178de in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#50 0x00007fb97db18faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#51 0x00007fb97db6e2c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#52 0x00007fb97db16940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#53 0x00007fb97e6f938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#54 0x00007fb97e6a6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#55 0x00007fb97e6aed92 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#56 0x0000557a3ac144bb in main ()
[Inferior 1 (process 2731574) detached]

The reporter indicates this bug may be a duplicate of or related to bug 358887, bug 361426, bug 368278, bug 373054, bug 390214, bug 376771, bug 390491, bug 391363, bug 401450.

Reported using DrKonqi
Comment 1 James Graham 2023-02-04 11:24:58 UTC
Thanks for the report, this is something we know about and a fix has been pushed to master and will be in the next release.

https://invent.kde.org/network/neochat/-/merge_requests/777