When completing any of 3 strikes, free for all, or soccer games, the game aborts with Assertion `false' failed.
Steps to reproduce
Start any battle
Play it to completion
Note abort just before the results menu is shown.
Configuration
STK release version: git
GDB puts the exact location of the abort as modified in this commit: b80df76116b4ee3041d1e39d7e203169eca12871 src/states_screens/race_result_gui.cpp:912
STK Source (PPA, distribution package, official binary, etc.): built from latest git
Graphics card: AMD Radeon R5
CPU: AMD A9-9425
Additional information
stdout.log:
/home/dustin/CLionProjects/stk-code/cmake-build-debug/bin/supertuxkart
[verbose ] main: Error messages and other text output will be logged to /home/dustin/.config/supertuxkart/config-0.10/stdout.log.
[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/dustin/.config/supertuxkart/config-0.10/'.
[info ] [FileManager]: Addons files will be stored in '/home/dustin/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/dustin/.local/share/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/dustin/.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'.
[verbose ] translation: Language 'English'.
..:: Antarctica Rendering Engine 2.0 ::..
[info ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info ] [IrrDriver Logger]: SDL Version 2.0.10
[info ] [IrrDriver Logger]: Using renderer: OpenGL 4.5
[info ] [IrrDriver Logger]: AMD STONEY (DRM 3.35.0, 5.4.0-94-generic, LLVM 12.0.0): AMD
[info ] [IrrDriver Logger]: OpenGL driver version is 1.2 or better.
[info ] [IrrDriver Logger]: GLSL version: 4.5
[info ] IrrDriver: OpenGL version: 4.5
[info ] IrrDriver: OpenGL vendor: AMD
[info ] IrrDriver: OpenGL renderer: AMD STONEY (DRM 3.35.0, 5.4.0-94-generic, LLVM 12.0.0)
[info ] IrrDriver: OpenGL version string: 4.5 (Core Profile) Mesa 21.0.3
[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/dustin/CLionProjects/stk-code/data/shaders/screenquad.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/motion_blur.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/lightning.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/primitive2dlist.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/transparent.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/texturedquad.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/uniformcolortexturedquad.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/texturedquad.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/coloredquad.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/coloredquad.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/colortexturedquad.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/colortexturedquad.frag
[info ] irr_driver: GLSL supported.
[info ] GUI: Inserting base theme peach into dependency chain
[info ] GUI: Loading skin data from file: ../../data/skins/peach/stkskin.xml
[info ] GUI: Loading skin data from file: ../../data/skins/coal/stkskin.xml
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_pass.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_solid.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_shadow.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/white.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_skinning.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_skinning_shadow.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_normal_map.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_alpha_test.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_shadow_alpha_test.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_decal.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_grass_pass.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_grass.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_grass_shadow.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_unlit.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_transparent.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_ghost.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_dynamic_night_bloom.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_tilling_mitigation.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_vertical_mapping.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_road_blending.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_displace.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/colorize.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_normal_visualizer.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_normal_visualizer.geom
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sp_normal_visualizer.frag
[info ] HTTPRequest: Downloading https://online.supertuxkart.net/dl/xml/online_news.xml
[info ] addons: Using cached addons.xml.
[warn ] track: Music information file 'amazon_jungle.music' not found for track 'Amazonian Journey' - ignored.
[warn ] track: Music information for track 'Amazonian Journey' replaced by default music.
[warn ] track: Music information file 'TheDeadRocks-EasyJob.music' not found for track 'Coyote Canyon' - ignored.
[warn ] track: Music information for track 'Coyote Canyon' replaced by default music.
[info ] GrandPrixManager: Loading Grand Prix files from ../../data/grandprix/
[info ] GrandPrixManager: Loading Grand Prix files from /home/dustin/.local/share/supertuxkart/grandprix/
[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
[info ] HTTPRequest: Downloading https://discord.com/api/v8/oauth2/applications/817760324983324753/assets
[info ] HTTPRequest: Sending userid=344564&token=************************ to https://online.supertuxkart.net/api/v2/user/saved-session/
[info ] Achievements: Synching achievement 1,2,3,4,5,6,7,8,9,11 to server.
[info ] HTTPRequest: Sending userid=344564&token=************************&achievementid=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C11 to https://online.supertuxkart.net/api/v2/user/achieving/
[info ] HTTPRequest: Sending userid=344564&token=************************&visitingid=344564 to https://online.supertuxkart.net/api/v2/user/get-friends-list/
[info ] HTTPRequest: Sending userid=344564&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] LayoutManager: Statically sized widgets took all the place!!
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/simple_particle.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/simple_particle.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/alphatest_particle.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/alphatest_particle.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/degraded_ibl.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sunlight.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/pointlight.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/pointlight.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/combine_diffuse_color.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/tonemap.frag
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] LayoutManager: Statically sized widgets took all the place!!
[warn ] AbstractTopLevelContainer::addWidgetsRecursively: Widget ai-blue-spinner of type 1 has no dimensions
[warn ] AbstractTopLevelContainer::addWidgetsRecursively: Widget ai-blue-text of type 5 has no dimensions
[verbose ] RaceManager: Nb of karts=2, ghost karts:0 ai:1 players:1
[warn ] Scripting preprocessing: /home/dustin/CLionProjects/stk-assets/library/gfx_advertisingScreenArena_a/scripting.as:105: warning: End of input with no newline, supplemented newline
[info ] Track: Overall scene complexity estimated at 821
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/importance_sampling_specular.frag
[warn ] Material: Cannot determine texture full path: icon-bonus-box.png
[error ] material: Cannot find texture 'icon-bonus-box.png'.
[warn ] Material: Cannot determine texture full path: item_spark.png
[error ] material: Cannot find texture 'item_spark.png'.
[warn ] Material: Cannot determine texture full path: icon-nitro-big.png
[error ] material: Cannot find texture 'icon-nitro-big.png'.
[warn ] Material: Cannot determine texture full path: icon-banana.png
[error ] material: Cannot find texture 'icon-banana.png'.
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sky.vert
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/sky.frag
[info ] ShaderFilesManager: Compiling shader: /home/dustin/CLionProjects/stk-code/data/shaders/passthrough.frag
[warn ] TrackObjectManager: Object not found : stklib_fitchBarrel_a_main_proxy.020::stklib_fitchBarrel_a_sandExplosion
[warn ] Material: Cannot determine texture full path: icon-bubblegum.png
[error ] material: Cannot find texture 'icon-bubblegum.png'.
[info ] HTTPRequest: Sending userid=344564&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
supertuxkart: /home/dustin/CLionProjects/stk-code/src/modes/world.hpp:270: virtual int World::getFinishedLapsOfKart(unsigned int) const: Assertion `false' failed.
Signal: SIGABRT (Aborted)
This abort probably stems from the call to World::getFinishedLapsOfKart being called when World::raceHasLaps is false. I'm not sure how to fix this, so I opened a issue instead.
Description
When completing any of 3 strikes, free for all, or soccer games, the game aborts with
Assertion `false' failed.
Steps to reproduce
Configuration
STK release version: git
GDB puts the exact location of the abort as modified in this commit: b80df76116b4ee3041d1e39d7e203169eca12871
src/states_screens/race_result_gui.cpp:912
STK Source (PPA, distribution package, official binary, etc.): built from latest git
Graphics card: AMD Radeon R5
CPU: AMD A9-9425
Additional information
stdout.log:
GDB digging
Stack at abort:
This abort probably stems from the call to
World::getFinishedLapsOfKart
being called whenWorld::raceHasLaps
is false. I'm not sure how to fix this, so I opened a issue instead.