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

            Bug ID: 458598
           Summary: Kwin crashes after waking from sleep
           Product: kwin
           Version: 5.25.4
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: aron...@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.25.4)

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.15.0-46-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.25
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
Kwin crashes and restarts after waking my PC from sleep.  Works OK, but I
always get a Drkonqi notification after logging in.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[New LWP 2322]
[New LWP 2393]
[New LWP 2483]
[New LWP 3699]
[New LWP 22633]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f8e66c0799f in __GI___poll (fds=0x7fffcaf91a38, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
____drkonqi_qmltrace_thread:1____
Failed to do pygdbmi parsing: No module named 'pygdbmi'
frame={level="0",func="onWindowResize",file="/home/aronkvh/.local/share/kwin/scripts/kdesnapassist/contents/ui/code/windows.js",fullname="/home/aronkvh/.local/share/kwin/scripts/kdesnapassist/c".
---------------------------------
(beware that frames may have been optimized out)

[Current thread is 1 (Thread 0x7f8e61e259c0 (LWP 2315))]

Thread 6 (Thread 0x7f8e03fff700 (LWP 22633)):
#0  0x00007f8e66c07a96 in __ppoll (fds=fds@entry=0x7f8dfc089d98,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f8e6803a4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8dfc089d98) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8dfc089d98) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f8dfc089d98,
nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f8e6803bb63 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:212
#6  0x00007f8e67fe276b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f8e03ffebe0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f8e67dfc372 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f8e67dfd553 in QThreadPrivate::start(void*) (arg=0x7f8e5c0070e0) at
thread/qthread_unix.cpp:331
#9  0x00007f8e68963609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f8e66c14133 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f8e51873700 (LWP 3699)):
#0  0x00007f8e66c07a96 in __ppoll (fds=fds@entry=0x55886b0644c8,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f8e6803a4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x55886b0644c8) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x55886b0644c8) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x55886b0644c8,
nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f8e6803bb63 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:212
#6  0x00007f8e67fe276b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f8e51872be0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f8e67dfc372 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f8e67dfd553 in QThreadPrivate::start(void*) (arg=0x55886a6d9680) at
thread/qthread_unix.cpp:331
#9  0x00007f8e68963609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f8e66c14133 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f8e3bfff700 (LWP 2483)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55886ad883e0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55886ad88390,
cond=0x55886ad883b8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x55886ad883b8,
mutex=mutex@entry=0x55886ad88390) at pthread_cond_wait.c:647
#3  0x00007f8e67e035fb in QWaitConditionPrivate::wait(QDeadlineTimer)
(deadline=..., this=0x55886ad88390) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>,
mutex=0x55886ad68990, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f8e65d612f4 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f8e65d61769 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f8e67dfd553 in QThreadPrivate::start(void*) (arg=0x55886ad688f0) at
thread/qthread_unix.cpp:331
#8  0x00007f8e68963609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f8e66c14133 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f8e53736700 (LWP 2393)):
#0  0x00007f8e66c07a96 in __ppoll (fds=fds@entry=0x7f8e44000d78,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f8e6803a4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8e44000d78) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8e44000d78) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f8e44000d78,
nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f8e6803bb63 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:212
#6  0x00007f8e67fe276b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f8e53735bc0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f8e67dfc372 in QThread::exec() (this=this@entry=0x55886aa19290) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f8e68d091b9 in QQmlThreadPrivate::run() (this=0x55886aa19290) at
qml/ftw/qqmlthread.cpp:155
#9  0x00007f8e67dfd553 in QThreadPrivate::start(void*) (arg=0x55886aa19290) at
thread/qthread_unix.cpp:331
#10 0x00007f8e68963609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#11 0x00007f8e66c14133 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8e593f0700 (LWP 2322)):
#0  0x00007f8e66c07a96 in __ppoll (fds=fds@entry=0x7f8e5400f1c8,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f8e6803a4a9 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8e5400f1c8) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f8e5400f1c8) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7f8e5400f1c8,
nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f8e6803bb63 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:212
#6  0x00007f8e67fe276b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f8e593efbb0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f8e67dfc372 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f8e67030f4b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f8e67dfd553 in QThreadPrivate::start(void*) (arg=0x7f8e670b4d80) at
thread/qthread_unix.cpp:331
#10 0x00007f8e68963609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#11 0x00007f8e66c14133 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8e61e259c0 (LWP 2315)):
[KCrash Handler]
#4  KWin::Window::output() const (this=this@entry=0x0) at ./src/window.cpp:422
#5  0x00007f8e6915f74a in KWin::Workspace::clientArea(KWin::clientAreaOption,
KWin::Window const*) const (this=0x55886a929b50, opt=KWin::PlacementArea,
window=0x0) at ./src/workspace.cpp:2304
#6  0x00007f8e690f8abf in
KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption,
KWin::Window*) const (c=<optimized out>, option=<optimized out>,
this=0x55886a9edb10) at ./src/workspace.h:68
#7  KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (_o=_o@entry=0x55886a9edb10,
_c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96,
_a=_a@entry=0x7fffcaf92840) at
./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697
#8  0x00007f8e690f99a3 in
KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**)
(this=this@entry=0x55886a9edb10, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=96, _a=_a@entry=0x7fffcaf92840) at
./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
#9  0x00007f8e690f9a25 in
KWin::DeclarativeScriptWorkspaceWrapper::qt_metacall(QMetaObject::Call, int,
void**) (this=0x55886a9edb10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized
out>, _a=0x7fffcaf92840) at
./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1343
#10 0x00007f8e68c9c5c5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int,
void**) const (this=this@entry=0x7fffcaf92b80,
type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>,
index@entry=101, argv=<optimized out>) at
../../include/QtQml/5.15.5/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#11 0x00007f8e68b643d5 in CallMethod(QQmlObjectOrGadget const&, int, int, int,
int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=...,
index=<optimized out>, returnType=returnType@entry=19, argCount=<optimized
out>, argTypes=<optimized out>, engine=engine@entry=0x55886aa3ab40,
callArgs=<optimized out>, callType=<optimized out>) at
jsruntime/qv4qobjectwrapper.cpp:1300
#12 0x00007f8e68b664b6 in CallPrecise(QQmlObjectOrGadget const&,
QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*,
QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x55886aa3ab40,
callArgs=callArgs@entry=0x7f8e52af7690,
callType=callType@entry=QMetaObject::InvokeMetaMethod) at
../../include/QtQml/5.15.5/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:285
#13 0x00007f8e68b675a1 in CallOverloaded
(callType=QMetaObject::InvokeMetaMethod, propertyCache=0x55886a96a9d0,
callArgs=0x7f8e52af7690, engine=0x55886aa3ab40, data=..., object=...) at
jsruntime/qv4qobjectwrapper.cpp:1644
#14 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int)
const (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>,
argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2132
#15 0x00007f8e68b9753b in QV4::FunctionObject::call(QV4::Value const*,
QV4::Value const*, int) const (argc=2, argv=0x7f8e52af75f0,
thisObject=0x7f8e52af75d8, this=0x7fffcaf92ce8) at
jsruntime/qv4functionobject_p.h:172
#16 QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value
const&, unsigned int, QV4::Value*, int) (engine=0x55886aa3ab40, base=...,
index=<optimized out>, argv=0x7f8e52af75f0, argc=2) at
jsruntime/qv4runtime.cpp:1460
#17 0x00007f8e595e71d0 in  ()
#18 0x0000000000000000 in  ()
[Inferior 1 (process 2315) detached]

Reported using DrKonqi

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

Reply via email to