Bug 450954 - Kwin x11 crashes
Summary: Kwin x11 crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-28 09:09 UTC by Ondrej Malek
Modified: 2022-03-30 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Malek 2022-02-28 09:09:50 UTC
Application: kwin_x11 (5.24.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.14.9-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Freshly started computer and firefox openned. Crashes happend on plasma 5.23, still there on 5.24.2 from openSUSE thumbleweed.

- Custom settings of the application:
I have system setup from pasma 5.18

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  QTransform::inline_type (this=0x1b0) at painting/qtransform.h:217
#7  QTransform::mapRect (this=this@entry=0x1b0, rect=...) at painting/qtransform.cpp:1993
#8  0x00007f55ee53db1f in QImage::trueMatrix (matrix=..., w=w@entry=12, h=h@entry=12) at image/qimage.cpp:4926
#9  0x00007f55ee5480e7 in QImage::transformed (this=this@entry=0x7ffdf5be30c0, matrix=..., mode=mode@entry=(Qt::SmoothTransformation | unknown: 0x56a)) at image/qimage.cpp:4788
#10 0x00007f55ee57cf1b in QPlatformPixmap::transformed (this=<optimized out>, matrix=..., mode=(Qt::SmoothTransformation | unknown: 0x56a)) at image/qplatformpixmap.cpp:246
#11 0x00007f55efc3db42 in KWin::Toplevel::isOnOutput (this=0x56488aadd8e0, output=<optimized out>) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/toplevel.cpp:423
#12 0x00007f55efc778a9 in KWin::Workspace::activeOutput (this=0x564888679c90) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/workspace.cpp:2419
#13 0x00007f55efc849df in KWin::X11Client::manage (this=0x56488a784860, w=<optimized out>, isMapped=<optimized out>) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/workspace.h:811
#14 0x00007f55efc6a5c3 in KWin::Workspace::createClient (this=0x564888679c90, w=14681477, is_mapped=<optimized out>) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/workspace.cpp:654
#15 0x00007f55efba2b5d in KWin::Workspace::workspaceEvent (this=0x564888679c90, e=0x7f55e000bb30) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/events.cpp:223
#16 0x00007f55ee0933cf in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7f55e000bb30, result=result@entry=0x7ffdf5be36d8) at kernel/qabstracteventdispatcher.cpp:495
#17 0x00007f55e85cb491 in QXcbConnection::handleXcbEvent (this=this@entry=0x564888345130, event=event@entry=0x7f55e000bb30) at qxcbconnection.cpp:536
#18 0x00007f55e85ccb96 in QXcbConnection::processXcbEvents (this=0x564888345130, flags=...) at qxcbconnection.cpp:1020
#19 0x00007f55e85f31bc in QXcbUnixEventDispatcher::processEvents (this=0x5648883f4340, flags=...) at qxcbeventdispatcher.cpp:61
#20 0x00007f55ee09483b in QEventLoop::exec (this=this@entry=0x7ffdf5be3820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#21 0x00007f55ee09cb10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x00007f55ee4e625c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#23 0x00007f55ed64b9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#24 0x0000564887524509 in main (argc=<optimized out>, argv=0x7ffdf5be3ae8) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/main_x11.cpp:482
[Inferior 1 (process 2838) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2022-02-28 10:00:18 UTC
>#10 0x00007f55ee57cf1b in QPlatformPixmap::transformed (this=<optimized out>, matrix=..., mode=(Qt::SmoothTransformation | unknown: 0x56a)) at image/qplatformpixmap.cpp:246
#11 0x00007f55efc3db42 in KWin::Toplevel::isOnOutput (this=0x56488aadd8e0, output=<optimized out>) at /usr/src/debug/kwin5-5.24.2-1.1.x86_64/src/toplevel.cpp:423


That makes no sense. There's no path to get from isOnOutput to QPlatformPixmaps. Chances are you did an upgrade after kwin was started and now the debugger can't match symbols. Can you try and get another trace.
Comment 2 Ondrej Malek 2022-02-28 10:39:15 UTC
(In reply to David Edmundson from comment #1)

Thx, I'll try next time it happends. 

I did thumbleweed roll up update and rebooted. And  seems I have right packages installed:

---
$ zypper se -is debug                                                                                                                                                      [22/02/28|11:21]
Loading repository data...
Reading installed packages...

S  | Name                                  | Type    | Version                     | Arch   | Repository
---+---------------------------------------+---------+-----------------------------+--------+--------------------------
i+ | kwin5-debuginfo                       | package | 5.24.2-1.1                  | x86_64 | openSUSE-Tumbleweed-Debug
i+ | kwin5-debugsource                     | package | 5.24.2-1.1                  | x86_64 | openSUSE-Tumbleweed-Debug
i+ | plasma-framework-components-debuginfo | package | 5.91.0-1.1                  | x86_64 | openSUSE-Tumbleweed-Debug
i+ | plasma-framework-debuginfo            | package | 5.91.0-1.1                  | x86_64 | openSUSE-Tumbleweed-Debug
i+ | plasma-framework-debugsource          | package | 5.91.0-1.1                  | x86_64 | openSUSE-Tumbleweed-Debug
---
Comment 3 Bug Janitor Service 2022-03-15 04:35:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-03-30 04:35:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!