Bug 2144296

Summary: Super Tux Kart core dumps on battle mode when using "too many" players
Product: [Fedora] Fedora Reporter: Eric L. <ewl+redhat>
Component: supertuxkartAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 37CC: gwync, igor.raits, nathan95, richmattes, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: supertuxkart-1.4-5.fc37 supertuxkart-1.4-5.fc36 supertuxkart-stable-3720230113152856.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-09 01:05:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
~/.config/supertuxkart/config-0.10/stdout.log none

Description Eric L. 2022-11-20 15:23:01 UTC
Created attachment 1925956 [details]
~/.config/supertuxkart/config-0.10/stdout.log

Created attachment 1925956 [details]
~/.config/supertuxkart/config-0.10/stdout.log

Description of problem:

SuperTuxKart crashes on certain Arena in Battle Mode where it used to work flawlessly.

Version-Release number of selected component (if applicable):

The same setup used to work before the update on the 17th of November:

    Upgrade       supertuxkart-1.4-2.fc36.x86_64                                 @updates
    Upgraded      supertuxkart-1.3-3.fc36.1.x86_64                               @@System
    Upgrade       supertuxkart-data-1.4-2.fc36.noarch                            @updates
    Upgraded      supertuxkart-data-1.3-3.fc36.1.noarch                          @@System

Since then, I upgraded to F37 but it didn't worsen or improve the situation.

How reproducible:

This always happens depending on the combination of field chosen and number of
players. The failing fields seem to fail with 5 players or more (either 1
human and 4 AI players, or 2 humans and 3 AIs, doesn't seem to matter)

Steps to Reproduce:
1. go to Single or Splitscreen mode and select one or two players
2. Start the battle mode
3. Select an arena (Pumpkin Park, Temple and Skate have the issue; Cave X and
Battle Space don't - but Cave X can have only a max of 4 players)
4. Start -> coredump

Actual results:

Crash

Expected results:

Play!

Additional info:

It doesn't depend on the language, I switched from German to English, for the same result.

As the video seems the most relevant, here an extract of my config:

    <Video
        real_width="3438"
        real_height="1362"
        width="3438"
        height="1362"
        fullscreen="false"
        prev_real_width="1024"
        prev_real_height="768"
        prev_fullscreen="false"
        remember_window_location="false"
        window_x="-1"
        window_y="-1"
        show_fps="false"
        show_story_mode_timer="true"
        show_speedrun_timer="false"
        max_fps="120"
        force_legacy_device="false"
        split_screen_horizontally="false"
        enable_texture_compression="true"
        enable_high_definition_textures="3"
        enable_glow="false"
        enable_bloom="false"
        enable_light_shaft="false"
        enable_dynamic_lights="true"
        enable_dof="false"
        old_driver_popup="true"
        scale_rtts_factor="0.750000"
        max_texture_size="512"
        hq_mipmap="false"
        font_size="3.000000"
        render_driver="gl"
        vulkan_fullscreen_desktop="true"
    >
    </Video>

I have 16GB of RAM but run only on the integrated GPU of an Intel(R) Core(TM)
i5-6500 CPU @ 3.20GHz (but performance is otherwise OK, and it used to work).

Note that reporting the issue via the Problem Reporting application failed on the Stacktrace step (some directory missing).

Comment 1 Gwyn Ciesla 2022-12-08 19:57:09 UTC
You still see this with the 1.4-4 package?

Comment 2 Eric L. 2022-12-28 19:29:12 UTC
Sorry for the delay, and yes: supertuxkart-1.4-4.fc37.x86_64, issue is still there.

Comment 3 Gwyn Ciesla 2023-01-04 20:23:54 UTC
Upstream seems to think it's a gcc bug but I did a local rebuild with clang and it still crashes.

https://github.com/supertuxkart/stk-code/issues/4834

Comment 4 Gwyn Ciesla 2023-01-05 18:19:19 UTC
Upstream sent a working patch, update forthcoming.

Comment 5 Fedora Update System 2023-01-05 19:11:05 UTC
FEDORA-2023-322ef3b249 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-322ef3b249

Comment 6 Fedora Update System 2023-01-05 19:11:06 UTC
FEDORA-2023-a2780bdfec has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a2780bdfec

Comment 7 Fedora Update System 2023-01-06 01:10:07 UTC
FEDORA-2023-a2780bdfec has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a2780bdfec`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a2780bdfec

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

Comment 8 Fedora Update System 2023-01-06 01:13:36 UTC
FEDORA-2023-322ef3b249 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-322ef3b249`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-322ef3b249

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

Comment 9 Fedora Update System 2023-01-09 01:05:38 UTC
FEDORA-2023-a2780bdfec has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-01-13 16:37:31 UTC
FEDORA-FLATPAK-2023-94d602ccb7 has been submitted as an update to Fedora 37 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-94d602ccb7

Comment 11 Fedora Update System 2023-01-14 00:54:13 UTC
FEDORA-2023-322ef3b249 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-01-14 01:32:51 UTC
FEDORA-FLATPAK-2023-94d602ccb7 has been pushed to the Fedora 37 Flatpaks testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-94d602ccb7

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

Comment 13 Fedora Update System 2023-01-22 02:47:01 UTC
FEDORA-FLATPAK-2023-94d602ccb7 has been pushed to the Fedora 37 Flatpaks stable repository.
If problem still persists, please make note of it in this bug report.