Bug 396723 - Crash in DecoratedClientImpl::requestShowToolTip
Summary: Crash in DecoratedClientImpl::requestShowToolTip
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.13.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 402911 428951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-21 11:54 UTC by pier andre
Modified: 2021-09-21 14:00 UTC (History)
7 users (show)

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


Attachments
New crash information added by DrKonqi (18.11 KB, text/plain)
2018-08-31 19:14 UTC, Hosszú Péter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pier andre 2018-07-21 11:54:41 UTC
Application: kwin_x11 (5.13.3)

Qt Version: 5.11.1
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.4-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
I was closing a window clicking the top right button with the cross symbol, and also didn't worked the maximize button, it happens often, closing yast window and also with luckybackup as root, it dont seems happen as user until now

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd143379600 (LWP 2705))]

Thread 5 (Thread 0x7fd10e511700 (LWP 2720)):
#0  0x00007fd13bd4189d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd13eff56f4 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007fd13eff5739 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007fd13bd3b559 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd142cf382f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fd11d305700 (LWP 2716)):
#0  0x00007fd142ce9186 in ppoll () from /lib64/libc.so.6
#1  0x00007fd1400dbb99 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fd114000d38) at kernel/qcore_unix.cpp:112
#2  qt_safe_poll (fds=0x7fd114000d38, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#3  0x00007fd1400dd166 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#4  0x00007fd14008745a in QEventLoop::exec (this=this@entry=0x7fd11d304c30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fd13fec236a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fd13a7e32e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007fd13feccb58 in QThreadPrivate::start (arg=0x55666d8482a0) at thread/qthread_unix.cpp:367
#8  0x00007fd13bd3b559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd142cf382f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd11ffff700 (LWP 2708)):
#0  0x00007fd142ce9186 in ppoll () from /lib64/libc.so.6
#1  0x00007fd1400dbb99 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fd118012988) at kernel/qcore_unix.cpp:112
#2  qt_safe_poll (fds=0x7fd118012988, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#3  0x00007fd1400dd166 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#4  0x00007fd14008745a in QEventLoop::exec (this=this@entry=0x7fd11fffec20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fd13fec236a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fd1396e4a85 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fd13feccb58 in QThreadPrivate::start (arg=0x7fd139958d60) at thread/qthread_unix.cpp:367
#8  0x00007fd13bd3b559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd142cf382f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd1264eb700 (LWP 2707)):
#0  0x00007fd142ce908b in poll () from /lib64/libc.so.6
#1  0x00007fd141c0c387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fd141c0dfaa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fd1275e46e9 in QXcbEventReader::run (this=0x55666d09d6b0) at qxcbconnection.cpp:1388
#4  0x00007fd13feccb58 in QThreadPrivate::start (arg=0x55666d09d6b0) at thread/qthread_unix.cpp:367
#5  0x00007fd13bd3b559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd142cf382f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd143379600 (LWP 2705)):
[KCrash Handler]
#6  0x00007fd13ff4477f in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#9  QtPrivate::RefCount::ref (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#10 QString::operator= (this=this@entry=0x55666d5fe6e0, other=...) at tools/qstring.cpp:2184
#11 0x00007fd1428d0464 in KWin::Decoration::DecoratedClientImpl::requestShowToolTip (this=0x55666d5fe6a0, text=...) at /usr/src/debug/kwin5-5.13.3-lp150.255.1.x86_64/decorations/decoratedclient.cpp:223
#12 0x00007fd1400b70c2 in QObject::event (this=0x55666d53c430, e=<optimized out>) at kernel/qobject.cpp:1251
#13 0x00007fd140e4399c in QApplicationPrivate::notify_helper (this=this@entry=0x55666d12c000, receiver=receiver@entry=0x55666d53c430, e=e@entry=0x7fd120012090) at kernel/qapplication.cpp:3728
#14 0x00007fd140e4aacf in QApplication::notify (this=0x7ffee4b94860, receiver=0x55666d53c430, e=0x7fd120012090) at kernel/qapplication.cpp:3487
#15 0x00007fd140088b68 in QCoreApplication::notifyInternal2 (receiver=0x55666d53c430, event=event@entry=0x7fd120012090) at kernel/qcoreapplication.cpp:1048
#16 0x00007fd14008b505 in QCoreApplication::sendEvent (event=0x7fd120012090, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55666d1158c0) at kernel/qcoreapplication.cpp:1745
#18 0x00007fd1400dcf94 in QEventDispatcherUNIX::processEvents (this=0x55666d19d800, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#19 0x00007fd12766d7ed in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#20 0x00007fd14008745a in QEventLoop::exec (this=this@entry=0x7ffee4b94780, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#21 0x00007fd14008ff40 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#22 0x00007fd142fbe60b in kdemain (argc=<optimized out>, argv=0x7ffee4b949f8) at /usr/src/debug/kwin5-5.13.3-lp150.255.1.x86_64/main_x11.cpp:468
#23 0x00007fd142c1bf4a in __libc_start_main () from /lib64/libc.so.6
#24 0x000055666caff7fa in _start () at ../sysdeps/x86_64/start.S:120

Possible duplicates by query: bug 395492, bug 385142, bug 384419.

Reported using DrKonqi
Comment 1 Hosszú Péter 2018-08-31 19:14:34 UTC
Created attachment 114721 [details]
New crash information added by DrKonqi

kwin_x11 (5.13.4) using Qt 5.11.1

- What I was doing when the application crashed:
If I click onto the "kill window" symbol (the "x" in the upper right corner), kwin crashes.
This can be reproduced always with any window.
If I click onto the "minimize window" symbol, the window will be killed instead of minimized.

-- Backtrace (Reduced):
#6  0x00007f7bde24b26f in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
[...]
#10 QString::operator= (this=this@entry=0x55780489da40, other=...) at tools/qstring.cpp:2184
#11 0x00007f7be0c22634 in KWin::Decoration::DecoratedClientImpl::requestShowToolTip (this=0x55780489da00, text=...) at /usr/src/debug/kwin5-5.13.4-lp150.257.2.x86_64/decorations/decoratedclient.cpp:223
Comment 2 Martin Flöser 2019-01-06 07:47:08 UTC
*** Bug 402911 has been marked as a duplicate of this bug. ***
Comment 3 Vlad Zahorodnii 2019-02-15 10:38:10 UTC
Does the crash occur in KDE Plasma 5.14 or 5.15?
Comment 4 David Edmundson 2020-11-10 17:32:19 UTC
*** Bug 428937 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2020-11-10 17:32:25 UTC
*** Bug 428936 has been marked as a duplicate of this bug. ***
Comment 6 David Redondo 2020-11-11 10:56:42 UTC
*** Bug 428951 has been marked as a duplicate of this bug. ***
Comment 7 Piviul 2020-11-11 14:15:18 UTC
As reported on the bug 428951 marked as a duplicate of this one, the importance to have it solved is very high because render the desktop unusfull because every window I open doesn't have decoration so I can't close, move resize it; furthermore I can't move from a window to another... in other words if you need more infos please ask.

Piviul
Comment 8 Piviul 2020-11-14 06:02:21 UTC
On my system (debian bullseye) the upgrade from 5.17.5-4 to 5.19.5-3 version seems to solve this problem at least as reported on bug 428951.

Thank you very much to all kde developers!

Piviul