Bug 424307 - Kwin segfault on initial log-in
Summary: Kwin segfault on initial log-in
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-07-16 21:12 UTC by Hugh Kernohan
Modified: 2022-10-27 19:10 UTC (History)
0 users

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 Hugh Kernohan 2020-07-16 21:12:02 UTC
Application: kwin_x11 (5.19.3)
 (Compiled from sources)
Qt Version: 5.15.0
Frameworks Version: 5.72.0
Operating System: Linux 5.7.8-arch1-1 x86_64
Windowing system: X11
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Logging in to a test Plasma desktop built from source, using a custom session
- Custom settings of the application:
KDE  Frameworks and Workspace built from source by kdesrc-build on 15 July, into a discrete tree.  QT 5.15 not built separately but using /usr/lib installation from my main user set-up.
After the crash both monitors are black with a functioning mouse pointer.  From a tty log-in, Journalctl shows that the remainder of the Plasma desktop started normally.  The X server is still running but attempts to re-start kwin with DISPLAY=0: kwin_x11 fail with a fatal error and unable to open display.  pkill -u ... clears the black screens and returns to sddm for graphical log-in.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f0b6c7c7144 in xcb_send_request_with_fds64 () at /usr/lib/libxcb.so.1
#5  0x00007f0b6c7c76ba in xcb_send_request () at /usr/lib/libxcb.so.1
#6  0x00007f0b6c7cdfd2 in xcb_intern_atom_unchecked () at /usr/lib/libxcb.so.1
#7  0x00005643ddbe456c in KWin::KWinSelectionOwner::make_selection_atom(int) (this=0x5643de3d57d0, screen_P=0) at /home/hugh_coder2/kde/src/kwin/main_x11.cpp:164
#8  0x00005643ddbe41a9 in KWin::KWinSelectionOwner::KWinSelectionOwner(int) (this=0x5643de3d57d0, screen=0) at /home/hugh_coder2/kde/src/kwin/main_x11.cpp:119
#9  0x00005643ddbe04ae in KWin::ApplicationX11::performStartup() (this=0x7ffec144e1f0) at /home/hugh_coder2/kde/src/kwin/main_x11.cpp:219
#10 0x00005643ddbe1e9d in main(int, char**) (argc=3, argv=0x7ffec144e378) at /home/hugh_coder2/kde/src/kwin/main_x11.cpp:477
[Inferior 1 (process 18456) detached]

Possible duplicates by query: bug 414359, bug 403933, bug 364121, bug 363251, bug 349023.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-12 03:50:14 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-27 05:04:24 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!