https://bugs.kde.org/show_bug.cgi?id=403260

            Bug ID: 403260
           Summary: Crashed after changing kwin rules for konsole
           Product: kwin
           Version: 5.14.4
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: szc...@op.pl
  Target Milestone: ---

Application: kwin_x11 (5.14.4)

Qt Version: 5.11.3
Frameworks Version: 5.53.0
Operating System: Linux 4.19.14-300.fc29.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
1) Made changes to kwin rules for Konsole (window behaviour, rules matching
desired windows)
2) Restarted Konsole
3) Windows decorations went for a lunch

- Unusual behavior I noticed:
None of the changes made with strict window matching (title, window class, etc)
changed application behaviour. Resetting changes to match whole application
(konsole) triggered the issue.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
28        return SYSCALL_CANCEL (nanosleep, requested_time, remaining);
[Current thread is 1 (Thread 0x7f53bce79940 (LWP 2280))]

Thread 5 (Thread 0x7f5393fff700 (LWP 4043)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55a5cb258710) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55a5cb2586c0,
cond=0x55a5cb2586e8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x55a5cb2586e8,
mutex=mutex@entry=0x55a5cb2586c0) at pthread_cond_wait.c:655
#3  0x00007f53c0c1a923 in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x55a5cb2586c0) at
thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x55a5cb233288,
mutex=mutex@entry=0x55a5cb233280, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007f53c30741c9 in QSGRenderThreadEventQueue::takeEvent (wait=true,
this=0x55a5cb233278) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore
(this=this@entry=0x55a5cb233200) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f53c307442a in QSGRenderThread::run (this=0x55a5cb233200) at
scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f53c0c1a2fb in QThreadPrivate::start (arg=0x55a5cb233200) at
thread/qthread_unix.cpp:367
#9  0x00007f53c1fac58e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f53c07586a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5392668700 (LWP 2811)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f53c36ba478
<QTWTF::pageheap_memory+57592>) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f53c36ba428
<QTWTF::pageheap_memory+57512>, cond=0x7f53c36ba450
<QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x7f53c36ba450
<QTWTF::pageheap_memory+57552>, mutex=mutex@entry=0x7f53c36ba428
<QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007f53c35cefda in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f53c36ac380 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007f53c35cf045 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007f53c1fac58e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f53c07586a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f53ac931700 (LWP 2720)):
#0  0x00007f53c074d516 in __GI_ppoll (fds=fds@entry=0x7f5398000d28,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f53c0df6975 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f5398000d28) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f5398000d28) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f5398000d28, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f53c0df7ac9 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007f53c0da8e0b in QEventLoop::exec (this=this@entry=0x7f53ac930c40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f53c0c10e86 in QThread::exec (this=this@entry=0x55a5cacb2d50) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f53c2d2bf59 in QQmlThreadPrivate::run (this=0x55a5cacb2d50) at
qml/ftw/qqmlthread.cpp:148
#9  0x00007f53c0c1a2fb in QThreadPrivate::start (arg=0x55a5cacb2d50) at
thread/qthread_unix.cpp:367
#10 0x00007f53c1fac58e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f53c07586a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f53aed82700 (LWP 2512)):
#0  0x00007f53c074d516 in __GI_ppoll (fds=fds@entry=0x7f53a000f038,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f53c0df6975 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f53a000f038) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f53a000f038) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f53a000f038, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f53c0df7ac9 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007f53c0da8e0b in QEventLoop::exec (this=this@entry=0x7f53aed81c30,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f53c0c10e86 in QThread::exec (this=this@entry=0x7f53c1e9c060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f53c1e20f89 in QDBusConnectionManager::run (this=0x7f53c1e9c060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#9  0x00007f53c0c1a2fb in QThreadPrivate::start (arg=0x7f53c1e9c060 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:367
#10 0x00007f53c1fac58e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f53c07586a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f53bce79940 (LWP 2280)):
[KCrash Handler]
#6  QWindow::parent (this=0xb5a1) at kernel/qwindow.cpp:680
#7  0x00007f53c113cf55 in QPlatformWindow::parent (this=0x55a5cb5dc4b0) at
kernel/qplatformwindow.cpp:97
#8  0x00007f53afd9234d in QXcbWindow::hide (this=0x55a5cb18e830) at
qxcbwindow.cpp:841
#9  0x00007f53c1158088 in QWindowPrivate::setVisible (this=0x55a5cb5d5500,
visible=visible@entry=false) at kernel/qwindow.cpp:401
#10 0x00007f53c16fa7e1 in QWidgetWindow::setNativeWindowVisibility
(this=this@entry=0x55a5cae0d8b0, visible=visible@entry=false) at
kernel/qwidgetwindow.cpp:205
#11 0x00007f53c16d4d0f in QWidgetPrivate::hide_sys
(this=this@entry=0x55a5cb572a20) at kernel/qwidget.cpp:8246
#12 0x00007f53c16dc328 in QWidgetPrivate::hide_helper
(this=this@entry=0x55a5cb572a20) at kernel/qwidget.cpp:8174
#13 0x00007f53c16e10f8 in QWidget::setVisible (this=0x55a5cb38ded0,
visible=<optimized out>) at kernel/qwidget.cpp:8376
#14 0x00007f53ac96c6cd in Breeze::Decoration::updateSizeGripVisibility
(this=0x55a5cb34e180) at
/usr/src/debug/plasma-breeze-5.14.4-1.fc29.x86_64/kdecoration/breezedecoration.cpp:327
#15 0x00007f53c0dd21c3 in QtPrivate::QSlotObjectBase::call (a=0x7ffd73159f50,
r=0x55a5cb34e180, this=0x55a5cb2b85f0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#16 QMetaObject::activate (sender=0x7f53a803d100, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3754
#17 0x00007f53c2618806 in KDecoration2::DecoratedClient::maximizedChanged(bool)
() from /lib64/libkdecorations2.so.5
#18 0x00007f53c39d907e in KWin::Client::changeMaximize(bool, bool, bool) ()
from /lib64/libkwin.so.5
#19 0x00007f53c39d841d in KWin::AbstractClient::setMaximize(bool, bool) () from
/lib64/libkwin.so.5
#20 0x00007f53c39be0df in KWin::Client::manage(unsigned int, bool) () from
/lib64/libkwin.so.5
#21 0x00007f53c392dffb in KWin::Workspace::createClient(unsigned int, bool) ()
from /lib64/libkwin.so.5
#22 0x00007f53c39a9132 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*)
() from /lib64/libkwin.so.5
#23 0x00007f53c0da7b3c in QAbstractEventDispatcher::filterNativeEvent
(this=<optimized out>, eventType=..., message=message@entry=0x7f53a8039f70,
result=result@entry=0x7ffd7315a558) at kernel/qabstracteventdispatcher.cpp:466
#24 0x00007f53afd792e4 in QXcbConnection::handleXcbEvent
(this=this@entry=0x55a5caaae400, event=event@entry=0x7f53a8039f70) at
qxcbnativeinterface.h:101
#25 0x00007f53afd79e73 in QXcbConnection::processXcbEvents
(this=0x55a5caaae400) at qxcbconnection.cpp:1790
#26 0x00007f53c0dd2da6 in QObject::event (this=0x55a5caaae400, e=<optimized
out>) at kernel/qobject.cpp:1251
#27 0x00007f53c16a2285 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55a5caaae400, e=0x7f53a8043ee0) at
kernel/qapplication.cpp:3726
#28 0x00007f53c16a99a0 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3485
#29 0x00007f53c0da9ec6 in QCoreApplication::notifyInternal2
(receiver=0x55a5caaae400, event=0x7f53a8043ee0) at
kernel/qcoreapplication.cpp:1047
#30 0x00007f53c0dad09b in QCoreApplication::sendEvent (event=0x7f53a8043ee0,
receiver=<optimized out>) at kernel/qcoreapplication.h:234
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x55a5caacd510) at kernel/qcoreapplication.cpp:1744
#32 0x00007f53c0df793f in QEventDispatcherUNIX::processEvents
(this=0x55a5cab45d80, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#33 0x00007f53afe0bb11 in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#34 0x00007f53c0da8e0b in QEventLoop::exec (this=this@entry=0x7ffd7315aaa0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#35 0x00007f53c0db0ed6 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#36 0x00007f53c3b9df3f in kdemain () from /lib64/libkdeinit5_kwin_x11.so
#37 0x00007f53c067f413 in __libc_start_main (main=0x55a5c9bbf070, argc=1,
argv=0x7ffd7315ad28, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffd7315ad18) at ../csu/libc-start.c:308
#38 0x000055a5c9bbf0ae in _start ()
[Inferior 1 (process 2280) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to