Bug 467016 - neochat crashed after selecting a channel
Summary: neochat crashed after selecting a channel
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-07 16:41 UTC by Craig Magina
Modified: 2023-03-08 18:58 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 Craig Magina 2023-03-07 16:41:26 UTC
Application: neochat (23.01)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.14-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
Logged into the fedora.im matrix server and was reading through channels when the application crashed after selecting another channel with unread messages. After restarting the application, a good number of my channels were no longer listed for my public account and I had to goto "Explore" and re-add them. Also, when I re-added the channel that triggered the crash, the unread circle was green colored. I have been using neochat for a bit with a private server account and I had just added my public account when this happened.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f6d95136f38 in Quotient::MxcReply::readData(char*, long long) () from /lib64/libQuotient.so.0.7
#5  0x00007f6d935ede25 in QIODevicePrivate::read(char*, long long, bool) () from /lib64/libQt5Core.so.5
#6  0x00007f6d935ee1d3 in QIODevicePrivate::peek(long long) () from /lib64/libQt5Core.so.5
#7  0x00007f6d935ef5fe in QIODevice::peek(long long) () from /lib64/libQt5Core.so.5
#8  0x00007f6d784ad9d9 in QAVIFHandler::canRead(QIODevice*) [clone .part.0] () from /usr/lib64/qt5/plugins/imageformats/kimg_avif.so
#9  0x00007f6d784adc8c in QAVIFPlugin::capabilities(QIODevice*, QByteArray const&) const () from /usr/lib64/qt5/plugins/imageformats/kimg_avif.so
#10 0x00007f6d93bc5047 in createReadHandlerHelper(QIODevice*, QByteArray const&, bool, bool) () from /lib64/libQt5Gui.so.5
#11 0x00007f6d93bc5f36 in QImageReaderPrivate::initHandler() () from /lib64/libQt5Gui.so.5
#12 0x00007f6d93bc7180 in QImageReader::imageCount() const () from /lib64/libQt5Gui.so.5
#13 0x00007f6d93bed282 in QMovie::frameCount() const () from /lib64/libQt5Gui.so.5
#14 0x00007f6d95b4125e in QQuickAnimatedImagePrivate::setMovie(QMovie*) () from /lib64/libQt5Quick.so.5
#15 0x00007f6d95b41c0c in QQuickAnimatedImage::movieRequestFinished() () from /lib64/libQt5Quick.so.5
#16 0x00007f6d936d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007f6d936c8134 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f6d943aed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f6d9369d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f6d936a0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#21 0x00007f6d936eeb07 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#22 0x00007f6d926bfc7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00007f6d92716118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#24 0x00007f6d926bcf00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007f6d936ee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f6d9369bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f6d936a4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#28 0x00005640f75727a5 in main ()
[Inferior 1 (process 4385) detached]

Reported using DrKonqi
Comment 1 Tobias Fella 2023-03-08 18:58:15 UTC
Fixed in https://github.com/quotient-im/libQuotient/pull/628