Bug 435174 - Kwin Crash when open system monitor app and Opera opened before (Opera browser stay opened)
Summary: Kwin Crash when open system monitor app and Opera opened before (Opera browse...
Status: RESOLVED DUPLICATE of bug 418214
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.21.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-31 08:43 UTC by Alexander
Modified: 2021-06-16 16:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-17597-0.html (2.46 KB, text/html)
2021-04-02 06:44 UTC, Alexander
Details
Screenshot with KWin crash and windows location (711.51 KB, image/png)
2021-04-02 10:07 UTC, Alexander
Details
Info Center app and Kwin crash (2.11 MB, image/png)
2021-04-02 13:25 UTC, Alexander
Details
New crash information added by DrKonqi (5.94 KB, text/plain)
2021-04-05 15:32 UTC, Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2021-03-31 08:43:25 UTC
Application: kwin_x11 (5.21.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.6-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.3
Distribution: openSUSE Tumbleweed

-- Information about the crash:
- What I was doing when the application crashed:
i do nothing, only close crash information pop-up window because Opera browser and System monitor application work fine after that.

I suppose it's Opera issue because the Opera's window margins very difficult for resize (mouse cursor can not ketch the window corner.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (LWP 1276)]
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#7  0x00007fc4a3436864 in __GI_abort () at abort.c:79
#8  0x00007fc4973a7191 in vmw_ioctl_command (throttle_us=0, flags=<optimized out>, imported_fence_fd=<optimized out>, pfence=0x7ffda5407dd8, size=<optimized out>, commands=0x5633b9411d58, cid=<optimized out>, vws=0x5633b84fec30) at ../src/gallium/winsys/svga/drm/vmw_screen_ioctl.c:577
#9  vmw_swc_flush (swc=0x5633b9411c70, pfence=0x7ffda5407ea8) at ../src/gallium/winsys/svga/drm/vmw_context.c:239
#10 0x00007fc49734ed54 in svga_context_flush (svga=0x5633b9184b60, pfence=0x0) at ../src/gallium/drivers/svga/svga_context.c:397
#11 0x00007fc496a352da in st_flush (flags=0, fence=0x0, st=0x5633b9177750) at ../src/mesa/state_tracker/st_cb_flush.c:60
#12 st_glFlush (ctx=<optimized out>) at ../src/mesa/state_tracker/st_cb_flush.c:101
#13 0x00007fc496abfc07 in _mesa_flush (ctx=0x7fc3eefbf010) at ../src/mesa/main/context.c:1876
#14 _mesa_make_current (newCtx=0x0, drawBuffer=0x0, readBuffer=0x0) at ../src/mesa/main/context.c:1720
#15 0x00007fc496a25b2b in st_api_make_current (stapi=<optimized out>, stctxi=<optimized out>, stdrawi=<optimized out>, streadi=<optimized out>) at ../src/mesa/state_tracker/st_manager.c:1114
#16 0x00007fc496a0d4b5 in dri_unbind_context (cPriv=<optimized out>) at ../src/gallium/frontends/dri/dri_context.c:270
#17 0x00007fc496ed2cca in driUnbindContext (pcp=0x5633b9535cd0) at ../src/mesa/drivers/dri/common/dri_util.c:622
#18 0x00007fc49c2ecd2d in MakeContextCurrent (dpy=0x5633b836a520, draw=0, read=0, gc_user=0x0) at ../src/glx/glxcurrent.c:206
#19 0x00007fc4a073643b in InternalLoseCurrent () at libglx.c:837
#20 0x00007fc4a0739676 in CommonMakeCurrent (dpy=0x5633b836a520, draw=0, read=<optimized out>, context=<optimized out>, callerOpcode=<optimized out>) at libglx.c:1067
#21 0x00007fc49c34e009 in QGLXContext::doneCurrent (this=0x5633b91b6f40) at qglxintegration.cpp:624
#22 0x00007fc4a40368c7 in QOpenGLContext::doneCurrent (this=0x5633b959fbb0) at kernel/qopenglcontext.cpp:1063
#23 0x00007fc4a32ee1ad in KWin::EffectQuickView::EffectQuickView (this=<optimized out>, parent=<optimized out>, exportMode=<optimized out>, this=<optimized out>, parent=<optimized out>, exportMode=<optimized out>) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/libkwineffects/kwineffectquickview.cpp:102
#24 0x00007fc4942477f0 in Aurorae::Decoration::init (this=0x5633b9171040) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/plugins/kdecorations/aurorae/src/aurorae.cpp:316
#25 0x00007fc4a4f5850d in KWin::Decoration::DecorationBridge::createDecoration (client=<optimized out>, this=0x5633b85e13d0) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/decorations/decorationbridge.cpp:286
#26 KWin::Decoration::DecorationBridge::createDecoration (this=0x5633b85e13d0, client=<optimized out>) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/decorations/decorationbridge.cpp:271
#27 0x00007fc4a50578a7 in KWin::X11Client::createDecoration (this=0x5633b9510cb0, oldgeom=...) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/x11client.cpp:1044
#28 0x00007fc4a505774c in KWin::X11Client::updateDecoration (this=0x5633b9510cb0, check_workspace_pos=<optimized out>, force=<optimized out>) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/x11client.cpp:1031
#29 0x00007fc4a505a991 in KWin::X11Client::manage (this=0x5633b9510cb0, w=<optimized out>, isMapped=<optimized out>) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/x11client.cpp:608
#30 0x00007fc4a50465eb in KWin::Workspace::createClient (this=0x5633b86706d0, w=71303181, is_mapped=<optimized out>) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/workspace.cpp:555
#31 0x00007fc4a4f7b067 in KWin::Workspace::workspaceEvent (this=<optimized out>, e=0x7fc49800d6a0) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/events.cpp:338
#32 0x00007fc4a3acc877 in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7fc49800d6a0, result=result@entry=0x7ffda54089a8) at kernel/qabstracteventdispatcher.cpp:495
#33 0x00007fc49d9e40e1 in QXcbConnection::handleXcbEvent (this=this@entry=0x5633b83688d0, event=event@entry=0x7fc49800d6a0) at qxcbconnection.cpp:536
#34 0x00007fc49d9e55f6 in QXcbConnection::processXcbEvents (this=0x5633b83688d0, flags=...) at qxcbconnection.cpp:1014
#35 0x00007fc49da0835c in QXcbUnixEventDispatcher::processEvents (this=0x5633b8437860, flags=...) at qxcbeventdispatcher.cpp:61
#36 0x00007fc4a3acdceb in QEventLoop::exec (this=this@entry=0x7ffda5408af0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007fc4a3ad5f60 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x00007fc4a3fe635c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#39 0x00007fc4a4737475 in QApplication::exec () at kernel/qapplication.cpp:2824
#40 0x00005633b7e2bfeb in main (argc=<optimized out>, argv=0x7ffda5408d78) at /usr/src/debug/kwin5-5.21.3-1.1.x86_64/main_x11.cpp:491
[Inferior 1 (process 1276) detached]

Possible duplicates by query: bug 434359, bug 431328, bug 429383, bug 429344, bug 428581.

Reported using DrKonqi
Comment 1 Nate Graham 2021-04-02 00:35:30 UTC
Crashing deep in the graphics drivers, but maybe KWin could still be at fault somehow?
Comment 2 Alexander 2021-04-02 06:43:59 UTC
Created attachment 137257 [details]
attachment-17597-0.html

Hello,
 
Kwin crash appears when system monitor app or system information app runs after Opera (opera has ~80% of display size).
 
That applications try to open over Opera window and they are alignment to upper left display corner and in this moment Kwin crash (the screen blinked).
 
After that I manually move Sysmon or sysinfo apps to center of display over Opera, close them and next open.
The application remembers the screen positions (center) and work fine without crash.
 
If I close all applications and try open again in this sequence (Opera->Sysmom\SysInfo) the crash will again.
 
AND otherwise, if I first open Sysmom\SysInfo and after that open Opera crash won’t happens.
 
I think the issue with the applications alignment (the applications has forgotten their position, opens in upper left corner, Kwin try to draw window margins and crashed).
 
In the wayland session all OK, KDE works fine.
  
>Пятница, 2 апреля 2021, 3:35 +03:00 от Nate Graham <bugzilla_noreply@kde.org>:
> 
>https://bugs.kde.org/show_bug.cgi?id=435174
>
>Nate Graham < nate@kde.org > changed:
>
>           What |Removed |Added
>----------------------------------------------------------------------------
>                 CC|  |nate@kde.org
>
>--- Comment #1 from Nate Graham < nate@kde.org > ---
>Crashing deep in the graphics drivers, but maybe KWin could still be at fault
>somehow?
>
>--
>You are receiving this mail because:
>You reported the bug.
 
 
С уважением
Александр
Comment 3 Alexander 2021-04-02 06:45:01 UTC
Hello,

Kwin crash appears when system monitor app or system information app runs after Opera (opera has ~80% of display size).

That applications try to open over Opera window and they are alignment to upper left display corner and in this moment Kwin crash (the screen blinked).

After that I manually move Sysmon or sysinfo apps to center of display over Opera, close them and next open.
The application remembers the screen positions (center) and work fine without crash.

If I close all applications and try open again in this sequence (Opera->Sysmom\SysInfo) the crash will again.

AND otherwise, if I first open Sysmom\SysInfo and after that open Opera crash won’t happens.

I think the issue with the applications alignment (the applications has forgotten their position, opens in upper left corner, Kwin try to draw window margins and crashed).

In the wayland session all OK, KDE works fine.
Comment 4 Alexander 2021-04-02 10:07:30 UTC
Created attachment 137261 [details]
Screenshot with KWin crash and windows location

The screenshot describeы the situation.
The titlebar of System Information app (Sysinfo) is hidden on the screen.
The Sysinfo app can be moved only by Additional-Move option in Icon on Taskbar.

The issue only with Opera browser. Firefox and Sysinfo\Sysmon work with any issues.
Comment 5 Alexander 2021-04-02 13:25:49 UTC
Created attachment 137272 [details]
Info Center app and Kwin crash

Now Info Center app without Opera causes a crash KWin.

Dolphin + Opera are the same issue.
Comment 6 Alexander 2021-04-05 15:32:31 UTC
Created attachment 137349 [details]
New crash information added by DrKonqi

kwin_x11 (5.21.3) using Qt 5.15.2

- What I was doing when the application crashed:

I switched in Firefox between Youtube "Full Screen" mode and back to "Window" mode.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#7  0x00007fd0d3b05864 in __GI_abort () at abort.c:79
#8  0x00007fd0c73a5791 in vmw_ioctl_command (throttle_us=0, flags=<optimized out>, imported_fence_fd=<optimized out>, pfence=0x7ffc82fd9af8, size=<optimized out>, commands=0x5581d1d81858, cid=<optimized out>, vws=0x5581d0bf7de0) at ../src/gallium/winsys/svga/drm/vmw_screen_ioctl.c:577
#9  vmw_swc_flush (swc=0x5581d1d81770, pfence=0x7ffc82fd9bc8) at ../src/gallium/winsys/svga/drm/vmw_context.c:239
#10 0x00007fd0c734d354 in svga_context_flush (svga=0x5581d1db1c90, pfence=0x0) at ../src/gallium/drivers/svga/svga_context.c:397
Comment 7 Nate Graham 2021-06-16 16:35:44 UTC

*** This bug has been marked as a duplicate of bug 418214 ***