Summary: | Kwin crashes in KWin::Workspace::clientArea() after waking from sleep with KDE Snap Assist KWin script active | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | aronkvh |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aronkvh, cookielucLP, david.alejandro.rubio, iodreamify, knuteirikj, maximtsyba, nate, nicolas.fella, peter5leconte, reginald.pierre, semaraputraputugede, toni.lipponen, yacolinux, znvopn50i |
Priority: | VHI | Keywords: | drkonqi |
Version: | 5.25.4 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/a8b525556c67b3f390c0c7050e629bc0012dd59f | Version Fixed In: | 5.24.8 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi attachment-23010-0.html New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
aronkvh
2022-09-01 12:13:40 UTC
> 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".
This is an issue caused by a bug in the 3rd-party Snap Assist KWin script. Evidently your system is missing the "pygdbmi" python modue, and this causes it to crash. You should be able to fix this by installing that module, and you should also report tihs to the developer because the script shouldn't cause KWin to crash if it's missing that module.
*** Bug 458585 has been marked as a duplicate of this bug. *** *** Bug 458547 has been marked as a duplicate of this bug. *** (In reply to Nate Graham from comment #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". > > This is an issue caused by a bug in the 3rd-party Snap Assist KWin script. > Evidently your system is missing the "pygdbmi" python modue, and this causes > it to crash. You should be able to fix this by installing that module, and > you should also report tihs to the developer because the script shouldn't > cause KWin to crash if it's missing that module. Thanks for the explanation, reported it. (In reply to Nate Graham from comment #1) > This is an issue caused by a bug in the 3rd-party Snap Assist KWin script. > Evidently your system is missing the "pygdbmi" python modue, and this causes > it to crash But this script doesn't depend on "pygdbmi" module, or any other external libraries or modules other than the official KWin Scripting API. The fact that the crash happens only after waking from sleep also makes me suspicious. Is it possible that "clientArea()" method from the API somehow requires "pygdbmi" dependency under the hood? As it seems to be the exact place where the crash happens. pydgbmi (https://github.com/cs01/pygdbmi) is related to GDB, i.e. what happens after the crash. It has nothing to do with the snap assistant or the actual cause of the crash This looks a lot like https://bugs.kde.org/show_bug.cgi?id=448102 pygdbmi is used by DrKonqi when creating crash reports With current master #0 __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43 #1 0x00007f964ca77c6d in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25 #2 0x00007f96503aae28 in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /home/nico/kde/src/kcrash/src/kcrash.cpp:415 #3 0x00007f96503aba02 in KCrash::defaultCrashHandler(int) (sig=11) at /home/nico/kde/src/kcrash/src/kcrash.cpp:632 #4 0x00007f964ca77a70 in <signal handler called> () at /lib64/libc.so.6 #5 KWin::Window::output() const (this=this@entry=0x0) at /home/nico/kde/src/kwin/src/window.cpp:421 #6 0x00007f964ffe8d8e in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x1183d00, opt=KWin::PlacementArea, window=0x0) at /home/nico/kde/src/kwin/src/workspace.cpp:2524 #7 0x00007f964ff84822 in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=<optimized out>) at /home/nico/kde/src/kwin/src/scripting/workspace_wrapper.cpp:290 #8 KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff247140d0) at /home/nico/kde/build/kwin/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697 #9 0x00007f964ff85ab3 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x14cf100, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7fff247140d0) at /home/nico/kde/build/kwin/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963 #10 0x00007f964ff85b71 in KWin::DeclarativeScriptWorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=0x14cf100, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff247140d0) at /home/nico/kde/build/kwin/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1343 #11 0x00007f964f487793 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7fff24714370, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=101, argv=<optimized out>) at qml/qqmlobjectorgadget.cpp:51 #12 0x00007f964f36b929 in CallMethod (callType=<optimized out>, callArgs=0x3, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=...) at /home/nico/workspace/qt5/qtbase/include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189 #13 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=<optimized out>, engine=engine@entry=0x12d46a0, callArgs=callArgs@entry=0x7f95fd60b690, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1568 #14 0x00007f964f36d71b in CallOverloaded (callType=<optimized out>, propertyCache=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, data=<optimized out>, object=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1644 #15 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 #16 0x00007f964f39b6d9 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=2, argv=0x7f95fd60b5f0, thisObject=0x7f95fd60b5d8, this=0x7fff24714480) at jsruntime/qv4functionobject_p.h:202 #17 QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) (engine=0x12d46a0, base=..., index=<optimized out>, argv=0x7f95fd60b5f0, argc=2) at jsruntime/qv4runtime.cpp:1460 #18 0x00007f95fcfe72b1 in () #19 0x0000000000000000 in () Created attachment 151904 [details]
New crash information added by DrKonqi
kwin_x11 (5.25.5) using Qt 5.15.5
Kwin crashed as ethernet was reconnected and I got the approp. notifications.
-- Backtrace (Reduced):
#4 KWin::Window::output() const (this=this@entry=0x0) at ./src/window.cpp:422
#5 0x00007f6d82a6b78a in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x5637015b1070, opt=KWin::PlacementArea, window=0x0) at ./src/workspace.cpp:2304
#6 0x00007f6d82a04aff in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=0x563701826030) at ./src/workspace.h:68
#7 KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x563701826030, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96, _a=_a@entry=0x7ffec83bc590) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697
#8 0x00007f6d82a059e3 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x563701826030, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7ffec83bc590) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2917 Git commit 287ad9561d6b7bccec1626dc78efe1190d3ccfd9 by Vlad Zahorodnii. Committed on 09/09/2022 at 06:10. Pushed by vladz into branch 'master'. scripting: Add null window guard in WorkspaceWrapper::clientArea() Workspace::clientArea(clientAreaOpt, Window*) expects a valid pointer. M +6 -0 src/scripting/workspace_wrapper.cpp https://invent.kde.org/plasma/kwin/commit/287ad9561d6b7bccec1626dc78efe1190d3ccfd9 *** Bug 458938 has been marked as a duplicate of this bug. *** Created attachment 151990 [details]
New crash information added by DrKonqi
kwin_x11 (5.25.5) using Qt 5.15.5
Kwin crashes everytime when launching Krita. 2 monitors, nvidia graphics
-- Backtrace (Reduced):
#4 KWin::Window::output() const (this=this@entry=0x0) at ./src/window.cpp:422
#5 0x00007fce1fa7778a in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x5578a471a370, opt=KWin::PlacementArea, window=0x0) at ./src/workspace.cpp:2304
#6 0x00007fce1fa10aff in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=0x5578a48083a0) at ./src/workspace.h:68
#7 KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x5578a48083a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96, _a=_a@entry=0x7fff5882ce60) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697
#8 0x00007fce1fa119e3 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x5578a48083a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7fff5882ce60) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
*** Bug 458990 has been marked as a duplicate of this bug. *** *** Bug 459097 has been marked as a duplicate of this bug. *** *** Bug 458707 has been marked as a duplicate of this bug. *** *** Bug 458568 has been marked as a duplicate of this bug. *** *** Bug 458652 has been marked as a duplicate of this bug. *** Created attachment 152434 [details] attachment-23010-0.html I am just now seeing these updates. Traveling so not sure if progress was made. I can try when I land later today. If no changes please respond to this email if possible. *Reginald Pierre* Senior Systems Administrator 770-624-9443 r <https://mail.capitalcityclub.org/owa/redir.aspx?C=8826c0a2573b42529d6a3521df366ce9&URL=mailto%3ajdoe%40capitalcityclub.org> eginald.pierre@gmail.com On Mon, Sep 26, 2022 at 4:13 AM Vlad Zahorodnii <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=458598 > > Vlad Zahorodnii <vlad.zahorodnii@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |knuteirikj@gmail.com > > --- Comment #19 from Vlad Zahorodnii <vlad.zahorodnii@kde.org> --- > *** Bug 458652 has been marked as a duplicate of this bug. *** > > -- > You are receiving this mail because: > You are on the CC list for the bug. Created attachment 152520 [details]
New crash information added by DrKonqi
kwin_x11 (5.25.5) using Qt 5.15.6
After waking from sleep mode the second monitor is black until clicking on the area
-- Backtrace (Reduced):
#4 KWin::Window::output() const (this=this@entry=0x0) at ./src/window.cpp:422
#5 0x00007f6bd25e579a in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x55d9619aa6b0, opt=KWin::PlacementArea, window=0x0) at ./src/workspace.cpp:2304
#6 0x00007f6bd257eb0f in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=0x55d961a3ed60) at ./src/workspace.h:68
#7 KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x55d961a3ed60, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96, _a=_a@entry=0x7fff97edeb80) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697
#8 0x00007f6bd257f9f3 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x55d961a3ed60, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7fff97edeb80) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
Created attachment 152529 [details]
New crash information added by DrKonqi
kwin_x11 (5.25.5) using Qt 5.15.6
This time I was doing nothing special just a few apps open like firefox, okular, dolphin
btw is there a point in attaching each crashlog?
-- Backtrace (Reduced):
#4 KWin::Window::output() const (this=this@entry=0x0) at ./src/window.cpp:422
#5 0x00007f1925b5779a in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x55b7bc8f7740, opt=KWin::PlacementArea, window=0x0) at ./src/workspace.cpp:2304
#6 0x00007f1925af0b0f in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=0x55b7bc9b2f40) at ./src/workspace.h:68
#7 KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x55b7bc9b2f40, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96, _a=_a@entry=0x7ffe3f40faf0) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697
#8 0x00007f1925af19f3 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x55b7bc9b2f40, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7ffe3f40faf0) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
Created attachment 152634 [details]
New crash information added by DrKonqi
kwin_x11 (5.25.5) using Qt 5.15.6
This time when I opened an electron app (Mailspring)
-- Backtrace (Reduced):
#4 KWin::Window::output() const (this=this@entry=0x0) at ./src/window.cpp:422
#5 0x00007f96915dc79a in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x5582a985a7f0, opt=KWin::PlacementArea, window=0x0) at ./src/workspace.cpp:2304
#6 0x00007f9691575b0f in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=0x5582a99daf70) at ./src/workspace.h:68
#7 KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x5582a99daf70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96, _a=_a@entry=0x7ffe7cf60d60) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697
#8 0x00007f96915769f3 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x5582a99daf70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7ffe7cf60d60) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
*** Bug 460223 has been marked as a duplicate of this bug. *** Git commit a8b525556c67b3f390c0c7050e629bc0012dd59f by Nate Graham, on behalf of Vlad Zahorodnii. Committed on 21/10/2022 at 17:11. Pushed by ngraham into branch 'Plasma/5.24'. scripting: Add null window guard in WorkspaceWrapper::clientArea() Workspace::clientArea(clientAreaOpt, Window*) expects a valid pointer. (cherry picked from commit 287ad9561d6b7bccec1626dc78efe1190d3ccfd9) M +6 -0 src/scripting/workspace_wrapper.cpp https://invent.kde.org/plasma/kwin/commit/a8b525556c67b3f390c0c7050e629bc0012dd59f *** Bug 460801 has been marked as a duplicate of this bug. *** |