Bug 435015 - kdeinit5 crashes, related to notifications
Summary: kdeinit5 crashes, related to notifications
Status: RESOLVED DUPLICATE of bug 430862
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 20.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 12:57 UTC by Marvin Häuser
Modified: 2021-03-31 11:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin Häuser 2021-03-27 12:57:20 UTC
SUMMARY
kio-extra's kdeinit5 crashes in multiple occasions related to notifications and possibly screenshots (latter possibly just a side-effect of former). I believe the crashes are not always but often reproducible, yet currently kdeinit5 consistently crashes.

STEPS TO REPRODUCE
- Open the notification centre (often or always), OR
- Receive a notification banner (often or always), OR
- Take a screenshot with Spectacle (always, possibly related to above)

OBSERVED RESULT
kdeinit5 crashes. If a screenshot was taken, it is available on the clipboard for a brief moment, before it is not anymore (possibly due to the application crash flushing its data from the clipboard?).


EXPECTED RESULT
kdeinit5 should not crash, and screenshots should be persistent in the clipboard.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.21.3
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7faeddd0fcc0 (LWP 156913))]
[New LWP 156914]
[New LWP 156918]
[New LWP 156919]
[New LWP 156922]
[New LWP 156923]
[New LWP 156924]
[New LWP 156925]
[New LWP 156926]
[New LWP 156927]
[New LWP 156928]
[New LWP 156929]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007faee11e3aff in __GI___poll (fds=fds@entry=0x7ffc0fca9d28, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29

Thread 12 (Thread 0x7faec17fa700 (LWP 156929)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faec17f9cd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e678414) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faec17f9cd0, clockid=<optimized out>, mutex=0x562c8e6783c0, cond=0x562c8e6783e8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e6783e8, mutex=0x562c8e6783c0, abstime=0x7faec17f9cd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e6783c0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e6783c0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e65ff10, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e65ff00) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e65ff00) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7faec1ffb700 (LWP 156928)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faec1ffacd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e677f74) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faec1ffacd0, clockid=<optimized out>, mutex=0x562c8e677f20, cond=0x562c8e677f48) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e677f48, mutex=0x562c8e677f20, abstime=0x7faec1ffacd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e677f20, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e677f20) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e650320, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e650310) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e650310) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7faec27fc700 (LWP 156927)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faec27fbcd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e677ad4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faec27fbcd0, clockid=<optimized out>, mutex=0x562c8e677a80, cond=0x562c8e677aa8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e677aa8, mutex=0x562c8e677a80, abstime=0x7faec27fbcd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e677a80, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e677a80) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e64ca80, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e64ca70) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e64ca70) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7faec2ffd700 (LWP 156926)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faec2ffccd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e677674) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faec2ffccd0, clockid=<optimized out>, mutex=0x562c8e677620, cond=0x562c8e677648) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e677648, mutex=0x562c8e677620, abstime=0x7faec2ffccd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e677620, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e677620) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e660150, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e660140) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e660140) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7faec37fe700 (LWP 156925)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faec37fdcd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e63f4b4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faec37fdcd0, clockid=<optimized out>, mutex=0x562c8e63f460, cond=0x562c8e63f488) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e63f488, mutex=0x562c8e63f460, abstime=0x7faec37fdcd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e63f460, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e63f460) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e647630, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e647620) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e647620) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7faec3fff700 (LWP 156924)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faec3ffecd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e675744) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faec3ffecd0, clockid=<optimized out>, mutex=0x562c8e6756f0, cond=0x562c8e675718) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e675718, mutex=0x562c8e6756f0, abstime=0x7faec3ffecd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e6756f0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e6756f0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e64ff70, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e64ff60) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e64ff60) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7faed0e72700 (LWP 156923)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faed0e71cd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e6753f4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faed0e71cd0, clockid=<optimized out>, mutex=0x562c8e6753a0, cond=0x562c8e6753c8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e6753c8, mutex=0x562c8e6753a0, abstime=0x7faed0e71cd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e6753a0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e6753a0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e64fda0, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e64fd90) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e64fd90) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7faed1673700 (LWP 156922)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faed1672cd0, clockid=<optimized out>, expected=0, futex_word=0x562c8e660354) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faed1672cd0, clockid=<optimized out>, mutex=0x562c8e660300, cond=0x562c8e660328) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e660328, mutex=0x562c8e660300, abstime=0x7faed1672cd0) at pthread_cond_wait.c:656
#3  0x00007faee1393ce8 in QWaitConditionPrivate::wait_relative (this=0x562c8e660300, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x562c8e660300) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x562c8e6475d0, mutex=mutex@entry=0x562c8e6656d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007faee13911f1 in QThreadPoolThread::run (this=0x562c8e6475c0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e6475c0) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7faed8a53700 (LWP 156919)):
#0  0x00007faee11e3aff in __GI___poll (fds=0x7faec4004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faedfc3136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faedfc314a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faee15cdffb in QEventDispatcherGlib::processEvents (this=0x7faec4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007faee15721eb in QEventLoop::exec (this=this@entry=0x7faed8a52d30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007faee138ca52 in QThread::exec (this=this@entry=0x7faedd474d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007faedd3f0f4b in QDBusConnectionManager::run (this=0x7faedd474d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007faee138dbec in QThreadPrivate::start (arg=0x7faedd474d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#8  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7faed9db8700 (LWP 156918)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7faed9db7d20, clockid=<optimized out>, expected=0, futex_word=0x562c8e2ffbcc) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7faed9db7d20, clockid=<optimized out>, mutex=0x562c8e2e76b0, cond=0x562c8e2ffba0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x562c8e2ffba0, mutex=0x562c8e2e76b0, abstime=0x7faed9db7d20) at pthread_cond_wait.c:656
#3  0x00007faed2e65192 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.460.67
#4  0x00007faed2c3dbbc in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.460.67
#5  0x00007faed2e673ba in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.460.67
#6  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7faedb2fe700 (LWP 156914)):
#0  0x00007faee11e3aff in __GI___poll (fds=0x7faedb2fdc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faee1f40c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007faee1f4290a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007faedb797d58 in QXcbEventQueue::run (this=0x562c8e206fe0) at qxcbeventqueue.cpp:228
#4  0x00007faee138dbec in QThreadPrivate::start (arg=0x562c8e206fe0) at thread/qthread_unix.cpp:329
#5  0x00007faee074c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faee11f0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7faeddd0fcc0 (LWP 156913)):
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
#7  0x00007faee2123071 in memcpy (__len=53760, __src=<optimized out>, __dest=0x7faed8b57000) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#8  ThumbnailProtocol::get (this=0x7ffc0fcaadd0, url=...) at ./thumbnail/thumbnail.cpp:315
#9  0x00007faedd8a8aa6 in KIO::SlaveBase::dispatch (this=0x7ffc0fcaadd0, command=67, data=...) at ./src/core/slavebase.cpp:1215
#10 0x00007faedd8a9146 in KIO::SlaveBase::dispatchLoop (this=this@entry=0x7ffc0fcaadd0) at ./src/core/slavebase.cpp:336
#11 0x00007faee211fc82 in kdemain (argc=<optimized out>, argv=0x562c8e20e230) at ./thumbnail/thumbnail.cpp:138
#12 0x0000562c8d2ba076 in launch (argc=4, _name=0x562c8e20dec8 "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so", args=0x562c8e20df79 "", cwd=<optimized out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x562c8d2bd187 "0") at ./src/kdeinit/kinit.cpp:692
#13 0x0000562c8d2bb4da in handle_launcher_request (sock=7, who=<optimized out>) at ./src/kdeinit/kinit.cpp:1130
#14 0x0000562c8d2bbeca in handle_requests (waitForPid=0) at ./src/kdeinit/kinit.cpp:1323
#15 0x0000562c8d2b70ff in main (argc=1, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1761
[Inferior 1 (process 156913) detached]
Comment 1 Fabian Vogt 2021-03-31 09:26:53 UTC
Confirmed, same backtrace: https://bugzilla.opensuse.org/show_bug.cgi?id=1184181
Comment 2 Fabian Vogt 2021-03-31 09:29:33 UTC
Most likely already fixed with 2df4b465b391999e82c3a7f667a0e9292ad2a6c3 in kio, marking as duplicate.

*** This bug has been marked as a duplicate of bug 430862 ***
Comment 3 Marvin Häuser 2021-03-31 09:45:32 UTC
Thank you for linking the other ticket that I missed, so far it seems that yesterday's Neon updates to kio indeed fixed the issue. Thanks to everyone involved!
Comment 4 David Redondo 2021-03-31 11:54:30 UTC
*** Bug 435180 has been marked as a duplicate of this bug. ***