Bug 465056 - Tokodon crash when opening "conversation"
Summary: Tokodon crash when opening "conversation"
Status: RESOLVED WORKSFORME
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 23.01.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-30 20:53 UTC by Rory
Modified: 2023-03-19 03:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.63 KB, text/plain)
2023-02-17 14:00 UTC, Andrew Nitrogenesis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rory 2023-01-30 20:53:49 UTC
Application: tokodon (23.01.0)

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

-- Information about the crash:
Each time I select the Conversation tab, tokodon crashed before it loads. Specific conversations can be accesed through "notification" without a crash. Server is running  Mastodon v4.0.2

The crash can be reproduced every time.

-- Backtrace:
Application: Tokodon (tokodon), signal: Segmentation fault

[KCrash Handler]
#4  0x000055b44498260b in ConversationModel::data(QModelIndex const&, int) const ()
#5  0x00007f7b52f6d980 in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5QmlModels.so.5
#6  0x00007f7b535bea66 in loadProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const&) () from /lib64/libQt5Qml.so.5
#7  0x00007f7b535bfb2c in QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () from /lib64/libQt5Qml.so.5
#8  0x00007f7b535df67a in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#9  0x00007f7b535e4077 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#10 0x00007f7b53575586 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#11 0x00007f7b537043b1 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#12 0x00007f7b5370a808 in QQmlBinding::evaluate(bool*) () from /lib64/libQt5Qml.so.5
#13 0x00007f7b5370eb17 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /lib64/libQt5Qml.so.5
#14 0x00007f7b5370c5b4 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#15 0x00007f7b53719d3b in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /lib64/libQt5Qml.so.5
#16 0x00007f7b536af1c2 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /lib64/libQt5Qml.so.5
#17 0x00007f7b536af645 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () from /lib64/libQt5Qml.so.5
#18 0x00007f7b52f8174f in QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int, QQmlIncubator::IncubationMode) () from /lib64/libQt5QmlModels.so.5
#19 0x00007f7b53d58744 in QQuickItemViewPrivate::createItem(int, QQmlIncubator::IncubationMode) () from /lib64/libQt5Quick.so.5
#20 0x00007f7b53d68361 in QQuickListViewPrivate::addVisibleItems(double, double, double, double, bool) () from /lib64/libQt5Quick.so.5
#21 0x00007f7b53d56f2b in QQuickItemViewPrivate::refill(double, double) () from /lib64/libQt5Quick.so.5
#22 0x00007f7b53d5b479 in QQuickItemViewPrivate::regenerate(bool) [clone .part.0] () from /lib64/libQt5Quick.so.5
#23 0x00007f7b53d5b79a in QQuickItemView::modelUpdated(QQmlChangeSet const&, bool) () from /lib64/libQt5Quick.so.5
#24 0x00007f7b51cdbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#25 0x00007f7b52f5474a in QQmlInstanceModel::modelUpdated(QQmlChangeSet const&, bool) () from /lib64/libQt5QmlModels.so.5
#26 0x00007f7b52f752cc in non-virtual thunk to QQmlDelegateModelPrivate::emitModelUpdated(QQmlChangeSet const&, bool) () from /lib64/libQt5QmlModels.so.5
#27 0x00007f7b52f7b8c3 in QQmlDelegateModelGroupPrivate::emitModelUpdated(bool) () from /lib64/libQt5QmlModels.so.5
#28 0x00007f7b52f7bcc8 in QQmlDelegateModelPrivate::emitChanges() () from /lib64/libQt5QmlModels.so.5
#29 0x00007f7b52f87402 in QQmlDelegateModel::_q_modelReset() () from /lib64/libQt5QmlModels.so.5
#30 0x00007f7b52f8802b in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libQt5QmlModels.so.5
#31 0x00007f7b51cdbafe in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#32 0x00007f7b51c59081 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () from /lib64/libQt5Core.so.5
#33 0x000055b444983408 in ConversationModel::fetchConversation(AbstractAccount*)::{lambda(QNetworkReply*)#1}::operator()(QNetworkReply*) const ()
#34 0x000055b44496aab9 in QtPrivate::QFunctorSlotObject<Account::handleReply(QNetworkReply*, std::function<void (QNetworkReply*)>) const::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] ()
#35 0x00007f7b51cdbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#36 0x00007f7b53196df8 in QNetworkReplyHttpImplPrivate::finished() () from /lib64/libQt5Network.so.5
#37 0x00007f7b51cd2ec4 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#38 0x00007f7b529aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007f7b51ca8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#40 0x00007f7b51cab5e4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#41 0x00007f7b51cf9897 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#42 0x00007f7b501e5faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#43 0x00007f7b5023b2c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#44 0x00007f7b501e3940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007f7b51cf938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#46 0x00007f7b51ca6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#47 0x00007f7b51caed92 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#48 0x000055b444956300 in main ()
[Inferior 1 (process 14340) detached]

Reported using DrKonqi
Comment 1 Joshua Goins 2023-02-03 22:45:50 UTC
I can't seem to reproduce this on v23.01.0 or git, could you try building it from source? If you can't for whatever reason, we have a new release within the next week or two.
Comment 2 Carl Schwan 2023-02-17 12:38:20 UTC
We need a backtrace with debug symbols, I also can't reproduce and don't see that could cause this bug :(
Comment 3 Andrew Nitrogenesis 2023-02-17 14:00:35 UTC
Created attachment 156369 [details]
New crash information added by DrKonqi

tokodon (23.01.0) using Qt 5.15.8

Plasma 5.27.0, Arch Linux, Tokodon 23.01.0

Tokodon crashes when trying to open tab "Conversations" on an instance that doesn't support them (in my case social.linux.pizza).

How I think that might be fixed:
Check if instance supports Conversations and show/hide tab when does/doesn't

-- Backtrace (Reduced):
#8  0x00007fcb73d7463d in QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () from /usr/lib/libQt5Qml.so.5
[...]
#11 0x00007fcb73d36c36 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /usr/lib/libQt5Qml.so.5
#12 0x00007fcb73e971ad in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /usr/lib/libQt5Qml.so.5
#13 0x00007fcb73e97729 in QQmlBinding::evaluate(bool*) () from /usr/lib/libQt5Qml.so.5
[...]
#15 0x00007fcb73e98f73 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
Comment 4 Bug Janitor Service 2023-03-04 03:45:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-03-19 03:45:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!