supertuxkart / stk-code

The code base of supertuxkart
Other
4.49k stars 1.06k forks source link

STK randomly freezes and crashes #4429

Open livmion opened 3 years ago

livmion commented 3 years ago

Description

During races the application suddendly freezes and crashes. It happens randomly, there is no warning before and it can happen in every circuit.

Steps to reproduce

  1. Start the application
  2. Start a casual race
  3. Play just to the moment it will freeze and stop

Configuration

STK release version: 1.2 and last code release

STK Source (PPA, distribution package, official binary, etc.): official binaries and compiled GIT source code

System: Debian Bullseye

Graphics card: AMD Radeon 5600 XT

CPU: AMD Ryzen 5 2600

Gamepads/keyboards models if related to the issue: Logitech Dual Action

Additional information

stdout.log:

[error  ] User Config: Couldn't find parameter group ipv4-stun-servers
[error  ] User Config: Couldn't find parameter group ipv6-stun-servers
[info   ] [FileManager]: Data files will be fetched from: '../../data/'
[info   ] [FileManager]: Data files will be fetched from: '../../data/../../stk-assets/'
[info   ] [FileManager]: User directory is '/home/livmion/.config/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in '/home/livmion/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/livmion/.local/share/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/livmion/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '../../data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '../../data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '../../data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '../../data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '../../data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '../../data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '../../data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '../../data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '../../data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '../../data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '../../data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '../../data/../../stk-assets/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '../../data/../../stk-assets/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '../../data/../../stk-assets/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '../../data/../../stk-assets/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '../../data/../../stk-assets/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '../../data/../../stk-assets/tracks/'.
[verbose  ] translation: Env var LANGUAGE = 'en_US.UTF-8'.
[verbose  ] translation: Language 'English (United States)'.
[info   ] IrrDriver: OpenGL version: 4.6
[info   ] IrrDriver: OpenGL vendor: X.Org
[info   ] IrrDriver: OpenGL renderer: AMD Radeon RX 5600 XT (NAVI10, DRM 3.39.0, 5.9.0-1-amd64, LLVM 10.0.1)
[info   ] IrrDriver: OpenGL version string: 4.6 (Core Profile) Mesa 20.1.9
[info   ] GLDriver: ARB Buffer Storage Present
[info   ] GLDriver: ARB Compute Shader Present
[info   ] GLDriver: ARB Arrays of Arrays Present
[info   ] GLDriver: ARB Texture Storage Present
[info   ] GLDriver: ARB Texture View Present
[info   ] GLDriver: ARB Image Load Store Present
[info   ] GLDriver: ARB Shader Atomic Counters Present
[info   ] GLDriver: ARB Shader Storage Buffer Object Present
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Explicit Attrib Location Present
[info   ] GLDriver: EXT Texture Filter Anisotropic Present
[info   ] GLDriver: Geometry Shaders Present
[info   ] GLDriver: ARB Texture Buffer Object Present
[info   ] GLDriver: ARB Texture Swizzle Present
[info   ] GLDriver: ARB Pixel Buffer Object Present
[info   ] GLDriver: ARB Sampler Objects Present
[info   ] GLDriver: ARB Vertex Type 2_10_10_10_rev Present
[info   ] GLDriver: ARB Instanced Arrays Present
[info   ] SharedGPUObjects: Hardware Skinning enabled, method: TBO, max bones: 1024
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/screenquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/motion_blur.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/lightning.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/primitive2dlist.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/transparent.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/texturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/uniformcolortexturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/texturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/coloredquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/coloredquad.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/colortexturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/colortexturedquad.frag
[info   ] irr_driver: GLSL supported.
[info   ] SDLController: Logitech Dual Action plugged in: buttons: 12, axes: 4, hats: 1.
[info   ] SDLController: Logitech Dual Action uses game controller mapping Logitech Dual Action.
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_pass.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_solid.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/white.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_skinning.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_skinning_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_normal_map.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_shadow_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_decal.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_grass_pass.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_grass.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_grass_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_unlit.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_transparent.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_ghost.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_dynamic_night_bloom.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_tilling_mitigation.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_vertical_mapping.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_road_blending.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_displace.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/colorize.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_normal_visualizer.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_normal_visualizer.geom
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sp_normal_visualizer.frag
[info   ] GrandPrixManager: Loading Grand Prix files from ../../data/grandprix/
[info   ] GrandPrixManager: Loading Grand Prix files from /home/livmion/.local/share/supertuxkart/grandprix/
[info   ] [FileManager]: Creating directory(ies) '/home/livmion/.cache/supertuxkart/cached-textures/hd/karts/gnu'
[info   ] FileManager: Creating directory '/home/livmion/.cache/supertuxkart/cached-textures/hd/karts/gnu/'.
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] ChallengeData: Challenge <../../data/challenges/abyss.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'abyss' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/city.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'city' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/farm.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'farm' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/fortmagma.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'fortmagma' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/gp1.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'gp1' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/gp2.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'gp2' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/gp3.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'gp3' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/gp4.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'gp4' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/hacienda.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'hacienda' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/islandtrack.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'islandtrack' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/jungle.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'jungle' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/lighthouse.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'lighthouse' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/mansion.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'mansion' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/mines.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'mines' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/minigolf.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'minigolf' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/olivermath.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'olivermath' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/sandtrack.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'sandtrack' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/scotland.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'scotland' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/snowmountain.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'snowmountain' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/snowpeak.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'snowpeak' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/startrack.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'startrack' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/tuxtollway.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'tuxtollway' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/volcano_island.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'volcano_island' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/xr591.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'xr591' is not supported - ignored.
[warn   ] ChallengeData: Challenge <../../data/challenges/zengarden.challenge> is older or newer than this version of STK, will be ignored.

[warn   ] Challenge: Challenge 'zengarden' is not supported - ignored.
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/simple_particle.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/simple_particle.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/alphatest_particle.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/alphatest_particle.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/degraded_ibl.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sunlight.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/pointlight.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/pointlight.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/linearizedepth.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/ssao.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/bilateralH.comp
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/bilateralV.comp
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/combine_diffuse_color.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/glow.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/tonemap.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/mlaa_color1.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/mlaa_blend2.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/mlaa_neigh3.frag
[verbose  ] RaceManager: Nb of karts=20, ghost karts:0 ai:19 players:1

[info   ] [FileManager]: Creating directory(ies) '/home/livmion/.cache/supertuxkart/cached-textures/hd/tracks/snowtuxpeak'
[info   ] FileManager: Creating directory '/home/livmion/.cache/supertuxkart/cached-textures/hd/tracks/snowtuxpeak/'.
[info   ] Track: Overall scene complexity estimated at 32
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/importance_sampling_specular.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/IBL.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sunlightshadow.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sky.vert
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/sky.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/dof.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/bloom.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/gaussian6v.comp
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/gaussian6h.comp
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/gaussian6h.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/bloomblend.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/lensblend.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/passthrough.frag
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Track: Overall scene complexity estimated at 142
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/pointlightscatter.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/godfade.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/gaussian3v.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/gaussian3h.frag
[info   ] ShaderFilesManager: Compiling shader: /home/livmion/App/stk-code/data/shaders/godray.frag

input.xml:

NA

Error message:

NA
livmion commented 3 years ago

Update: the problem is present for now only in the circuit Ravenbridge Mansion. After the second curve the game freezes and I can’t netheir go back to the desktop.

livmion commented 3 years ago

Update: I found the problem, the bug is in the particle effects. Without this graphical option is possible to finish the race without any crash.

Benau commented 3 years ago

I cannot reproduce with my linux so it's likely driver issue, and we can do little about it

MassiminoilTrace commented 3 years ago

Yeah probably a driver issue, I have the exact same problem and I have a very similar GPU, mine is an Amd 5700 XT

Alayan-stk-2 commented 3 years ago

Someone with the relevant hardware that can reproduce this bug could try reporting this to the AMD linux driver bug tracker. @MassiminoilTrace

Without the problematic hardware in hand to test with, it's not so easy to know what's going wrong.

qwertychouskie commented 3 years ago

@MassiminoilTrace Link to the Mesa issue tracker: https://gitlab.freedesktop.org/mesa/mesa/-/issues

If you file an issue, please link to it here so we can keep track of the issue and whether any changes need to happen on our end.