This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Opened 7 weeks ago

Last modified 6 weeks ago

#6939 new defect

Atlas crashes when it is invoked from a Wayland KWin session.

Reported by: Beedell, Roke, Julian Lockhart Owned by:
Priority: Must Have Milestone:
Component: Atlas editor Keywords:
Cc: Beedell, Roke, Julian Lockhart Patch:

Description (last modified by Beedell, Roke, Julian Lockhart)

Issue

When I open the map editor in https://kojipkgs.fedoraproject.org//packages/0ad/0.0.26/21.fc40/x86_64/0ad-0.0.26-21.fc40.x86_64.rpm (from https://koji.fedoraproject.org/koji/rpminfo?rpmID=38088624) it crashes 0AD with a myriad of error messages and stack traces. I always clicked "Debugger" on the white, aliased-text windows.

I wasn't able to copy the text from these, unfortunately. Consequently, screenshots of these are attached instead. However, GNOME-ABRT did manage to capture a backtrace, which has been reported at https://retrace.fedoraproject.org/faf/reports/1007153/. I can probably attach the local report's contents as a zip, if it's not too large for Trac.

Environment

kcm_about-distro reports:

Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.9.11-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor Memory: 30.5 GiB of RAM Graphics Processor: AMD Radeon RX 5700 Manufacturer: ASRock Product Name: X670E Taichi

I'm using https://download.fedoraproject.org/pub/fedora/linux/releases/40/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.14.iso.

Attachments (6)

#2.png (66.7 KB ) - added by Beedell, Roke, Julian Lockhart 7 weeks ago.
Screenshot #2
#1.png (25.0 KB ) - added by Beedell, Roke, Julian Lockhart 7 weeks ago.
Screenshot #1
#3.png (43.7 KB ) - added by Beedell, Roke, Julian Lockhart 7 weeks ago.
Screenshot #3
#4.png (51.4 KB ) - added by Beedell, Roke, Julian Lockhart 7 weeks ago.
Screenshot #4
atlas_window.png (39.6 KB ) - added by Beedell, Roke, Julian Lockhart 7 weeks ago.
This is the window which appears in the background after "Debugger" is clicked.
X11.png (1.5 MB ) - added by Beedell, Roke, Julian Lockhart 7 weeks ago.
The window rendering on X11.

Download all attachments as: .zip

Change History (13)

by Beedell, Roke, Julian Lockhart, 7 weeks ago

Attachment: #2.png added

Screenshot #2

by Beedell, Roke, Julian Lockhart, 7 weeks ago

Attachment: #1.png added

Screenshot #1

by Beedell, Roke, Julian Lockhart, 7 weeks ago

Attachment: #3.png added

Screenshot #3

by Beedell, Roke, Julian Lockhart, 7 weeks ago

Attachment: #4.png added

Screenshot #4

comment:1 by Beedell, Roke, Julian Lockhart, 7 weeks ago

Description: modified (diff)

comment:2 by Beedell, Roke, Julian Lockhart, 7 weeks ago

Description: modified (diff)

comment:3 by Stan, 7 weeks ago

Looking at the errors, it could be that wxwidgets provided by your distro were compiled without EGL support,

You could try what it says and run the game with X11.

The second message is the game telling you it cannot create the GL context needed to display the editor.

comment:4 by Beedell, Roke, Julian Lockhart, 7 weeks ago

Cc: Beedell, Roke, Julian Lockhart added

by Beedell, Roke, Julian Lockhart, 7 weeks ago

Attachment: atlas_window.png added

This is the window which appears in the background after "Debugger" is clicked.

by Beedell, Roke, Julian Lockhart, 7 weeks ago

Attachment: X11.png added

The window rendering on X11.

comment:5 by Beedell, Roke, Julian Lockhart, 7 weeks ago

Replying to Stan:

Looking at the errors, it could be that wxwidgets provided by your distro were compiled without EGL support,

You could try what it says and run the game with X11.

The second message is the game telling you it cannot create the GL context needed to display the editor.

Indeed. That works. I did as https://www.reddit.com/r/Fedora/comments/1cbgria/comment/l1dor96/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button describes:

Package                                                                                       Arch                Version                                                                                       Repository                                                 Size
Installing:                                                                                                                                                                                                                                                                    
 plasma-workspace-x11                                                                         x86_64              6.1.3-2.fc40                                                                                  updates                                               209.8 KiB
Installing dependencies:                                                                                                                                                                                                                                                       
 kwin-x11                                                                                     x86_64              6.1.3-2.fc40                                                                                  updates                                                 1.4 MiB
 xorg-x11-drv-libinput                                                                        x86_64              1.4.0-2.fc40                                                                                  fedora                                                 97.6 KiB
 xorg-x11-server-Xorg                                                                         x86_64              1.20.14-35.fc40                                                                               updates                                                 3.6 MiB
 xorg-x11-server-common                                                                       x86_64              1.20.14-35.fc40                                                                               updates                                               127.3 KiB
 xsetroot                                                                                     x86_64              1.1.2-10.fc40                                                                                 fedora                                                 27.0 KiB
Installing weak dependencies:                                                                                                                                                                                                                                                  
 libreoffice-x11                                                                              x86_64              1:24.2.5.2-2.fc40                                                                             updates                                               496.0 KiB

Transaction Summary:
 Installing:        7 packages

Total size of inbound packages is 2 MiB. Need to download 2 MiB.
After this operation 6 MiB will be used (install 6 MiB, remove 0 B).
Is this ok [y/N]: y
[1/7] xsetroot-0:1.1.2-10.fc40.x86_64                                                                                                                                                                                                  100% | 186.9 KiB/s |  19.6 KiB |  00m00s
[2/7] plasma-workspace-x11-0:6.1.3-2.fc40.x86_64                                                                                                                                                                                       100% | 723.1 KiB/s |  91.1 KiB |  00m00s
[3/7] xorg-x11-drv-libinput-0:1.4.0-2.fc40.x86_64                                                                                                                                                                                      100% | 776.8 KiB/s |  49.7 KiB |  00m00s
[4/7] xorg-x11-server-common-0:1.20.14-35.fc40.x86_64                                                                                                                                                                                  100% | 679.1 KiB/s |  36.0 KiB |  00m00s
[5/7] kwin-x11-0:6.1.3-2.fc40.x86_64                                                                                                                                                                                                   100% |   1.7 MiB/s | 484.7 KiB |  00m00s
[6/7] libreoffice-x11-1:24.2.5.2-2.fc40.x86_64                                                                                                                                                                                         100% |   2.3 MiB/s | 205.1 KiB |  00m00s
[7/7] xorg-x11-server-Xorg-0:1.20.14-35.fc40.x86_64                                                                                                                                                                                    100% |   2.6 MiB/s |   1.5 MiB |  00m01s
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[7/7] Total                                                                                                                                                                                                                            100% |   1.6 MiB/s |   2.4 MiB |  00m02s
Running transaction
[1/9] Verify package files                                                                                                                                                                                                             100% |   1.0 KiB/s |   7.0   B |  00m00s
[2/9] Prepare transaction                                                                                                                                                                                                              100% |  21.0   B/s |   7.0   B |  00m00s
[3/9] Installing libreoffice-x11-1:24.2.5.2-2.fc40.x86_64                                                                                                                                                                              100% |  40.4 MiB/s | 496.8 KiB |  00m00s
[4/9] Installing xorg-x11-server-common-0:1.20.14-35.fc40.x86_64                                                                                                                                                                       100% |  20.9 MiB/s | 128.2 KiB |  00m00s
[5/9] Installing xorg-x11-drv-libinput-0:1.4.0-2.fc40.x86_64                                                                                                                                                                           100% |  24.2 MiB/s |  99.1 KiB |  00m00s
[6/9] Installing xorg-x11-server-Xorg-0:1.20.14-35.fc40.x86_64                                                                                                                                                                         100% | 148.9 MiB/s |   3.6 MiB |  00m00s
[7/9] Installing kwin-x11-0:6.1.3-2.fc40.x86_64                                                                                                                                                                                        100% | 231.9 MiB/s |   1.4 MiB |  00m00s
[8/9] Installing xsetroot-0:1.1.2-10.fc40.x86_64                                                                                                                                                                                       100% |  13.7 MiB/s |  28.1 KiB |  00m00s
[9/9] Installing plasma-workspace-x11-0:6.1.3-2.fc40.x86_64                                                                                                                                                                            100% | 252.3 KiB/s | 210.6 KiB |  00m01s
>>> Running trigger-install scriptlet: glibc-common-0:2.39-17.fc40.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39-17.fc40.x86_64
>>> Running trigger-install scriptlet: man-db-0:2.12.0-6.fc40.x86_64
>>> Stop trigger-install scriptlet: man-db-0:2.12.0-6.fc40.x86_64
>>> Running trigger-install scriptlet: systemd-0:255.10-1.fc40.x86_64
>>> Stop trigger-install scriptlet: systemd-0:255.10-1.fc40.x86_64
Last edited 7 weeks ago by Beedell, Roke, Julian Lockhart (previous) (diff)

comment:6 by Beedell, Roke, Julian Lockhart, 7 weeks ago

Summary: Crash when invoking map editor.Crash when Atlas invoked from Wayland KWin session.

comment:7 by Beedell, Roke, Julian Lockhart, 6 weeks ago

Summary: Crash when Atlas invoked from Wayland KWin session.Atlas crashes when it is invoked from a Wayland KWin session.
Note: See TracTickets for help on using tickets.