Bug 383964

Summary: Going online on Instant Messaging Widget crashes plasma
Product: [Unmaintained] telepathy Reporter: Bertoche <raphlydia>
Component: generalAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: Future   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: instant-messaging-toaster

Description Bertoche 2017-08-24 17:02:16 UTC
Application: plasmashell (5.10.4)

Qt Version: 5.9.1
Frameworks Version: 5.36.0
Operating System: Linux 4.7.4-2.g6a5bbb1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I had just gone offline and then logged in again trying to update the contact list.
I logged in clicking on a "Go Online" button on the toaster that appears after clicking on the instant messaging icon. I'll attach a screenshot.
It's been crashing every time I do that. It also crashes while logging in through other ways, though less consistently so. I'll attach another traceback if there's any changes on it.
Plasma shell panels go away for a few seconds and then get back running without furter issues; KDE and Plasma instant messaging features work as if nothing ever happened.

I've found a bunch of correlations between the stacks of some of the threads here and the ones at 348653, which is quite similar:
#0 read() at Thread 16 at 348653 <-> Thread 11 here
#0 poll() at Thread 15 at 348653 <->> Thread 4 here
#0 g_mutex_unlock at Thread 14 at 348653 <-> Thread 5 here, if g_main_context_prepare ≃ g_main_context_check
#0 g_mutex_unlock at Thread 35 at 348653 <-> Thread 6 here, if g_main_context_prepare ≃ g_main_context_check
#0 pthread_cond_wait at Thread 27,36  <-> Threads 14, 15 here

- Custom settings of the application:
I've got a bunch of widgets running, though not too many. I'm currenlty logged in to g66gle account.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa0bb460d80 (LWP 27624))]

Thread 15 (Thread 0x7f9fe2cab700 (LWP 28758)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0b517a04b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa0b8ee1958 in QSGRenderThread::processEventsAndWaitForMore() () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa0b8ee1d8a in QSGRenderThread::run() () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f9fd0c27700 (LWP 28357)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0b517a04b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa0b8ee1958 in QSGRenderThread::processEventsAndWaitForMore() () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa0b8ee1d8a in QSGRenderThread::run() () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f9fdf368700 (LWP 27980)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0b517a04b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa0b8ee1958 in QSGRenderThread::processEventsAndWaitForMore() () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa0b8ee1d8a in QSGRenderThread::run() () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f9fe08a4700 (LWP 27977)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0b517a04b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa0b8ee1958 in QSGRenderThread::processEventsAndWaitForMore() () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa0b8ee1d8a in QSGRenderThread::run() () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f9fe34ac700 (LWP 27973)):
#0  0x00007fa0b4a78efd in read () at /lib64/libc.so.6
#1  0x00007fa0afa3b840 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0af9f77fb in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0af9f7cc0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fa0af9f7e2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fa0b539b6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fa0b517431a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f9fe5d4df37 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f9fe88ba700 (LWP 27950)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0b517a04b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa0b8ee1958 in QSGRenderThread::processEventsAndWaitForMore() () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa0b8ee1d8a in QSGRenderThread::run() () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f9feba1d700 (LWP 27949)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0b517a04b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fa0b8ee1958 in QSGRenderThread::processEventsAndWaitForMore() () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fa0b8ee1d8a in QSGRenderThread::run() () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fa00df79700 (LWP 27938)):
#0  0x00007fa0b4a78efd in read () at /lib64/libc.so.6
#1  0x00007fa0afa3b840 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0af9f77fb in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0af9f7cc0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fa0af9f7e2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fa0b539b6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fa0b517431a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa0b8e66342 in QQuickPixmapReader::run() () at /usr/lib64/libQt5Quick.so.5
#9  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fa09329b700 (LWP 27921)):
#0  0x00007fa0b43465dd in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa0bab408e4 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fa0bab40929 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fa09aa42700 (LWP 27897)):
#0  0x00007fa0afa3cb94 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fa0af9f7e36 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0b539b6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa0b517431a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#7  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fa09d1cd700 (LWP 27896)):
#0  0x00007fa0afa3cb90 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fa0af9f71f2 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0af9f7c4b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0af9f7e2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fa0b539b6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa0b517431a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fa0b82bf705 in QQmlThreadPrivate::run() () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fa09ee1b700 (LWP 27735)):
#0  0x00007fa0b4a7d18d in poll () at /lib64/libc.so.6
#1  0x00007fa0af9f7d19 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0af9f7e2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0b539b6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b517431a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa0b82bf705 in QQmlThreadPrivate::run() () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fa0a0861700 (LWP 27636)):
#0  0x00007fa0b4a7d18d in poll () at /lib64/libc.so.6
#1  0x00007fa0af9f7d19 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0af9f7e2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa0b539b6ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b517431a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fa0b581ea45 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fa0a28d1700 (LWP 27634)):
#0  0x00007fa0b4a7d18d in poll () at /lib64/libc.so.6
#1  0x00007fa0b9a68387 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fa0b9a6a16a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fa0a506d4b9 in QXcbEventReader::run() () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fa0b5178d2e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fa0b43404d7 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fa0b4a86b2f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fa0bb460d80 (LWP 27624)):
[KCrash Handler]
#6  0x00007fa0b5c18bb9 in QPixmapCache::remove(QString const&) () at /usr/lib64/libQt5Gui.so.5
#7  0x00007f9fe11ec727 in KTp::Contact::invalidateAvatarCache() () at /usr/lib64/libKTpCommonInternals.so.9
#8  0x00007fa0b537325a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9fe0d2f915 in Tp::Contact::avatarTokenChanged(QString const&) () at /usr/lib64/libtelepathy-qt5.so.0
#10 0x00007f9fe0d319fd in  () at /usr/lib64/libtelepathy-qt5.so.0
#11 0x00007f9fe0d322ee in  () at /usr/lib64/libtelepathy-qt5.so.0
#12 0x00007f9fe0d3fc7a in  () at /usr/lib64/libtelepathy-qt5.so.0
#13 0x00007fa0b537325a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#14 0x00007f9fe0ceb253 in Tp::Client::ConnectionInterfaceAvatarsInterface::AvatarUpdated(unsigned int, QString const&) () at /usr/lib64/libtelepathy-qt5.so.0
#15 0x00007f9fe0cf71e7 in  () at /usr/lib64/libtelepathy-qt5.so.0
#16 0x00007f9fe0d00ed5 in Tp::Client::ConnectionInterfaceAvatarsInterface::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libtelepathy-qt5.so.0
#17 0x00007fa0b5828f48 in  () at /usr/lib64/libQt5DBus.so.5
#18 0x00007fa0b5373c42 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fa0b635493c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007fa0b635bcb4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007fa0b5345d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007fa0b5348335 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007fa0b539c013 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007fa0af9f7b67 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#25 0x00007fa0af9f7d98 in  () at /usr/lib64/libglib-2.0.so.0
#26 0x00007fa0af9f7e2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#27 0x00007fa0b539b68f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fa0b534435a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007fa0b534cbe4 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#30 0x00005644708b1cf2 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.4/shell/main.cpp:166

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

Reported using DrKonqi
Comment 1 Bertoche 2017-08-24 17:08:52 UTC
Created attachment 107502 [details]
instant-messaging-toaster
Comment 2 Justin Zobel 2020-12-04 03:24:20 UTC
Thank you for the report, Bertoche.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-19 04:35:11 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 4 Bug Janitor Service 2021-01-03 04:34:38 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!