Bug 2280852 - [abrt] kwin-x11: KCrash::defaultCrashHandler(): kwin_x11 killed by SIGSEGV
Summary: [abrt] kwin-x11: KCrash::defaultCrashHandler(): kwin_x11 killed by SIGSEGV
Keywords:
Status: CLOSED DUPLICATE of bug 2280899
Alias: None
Product: Fedora
Classification: Fedora
Component: kwin-x11
Version: 40
Hardware: x86_64
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact:
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9d9b085650d7408a1a3ab026c8a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-16 16:50 UTC by Adrià
Modified: 2024-06-22 02:25 UTC (History)
5 users (show)

Fixed In Version: kwin-x11-6.0.4.1-3.fc40
Clone Of:
Environment:
Last Closed: 2024-05-17 12:08:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.48 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: maps (3.94 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: limits (1.29 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: environ (2.00 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: open_fds (2.16 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: mountinfo (3.69 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: os_info (699 bytes, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: cpuinfo (3.36 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: core_backtrace (17.58 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: dso_list (512 bytes, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: var_log_messages (319 bytes, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details
File: backtrace (75.26 KB, text/plain)
2024-05-16 16:50 UTC, Adrià
no flags Details

Description Adrià 2024-05-16 16:50:13 UTC
Description of problem:
Start Pasma (X11) after update

Version-Release number of selected component:
kwin-x11-6.0.4.1-1.fc40

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         kwin_x11 killed by SIGSEGV
journald_cursor: s=b66472ecba674f82aba401b5c36eb153;i=e1492;b=4b68b4f4b12d4b35aa5acbf056976895;m=1f4bce2;t=6189441b245bb;x=d1e51731e2f96121
executable:     /usr/bin/kwin_x11
cmdline:        /usr/bin/kwin_x11 --replace
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/plasma-kwin_x11.service
rootdir:        /
uid:            1000
kernel:         6.8.9-300.fc40.x86_64
package:        kwin-x11-6.0.4.1-1.fc40
runlevel:       N 5
comment:        Start Pasma (X11) after update
backtrace_rating: 4
crash_function: KCrash::defaultCrashHandler

Truncated backtrace:
Thread no. 1 (1 frames)
 #3 KCrash::defaultCrashHandler at /usr/src/debug/kf6-kcrash-6.2.0-1.fc40.x86_64/src/kcrash.cpp:593

Comment 1 Adrià 2024-05-16 16:50:16 UTC
Created attachment 2033586 [details]
File: proc_pid_status

Comment 2 Adrià 2024-05-16 16:50:17 UTC
Created attachment 2033587 [details]
File: maps

Comment 3 Adrià 2024-05-16 16:50:19 UTC
Created attachment 2033588 [details]
File: limits

Comment 4 Adrià 2024-05-16 16:50:20 UTC
Created attachment 2033589 [details]
File: environ

Comment 5 Adrià 2024-05-16 16:50:22 UTC
Created attachment 2033590 [details]
File: open_fds

Comment 6 Adrià 2024-05-16 16:50:23 UTC
Created attachment 2033591 [details]
File: mountinfo

Comment 7 Adrià 2024-05-16 16:50:24 UTC
Created attachment 2033592 [details]
File: os_info

Comment 8 Adrià 2024-05-16 16:50:25 UTC
Created attachment 2033593 [details]
File: cpuinfo

Comment 9 Adrià 2024-05-16 16:50:27 UTC
Created attachment 2033594 [details]
File: core_backtrace

Comment 10 Adrià 2024-05-16 16:50:28 UTC
Created attachment 2033595 [details]
File: dso_list

Comment 11 Adrià 2024-05-16 16:50:29 UTC
Created attachment 2033596 [details]
File: var_log_messages

Comment 12 Adrià 2024-05-16 16:50:31 UTC
Created attachment 2033597 [details]
File: backtrace

Comment 13 Adrià 2024-05-16 16:54:39 UTC
Cannot start the Compositor in Plasma X11. Using akmod-nvidia.

This is the output of "kwin_x11 --replace":
Application::crashHandler() called with signal 11; recent crashes: 1
KCrash: appFilePath points to nullptr!
KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2
[1]    6607 segmentation fault (core dumped)  kwin_x11 --replace
kwin_core: Compositing disabled: video driver seems unstable. If you think it's a false positive, please try again in a few minutes.
kwin_core: Compositing is not possible

Comment 14 EpicTux123 2024-05-16 23:02:01 UTC
*** Bug 2280899 has been marked as a duplicate of this bug. ***

Comment 15 EpicTux123 2024-05-16 23:06:54 UTC
Bug also reported by another user on KDE bugtracker: https://bugs.kde.org/show_bug.cgi?id=487098

The culprit is the 6.0.4 update.

Comment 16 Fedora Update System 2024-05-17 00:20:20 UTC
FEDORA-2024-06d286a7c5 (kwin-x11-6.0.4.1-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-06d286a7c5

Comment 17 Andrew Gunnerson 2024-05-17 01:39:36 UTC
Unfortunately, the 6.0.4.1-2.fc40 update doesn't work because the patch didn't get applied. The kwin-x11 spec uses %setup, while the kwin spec uses %autosetup. If I change the %setup line to:

    %autosetup -p1 -n kwin-%{version}

and rebuild the kwin-x11 package, then everything works without crashing again.

Comment 18 Kevin Kofler 2024-05-17 05:18:50 UTC
%autosetup is just broken and should never be used.

I have simply added the missing %patch line (%patch -P0 -p1 -b .syncobj-v1). I am now building this.

This is also interesting because the patch is actually relevant only for Wayland, but somehow manages to make binary-incompatible changes to global internal data structures that end up breaking kwin-x11, grrr…

Comment 19 Kevin Kofler 2024-05-17 05:25:48 UTC
This makes me wonder whether we should actually change the hard Requires on the kwin Version to one on the exact Version-Release, though that would probably have to be maintained manually because we cannot always keep Release in sync (e.g., in this case, where a mistake in kwin-x11 packaging required another Release bump).

Comment 20 Kevin Kofler 2024-05-17 05:51:02 UTC
I wish the KDE SIG would just stop backporting changes from KWin git master (not even the release branch, the pull request to 6.0 https://invent.kde.org/plasma/kwin/-/merge_requests/5511 was rejected upstream) touching 38 files and adding 980 lines (and removing 6 lines) to what is supposed to be a stable release of KWin in a stable release of Fedora.

Comment 21 Adrià 2024-05-17 06:22:04 UTC
I can confirm kwin-x11-6.0.4.1-3.fc40 works, thanks!

Comment 22 Sergio Basto 2024-05-17 10:31:03 UTC
(In reply to Andrew Gunnerson from comment #17)
> Unfortunately, the 6.0.4.1-2.fc40 update doesn't work because the patch
> didn't get applied. The kwin-x11 spec uses %setup, while the kwin spec uses
> %autosetup. If I change the %setup line to:
> 
>     %autosetup -p1 -n kwin-%{version}
> 
> and rebuild the kwin-x11 package, then everything works without crashing
> again.

yes, I'm sorry, I was fooled by my VM which seems to work correctly and didn't give me more abrt problems 


another thing usually , I think, we mark as duplicated the abrt reports and not the other way around , I'm talking about "Duplicate of this bug: 2280899"


Thank you to take over the situation

Comment 23 Kevin Kofler 2024-05-17 12:08:07 UTC

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

Comment 24 Fedora Update System 2024-05-18 02:22:29 UTC
FEDORA-2024-06d286a7c5 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-06d286a7c5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-06d286a7c5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2024-05-19 01:30:06 UTC
FEDORA-2024-06d286a7c5 (kwin-x11-6.0.4.1-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 26 Kevin Kofler 2024-05-19 01:49:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.