supertuxkart / stk-code

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

undefined behaviour #2727

Open matthiaskrgr opened 7 years ago

matthiaskrgr commented 7 years ago

There seems to be a bunch of UB in stk:

compile with:

CFLAGS="-g3 -O0 -fno-omit-frame-pointer  -fsanitize=undefined" CXXFLAGS="$CFLAGS" cmake ..

launch with

UBSAN_OPTIONS=print_stacktrace=1 ./bin/supertuxkart

I launched the game and started playing on some underwater map with a few bots.

ctrl+f runtime error

Some of those findings seem to come from third party libs though.

verbose  ] main: Error messages and other text output will be logged to /home/matthias/.config/supertuxkart/0.8.2/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/matthias/.config/supertuxkart/0.8.2/'.
[info   ] [FileManager]: Addons files will be stored in '/home/matthias/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/matthias/.cache/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/matthias/.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/'.
[info   ] [FileManager]: Asset 4 will be loaded from '../data/../../stk-assets/library/'.
[info   ] [FileManager]: Asset 5 will be loaded from '../data/../../stk-assets/models/'.
[info   ] [FileManager]: Asset 6 will be loaded from '../data/../../stk-assets/music/'.
[info   ] [FileManager]: Asset 7 will be loaded from '../data/replay/'.
[info   ] [FileManager]: Asset 8 will be loaded from '../data/../../stk-assets/tracks/'.
[info   ] [FileManager]: Asset 9 will be loaded from '../data/../../stk-assets/sfx/'.
[info   ] [FileManager]: Asset 10 will be loaded from '../data/shaders/'.
[info   ] [FileManager]: Asset 11 will be loaded from '../data/skins/'.
[info   ] [FileManager]: Asset 12 will be loaded from '../data/../../stk-assets/textures/'.
[info   ] [FileManager]: Asset 13 will be loaded from '../data/ttf/'.
[info   ] [FileManager]: Asset 14 will be loaded from '../data/po/'.
[verbose  ] translation: Env var LANGUAGE = 'en_US.UTF-8'.
[verbose  ] translation: Language 'English (United States)'.
[warn   ] tinygettext: jbo.po: warning: ignoring, unknown language
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_NO.po: warning: ignoring, unknown language
[warn   ] tinygettext: sc.po: warning: ignoring, unknown language
[warn   ] tinygettext: sco.po: warning: ignoring, unknown language
Adding language fallback en
[warn   ] tinygettext: jbo.po: warning: ignoring, unknown language
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_NO.po: warning: ignoring, unknown language
[warn   ] tinygettext: sc.po: warning: ignoring, unknown language
[warn   ] tinygettext: sco.po: warning: ignoring, unknown language
/home/matthias/vcs/github/stk-code/src/karts/controller/ai_properties.cpp:31:29: runtime error: member call on null pointer of type 'RaceManager'
    #0 0x11fa7db in AIProperties::AIProperties(RaceManager::Difficulty) /home/matthias/vcs/github/stk-code/src/karts/controller/ai_properties.cpp:31:29
    #1 0x130ec3b in KartProperties::KartProperties(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/matthias/vcs/github/stk-code/src/karts/kart_properties.cpp:101:42
    #2 0xa3ad48 in STKConfig::STKConfig() /home/matthias/vcs/github/stk-code/src/config/stk_config.cpp:43:37
    #3 0x135c23a in initUserConfig() /home/matthias/vcs/github/stk-code/src/main.cpp:1354:35
    #4 0x135d771 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1536:9
    #5 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #6 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

Irrlicht Engine version 1.8.0
Linux 4.8.15-300.fc25.x86_64 #1 SMP Thu Dec 15 23:10:23 UTC 2016 x86_64
[warn   ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadFBConfig

[warn   ] [IrrDriver Temp Logger]: Level 2: From call : unknown

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:

[info   ] IrrDriver: OpenGL version: 3.3
[info   ] IrrDriver: OpenGL vendor: Intel Open Source Technology Center
[info   ] IrrDriver: OpenGL renderer: Mesa DRI Intel(R) Sandybridge Mobile 
[info   ] IrrDriver: OpenGL version string: 3.3 (Core Profile) Mesa 13.0.2
[info   ] GLDriver: AMD Vertex Shader Layer Present
[info   ] GLDriver: ARB Buffer Storage Present
[info   ] GLDriver: ARB Base Instance Present
[info   ] GLDriver: ARB Arrays of Arrays Present
[info   ] GLDriver: ARB Texture Storage 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
[warn   ] irr_driver: Created visual is not sRGB-capable. Re-creating device to workaround the issue.
[warn   ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadFBConfig

[warn   ] [IrrDriver Temp Logger]: Level 2: From call : unknown

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:

[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:

[info   ] IrrDriver: OpenGL version: 3.3
[info   ] IrrDriver: OpenGL vendor: Intel Open Source Technology Center
[info   ] IrrDriver: OpenGL renderer: Mesa DRI Intel(R) Sandybridge Mobile 
[info   ] IrrDriver: OpenGL version string: 3.3 (Core Profile) Mesa 13.0.2
[info   ] GLDriver: AMD Vertex Shader Layer Present
[info   ] GLDriver: ARB Buffer Storage Present
[info   ] GLDriver: ARB Base Instance Present
[info   ] GLDriver: ARB Arrays of Arrays Present
[info   ] GLDriver: ARB Texture Storage 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   ] ShaderBasedRenderer: Preloading shaders...
[info   ] ShaderFilesManager: Compiling shader : object_pass.vert
[info   ] ShaderFilesManager: Compiling shader : object_pass1.frag
[info   ] ShaderFilesManager: Compiling shader : splatting.frag
[info   ] ShaderFilesManager: Compiling shader : skinning.vert
[info   ] ShaderFilesManager: Compiling shader : transparent.frag
[info   ] ShaderFilesManager: Compiling shader : coloredquad.vert
[info   ] ShaderFilesManager: Compiling shader : coloredquad.frag
[info   ] ShaderFilesManager: Compiling shader : screenquad.vert
[info   ] ShaderFilesManager: Compiling shader : tonemap.frag
[info   ] ShaderFilesManager: Compiling shader : passthrough.frag
[info   ] ShaderFilesManager: Compiling shader : billboard.vert
[info   ] ShaderFilesManager: Compiling shader : billboard.frag
[info   ] ShaderFilesManager: Compiling shader : pointemitter.vert
[info   ] ShaderFilesManager: Compiling shader : particle.vert
[info   ] ShaderFilesManager: Compiling shader : particle.frag
[info   ] ShaderFilesManager: Compiling shader : object_pass2.frag
[info   ] ShaderFilesManager: Compiling shader : objectref_pass1.frag
[info   ] ShaderFilesManager: Compiling shader : objectref_pass2.frag
[info   ] ShaderFilesManager: Compiling shader : object_unlit.frag
[info   ] ShaderFilesManager: Compiling shader : normalmap.frag
[info   ] ShaderFilesManager: Compiling shader : grass_pass.vert
[info   ] ShaderFilesManager: Compiling shader : grass_pass2.frag
[info   ] ShaderFilesManager: Compiling shader : objectpass_spheremap.frag
[info   ] ShaderFilesManager: Compiling shader : detailed_object_pass2.frag
[info   ] ShaderBasedRenderer: Geometry will be rendered with GL3 policy.
[info   ] irr_driver: GLSL supported.
[info   ] SharedGPUObjects: Hardware skinning supported, max joints support: 1024
[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[info   ] ShaderFilesManager: Compiling shader : texturedquad.vert
[info   ] ShaderFilesManager: Compiling shader : texturedquad.frag
[info   ] ShaderFilesManager: Compiling shader : uniformcolortexturedquad.frag
[info   ] ShaderFilesManager: Compiling shader : colortexturedquad.vert
[info   ] ShaderFilesManager: Compiling shader : colortexturedquad.frag
[warn   ] Irrlicht: Could not open file of texture: ../data/../../stk-assets/tracks/Harvest/screenshot.jpg
[error  ] irr_driver: Texture '../data/../../stk-assets/tracks/Harvest/screenshot.jpg' not found.
[warn   ] Irrlicht: Could not open file of texture: ../data/../../stk-assets/tracks/city_catalina/screenshot.jpg
[error  ] irr_driver: Texture '../data/../../stk-assets/tracks/city_catalina/screenshot.jpg' not found.
[info   ] GrandPrixManager: Loading Grand Prix files from ../data/grandprix/
[info   ] GrandPrixManager: Loading Grand Prix files from /home/matthias/.local/share/supertuxkart/grandprix/
[warn   ] EventHandler: Error while loading kart 'Adiumy':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
/home/matthias/vcs/github/stk-code/lib/irrlicht/include/irrAllocator.h:47:22: runtime error: load of value 120, which is not a valid value for type 'const bool'
    #0 0x1d8b118 in irr::core::irrAllocator<bool>::construct(bool*, bool const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/include/irrAllocator.h:47:22
    #1 0x1d8b118 in irr::core::array<bool, irr::core::irrAllocator<bool> >::operator=(irr::core::array<bool, irr::core::irrAllocator<bool> > const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/include/irrArray.h:288
    #2 0x1d8a7dc in irr::core::irrAllocator<irr::core::array<bool, irr::core::irrAllocator<bool> > >::construct(irr::core::array<bool, irr::core::irrAllocator<bool> >*, irr::core::array<bool, irr::core::irrAllocator<bool> > const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/include/irrAllocator.h:47:20
    #3 0x1d8a7dc in irr::core::array<irr::core::array<bool, irr::core::irrAllocator<bool> >, irr::core::irrAllocator<irr::core::array<bool, irr::core::irrAllocator<bool> > > >::reallocate(unsigned int, bool) /home/matthias/vcs/github/stk-code/lib/irrlicht/include/irrArray.h:85
    #4 0x1d8971c in irr::core::array<irr::core::array<bool, irr::core::irrAllocator<bool> >, irr::core::irrAllocator<irr::core::array<bool, irr::core::irrAllocator<bool> > > >::insert(irr::core::array<bool, irr::core::irrAllocator<bool> > const&, unsigned int) /home/matthias/vcs/github/stk-code/lib/irrlicht/include/irrArray.h:159:4
    #5 0x1d5bda8 in irr::scene::CSkinnedMesh::finalize() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CSkinnedMesh.cpp:977:18
    #6 0x1ec9378 in irr::scene::CB3DMeshFileLoader::createMesh(irr::io::IReadFile*) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CB3DMeshFileLoader.cpp:62:17
    #7 0x1cd2f88 in irr::scene::CSceneManager::getMesh(irr::core::string<char, irr::core::irrAllocator<char> > const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CSceneManager.cpp:224:29
    #8 0xca1ccd in IrrDriver::getAnimatedMesh(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:1063:30
    #9 0x130003d in KartModel::loadModels(KartProperties const&) /home/matthias/vcs/github/stk-code/src/karts/kart_model.cpp:499:42
    #10 0x131049d in KartProperties::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/matthias/vcs/github/stk-code/src/karts/kart_properties.cpp:263:44
    #11 0x130eba1 in KartProperties::KartProperties(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/matthias/vcs/github/stk-code/src/karts/kart_properties.cpp:96:9
    #12 0x1324c43 in KartPropertiesManager::loadKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/matthias/vcs/github/stk-code/src/karts/kart_properties_manager.cpp:247:31
    #13 0x13249db in KartPropertiesManager::loadAllKarts(bool) /home/matthias/vcs/github/stk-code/src/karts/kart_properties_manager.cpp:165:33
    #14 0x135d8f8 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1555:36
    #15 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #16 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Amanda':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Emule':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Gavroche':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Hexley':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
[warn   ] EventHandler: Error while loading kart 'Konqi':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
[warn   ] EventHandler: Error while loading kart 'Tux':
[warn   ] Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
/home/matthias/vcs/github/stk-code/src/main_loop.cpp:121:46: runtime error: division by zero
    #0 0x1364984 in MainLoop::getLimitedDt() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:121:46
    #1 0x13651a0 in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:229:22
    #2 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #3 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #4 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/src/main_loop.cpp:121:38: runtime error: value inf is outside the range of representable values of type 'int'
    #0 0x13649a1 in MainLoop::getLimitedDt() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:121:38
    #1 0x13651a0 in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:229:22
    #2 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #3 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #4 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/src/guiengine/widgets/ribbon_widget.cpp:148:31: runtime error: division by zero
    #0 0x10d66ed in GUIEngine::RibbonWidget::add() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/ribbon_widget.cpp:148:31
    #1 0x1064740 in GUIEngine::DynamicRibbonWidget::buildInternalStructure() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/dynamic_ribbon_widget.cpp:436:17
    #2 0x105db7a in GUIEngine::DynamicRibbonWidget::add() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/dynamic_ribbon_widget.cpp:309:5
    #3 0xf6e1bb in GUIEngine::AbstractTopLevelContainer::addWidgetsRecursively(PtrVector<GUIEngine::Widget, (VECTOR_TYPE)1>&, GUIEngine::Widget*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_top_level_container.cpp:87:24
    #4 0xf6db54 in GUIEngine::AbstractTopLevelContainer::addWidgetsRecursively(PtrVector<GUIEngine::Widget, (VECTOR_TYPE)1>&, GUIEngine::Widget*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_top_level_container.cpp:64:13
    #5 0xf6db54 in GUIEngine::AbstractTopLevelContainer::addWidgetsRecursively(PtrVector<GUIEngine::Widget, (VECTOR_TYPE)1>&, GUIEngine::Widget*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_top_level_container.cpp:64:13
    #6 0xfa822b in GUIEngine::Screen::addWidgets() /home/matthias/vcs/github/stk-code/src/guiengine/screen.cpp:189:5
    #7 0xf6a45d in GUIEngine::AbstractStateManager::pushMenu(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_state_manager.cpp:113:5
    #8 0xf6a888 in GUIEngine::AbstractStateManager::pushScreen(GUIEngine::Screen*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_state_manager.cpp:133:5
    #9 0x1691e96 in MainMenuScreen::eventCallback(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) /home/matthias/vcs/github/stk-code/src/states_screens/main_menu_screen.cpp:394:12
    #10 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #11 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #12 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #13 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #14 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #15 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #16 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #17 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #18 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #19 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #20 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #21 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #22 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #23 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/src/guiengine/widgets/ribbon_widget.cpp:148:13: runtime error: value inf is outside the range of representable values of type 'int'
    #0 0x10d6718 in GUIEngine::RibbonWidget::add() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/ribbon_widget.cpp:148:13
    #1 0x1064740 in GUIEngine::DynamicRibbonWidget::buildInternalStructure() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/dynamic_ribbon_widget.cpp:436:17
    #2 0x105db7a in GUIEngine::DynamicRibbonWidget::add() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/dynamic_ribbon_widget.cpp:309:5
    #3 0xf6e1bb in GUIEngine::AbstractTopLevelContainer::addWidgetsRecursively(PtrVector<GUIEngine::Widget, (VECTOR_TYPE)1>&, GUIEngine::Widget*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_top_level_container.cpp:87:24
    #4 0xf6db54 in GUIEngine::AbstractTopLevelContainer::addWidgetsRecursively(PtrVector<GUIEngine::Widget, (VECTOR_TYPE)1>&, GUIEngine::Widget*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_top_level_container.cpp:64:13
    #5 0xf6db54 in GUIEngine::AbstractTopLevelContainer::addWidgetsRecursively(PtrVector<GUIEngine::Widget, (VECTOR_TYPE)1>&, GUIEngine::Widget*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_top_level_container.cpp:64:13
    #6 0xfa822b in GUIEngine::Screen::addWidgets() /home/matthias/vcs/github/stk-code/src/guiengine/screen.cpp:189:5
    #7 0xf6a45d in GUIEngine::AbstractStateManager::pushMenu(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_state_manager.cpp:113:5
    #8 0xf6a888 in GUIEngine::AbstractStateManager::pushScreen(GUIEngine::Screen*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_state_manager.cpp:133:5
    #9 0x1691e96 in MainMenuScreen::eventCallback(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) /home/matthias/vcs/github/stk-code/src/states_screens/main_menu_screen.cpp:394:12
    #10 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #11 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #12 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #13 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #14 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #15 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #16 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #17 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #18 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #19 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #20 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #21 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #22 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #23 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

[info   ] [FileManager]: Creating directory(ies) '/home/matthias/.cache/supertuxkart/cached-textures/hd/amanda/'
[info   ] [FileManager]: Checking for: '/
[info   ] [FileManager]: Checking for: '/home/
[info   ] [FileManager]: Checking for: '/home/matthias/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/hd/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/hd/amanda/
[info   ] FileManager: Creating directory '/home/matthias/.cache/supertuxkart/cached-textures/hd/amanda/'.
/home/matthias/vcs/github/stk-code/src/graphics/rtts.hpp:153:50: runtime error: reference binding to null pointer of type 'FrameBuffer'
    #0 0xe91455 in RTT::getShadowFrameBuffer() /home/matthias/vcs/github/stk-code/src/graphics/rtts.hpp:153:43
    #1 0xe91455 in ShaderBasedRenderer::renderScene(irr::scene::ICameraSceneNode*, float, bool, bool) /home/matthias/vcs/github/stk-code/src/graphics/shader_based_renderer.cpp:394
    #2 0xe9cce8 in ShaderBasedRenderer::renderToTexture(GL3RenderTarget*, irr::scene::ICameraSceneNode*, float) /home/matthias/vcs/github/stk-code/src/graphics/shader_based_renderer.cpp:954:5
    #3 0x10a0bb2 in GUIEngine::ModelViewWidget::update(float) /home/matthias/vcs/github/stk-code/src/guiengine/widgets/model_view_widget.cpp:189:22
    #4 0x10b7d9c in GUIEngine::PlayerKartWidget::add() /home/matthias/vcs/github/stk-code/src/guiengine/widgets/player_kart_widget.cpp:338:19
    #5 0x1678207 in KartSelectionScreen::joinPlayer(InputDevice*) /home/matthias/vcs/github/stk-code/src/states_screens/kart_selection.cpp:512:22
    #6 0x1675b71 in KartSelectionScreen::init() /home/matthias/vcs/github/stk-code/src/states_screens/kart_selection.cpp:379:9
    #7 0xf6a8f3 in GUIEngine::AbstractStateManager::pushScreen(GUIEngine::Screen*) /home/matthias/vcs/github/stk-code/src/guiengine/abstract_state_manager.cpp:134:13
    #8 0x1691e96 in MainMenuScreen::eventCallback(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) /home/matthias/vcs/github/stk-code/src/states_screens/main_menu_screen.cpp:394:12
    #9 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #10 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #11 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #12 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #13 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #14 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #15 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #16 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #17 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #18 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #19 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #20 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #21 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #22 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

[info   ] ShaderFilesManager: Compiling shader : degraded_ibl.frag
[info   ] ShaderFilesManager: Compiling shader : sunlight.frag
[info   ] ShaderFilesManager: Compiling shader : pointlight.vert
[info   ] ShaderFilesManager: Compiling shader : pointlight.frag
[warn   ] Irrlicht: Could not open file of texture: ../data/../../stk-assets/tracks/city_catalina/screenshot.jpg
[error  ] irr_driver: Texture '../data/../../stk-assets/tracks/city_catalina/screenshot.jpg' not found.
[error  ] icon_button: Texture '../data/../../stk-assets/tracks/city_catalina/screenshot.jpg' not found!

[warn   ] Irrlicht: Could not open file of texture: ../data/../../stk-assets/tracks/Harvest/screenshot.jpg
[error  ] irr_driver: Texture '../data/../../stk-assets/tracks/Harvest/screenshot.jpg' not found.
[error  ] icon_button: Texture '../data/../../stk-assets/tracks/Harvest/screenshot.jpg' not found!

[warn   ] Irrlicht: Could not open file of texture: ../data/../../stk-assets/tracks/city_catalina/screenshot.jpg
[error  ] irr_driver: Texture '../data/../../stk-assets/tracks/city_catalina/screenshot.jpg' not found.
[error  ] icon_button: Texture '../data/../../stk-assets/tracks/city_catalina/screenshot.jpg' not found!

[warn   ] Irrlicht: Could not open file of texture: ../data/../../stk-assets/tracks/Harvest/screenshot.jpg
[error  ] irr_driver: Texture '../data/../../stk-assets/tracks/Harvest/screenshot.jpg' not found.
[error  ] icon_button: Texture '../data/../../stk-assets/tracks/Harvest/screenshot.jpg' not found!

[verbose  ] RaceManager: Nb of karts=4, ghost karts:0 ai:3 players:1

[info   ] Singleton: Destroyed singleton.
[warn   ] EventHandler: While loading track '../data/../../stk-assets/tracks/abyss/track.xml'
[warn   ] Irrlicht: PNG warning: iCCP: profile 'ICC profile': 1000000h: invalid rendering intent
[info   ] ShaderFilesManager: Compiling shader : importance_sampling_specular.frag
/home/matthias/vcs/github/stk-code/lib/bullet/src/LinearMath/btVector3.h:414:28: runtime error: division by zero
    #0 0x13495b7 in operator/(btVector3 const&, float const&) /home/matthias/vcs/github/stk-code/lib/bullet/src/LinearMath/btVector3.h:414:28
    #1 0x13495b7 in btKart::setTimedRotation(float, btVector3 const&) /home/matthias/vcs/github/stk-code/src/physics/btKart.hpp:271
    #2 0x13444e9 in Skidding::reset() /home/matthias/vcs/github/stk-code/src/karts/skidding.cpp:86:31
    #3 0x12ab619 in Kart::init(RaceManager::KartType) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:232:22
    #4 0x13db4ea in World::createKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, RaceManager::KartType, PerPlayerDifficulty) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:354:15
    #5 0x13d7233 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:213:33
    #6 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #7 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #8 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #9 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #10 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #11 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #12 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #13 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #14 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #15 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #16 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #17 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #18 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #19 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #20 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #21 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #22 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #23 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #24 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:216:16: runtime error: left shift of 131073 by 15 places cannot be represented in type 'int'
    #0 0x19a22af in btHashedOverlappingPairCache::getHash(unsigned int, unsigned int) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:216:16
    #1 0x1999a49 in btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp:224:30
    #2 0x19621ce in btAxisSweep3Internal<unsigned short>::sortMinDown(int, unsigned short, btDispatcher*, bool) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:825:18
    #3 0x195fff0 in btAxisSweep3Internal<unsigned short>::addHandle(btVector3 const&, btVector3 const&, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:552:2
    #4 0x195572f in btAxisSweep3Internal<unsigned short>::createProxy(btVector3 const&, btVector3 const&, int, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:234:29
    #5 0x19ae9a7 in btCollisionWorld::addCollisionObject(btCollisionObject*, short, short) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp:131:57
    #6 0x18c18b6 in btDiscreteDynamicsWorld::addRigidBody(btRigidBody*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:416:3
    #7 0x14fde83 in Physics::addKart(AbstractKart const*) /home/matthias/vcs/github/stk-code/src/physics/physics.cpp:104:23
    #8 0x12af88b in Kart::reset() /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:314:33
    #9 0x12ab757 in Kart::init(RaceManager::KartType) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:236:5
    #10 0x13db4ea in World::createKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, RaceManager::KartType, PerPlayerDifficulty) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:354:15
    #11 0x13d7233 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:213:33
    #12 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #13 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #14 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #15 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #16 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #17 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #18 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #19 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #20 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #21 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #22 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #23 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #24 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #25 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #26 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #27 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #28 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #29 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #30 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:216:7: runtime error: signed integer overflow: 196609 + 2147450879 cannot be represented in type 'int'
    #0 0x19a22bf in btHashedOverlappingPairCache::getHash(unsigned int, unsigned int) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:216:7
    #1 0x1999a49 in btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp:224:30
    #2 0x19621ce in btAxisSweep3Internal<unsigned short>::sortMinDown(int, unsigned short, btDispatcher*, bool) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:825:18
    #3 0x195fff0 in btAxisSweep3Internal<unsigned short>::addHandle(btVector3 const&, btVector3 const&, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:552:2
    #4 0x195572f in btAxisSweep3Internal<unsigned short>::createProxy(btVector3 const&, btVector3 const&, int, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:234:29
    #5 0x19ae9a7 in btCollisionWorld::addCollisionObject(btCollisionObject*, short, short) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp:131:57
    #6 0x18c18b6 in btDiscreteDynamicsWorld::addRigidBody(btRigidBody*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:416:3
    #7 0x14fde83 in Physics::addKart(AbstractKart const*) /home/matthias/vcs/github/stk-code/src/physics/physics.cpp:104:23
    #8 0x12af88b in Kart::reset() /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:314:33
    #9 0x12ab757 in Kart::init(RaceManager::KartType) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:236:5
    #10 0x13db4ea in World::createKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, RaceManager::KartType, PerPlayerDifficulty) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:354:15
    #11 0x13d7233 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:213:33
    #12 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #13 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #14 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #15 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #16 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #17 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #18 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #19 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #20 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #21 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #22 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #23 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #24 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #25 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #26 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #27 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #28 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #29 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #30 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:218:16: runtime error: left shift of 2145550496 by 3 places cannot be represented in type 'int'
    #0 0x19a22d2 in btHashedOverlappingPairCache::getHash(unsigned int, unsigned int) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:218:16
    #1 0x1999a49 in btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp:224:30
    #2 0x19621ce in btAxisSweep3Internal<unsigned short>::sortMinDown(int, unsigned short, btDispatcher*, bool) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:825:18
    #3 0x195fff0 in btAxisSweep3Internal<unsigned short>::addHandle(btVector3 const&, btVector3 const&, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:552:2
    #4 0x195572f in btAxisSweep3Internal<unsigned short>::createProxy(btVector3 const&, btVector3 const&, int, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:234:29
    #5 0x19ae9a7 in btCollisionWorld::addCollisionObject(btCollisionObject*, short, short) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp:131:57
    #6 0x18c18b6 in btDiscreteDynamicsWorld::addRigidBody(btRigidBody*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:416:3
    #7 0x14fde83 in Physics::addKart(AbstractKart const*) /home/matthias/vcs/github/stk-code/src/physics/physics.cpp:104:23
    #8 0x12af88b in Kart::reset() /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:314:33
    #9 0x12ab757 in Kart::init(RaceManager::KartType) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:236:5
    #10 0x13db4ea in World::createKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, RaceManager::KartType, PerPlayerDifficulty) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:354:15
    #11 0x13d7233 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:213:33
    #12 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #13 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #14 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #15 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #16 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #17 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #18 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #19 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #20 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #21 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #22 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #23 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #24 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #25 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #26 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #27 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #28 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #29 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #30 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:220:16: runtime error: left shift of 2131582902 by 11 places cannot be represented in type 'int'
    #0 0x19a22f5 in btHashedOverlappingPairCache::getHash(unsigned int, unsigned int) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:220:16
    #1 0x1999a49 in btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp:224:30
    #2 0x19621ce in btAxisSweep3Internal<unsigned short>::sortMinDown(int, unsigned short, btDispatcher*, bool) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:825:18
    #3 0x195fff0 in btAxisSweep3Internal<unsigned short>::addHandle(btVector3 const&, btVector3 const&, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:552:2
    #4 0x195572f in btAxisSweep3Internal<unsigned short>::createProxy(btVector3 const&, btVector3 const&, int, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:234:29
    #5 0x19ae9a7 in btCollisionWorld::addCollisionObject(btCollisionObject*, short, short) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp:131:57
    #6 0x18c18b6 in btDiscreteDynamicsWorld::addRigidBody(btRigidBody*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:416:3
    #7 0x14fde83 in Physics::addKart(AbstractKart const*) /home/matthias/vcs/github/stk-code/src/physics/physics.cpp:104:23
    #8 0x12af88b in Kart::reset() /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:314:33
    #9 0x12ab757 in Kart::init(RaceManager::KartType) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:236:5
    #10 0x13db4ea in World::createKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, RaceManager::KartType, PerPlayerDifficulty) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:354:15
    #11 0x13d7233 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:213:33
    #12 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #13 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #14 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #15 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #16 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #17 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #18 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #19 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #20 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #21 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #22 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #23 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #24 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #25 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #26 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #27 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #28 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #29 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #30 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:220:7: runtime error: signed integer overflow: 2129963016 + 1522515967 cannot be represented in type 'int'
    #0 0x19a2305 in btHashedOverlappingPairCache::getHash(unsigned int, unsigned int) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h:220:7
    #1 0x1999a49 in btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp:224:30
    #2 0x19621ce in btAxisSweep3Internal<unsigned short>::sortMinDown(int, unsigned short, btDispatcher*, bool) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:825:18
    #3 0x195fff0 in btAxisSweep3Internal<unsigned short>::addHandle(btVector3 const&, btVector3 const&, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:552:2
    #4 0x195572f in btAxisSweep3Internal<unsigned short>::createProxy(btVector3 const&, btVector3 const&, int, void*, short, short, btDispatcher*, void*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:234:29
    #5 0x19ae9a7 in btCollisionWorld::addCollisionObject(btCollisionObject*, short, short) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp:131:57
    #6 0x18c18b6 in btDiscreteDynamicsWorld::addRigidBody(btRigidBody*) /home/matthias/vcs/github/stk-code/lib/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:416:3
    #7 0x14fde83 in Physics::addKart(AbstractKart const*) /home/matthias/vcs/github/stk-code/src/physics/physics.cpp:104:23
    #8 0x12af88b in Kart::reset() /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:314:33
    #9 0x12ab757 in Kart::init(RaceManager::KartType) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:236:5
    #10 0x13db4ea in World::createKart(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, RaceManager::KartType, PerPlayerDifficulty) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:354:15
    #11 0x13d7233 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:213:33
    #12 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #13 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #14 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #15 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #16 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #17 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #18 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #19 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #20 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #21 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #22 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #23 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #24 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #25 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #26 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #27 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #28 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #29 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #30 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../include/c++/6.3.1/ext/new_allocator.h:120:27: runtime error: load of value 16, which is not a valid value for type 'const PowerupManager::PowerupType'
    #0 0x11b1e8a in void __gnu_cxx::new_allocator<PowerupManager::PowerupType>::construct<PowerupManager::PowerupType, PowerupManager::PowerupType const&>(PowerupManager::PowerupType*, PowerupManager::PowerupType const&) /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../include/c++/6.3.1/ext/new_allocator.h:120:27
    #1 0x11b1e8a in void std::allocator_traits<std::allocator<PowerupManager::PowerupType> >::construct<PowerupManager::PowerupType, PowerupManager::PowerupType const&>(std::allocator<PowerupManager::PowerupType>&, PowerupManager::PowerupType*, PowerupManager::PowerupType const&) /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../include/c++/6.3.1/bits/alloc_traits.h:455
    #2 0x11b0112 in std::vector<PowerupManager::PowerupType, std::allocator<PowerupManager::PowerupType> >::push_back(PowerupManager::PowerupType const&) /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../include/c++/6.3.1/bits/stl_vector.h:918:6
    #3 0x11af05f in PowerupManager::updateWeightsForRace(unsigned int) /home/matthias/vcs/github/stk-code/src/items/powerup_manager.cpp:308:52
    #4 0x13d7578 in World::init() /home/matthias/vcs/github/stk-code/src/modes/world.cpp:233:22
    #5 0x13efece in WorldWithRank::init() /home/matthias/vcs/github/stk-code/src/modes/world_with_rank.cpp:44:12
    #6 0x1381fa5 in LinearWorld::init() /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:62:20
    #7 0x15337a2 in RaceManager::startNextRace() /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:539:24
    #8 0x153253c in RaceManager::startNew(bool) /home/matthias/vcs/github/stk-code/src/race/race_manager.cpp:453:5
    #9 0x176aa54 in TrackInfoScreen::onEnterPressedInternal() /home/matthias/vcs/github/stk-code/src/states_screens/track_info_screen.cpp:379:19
    #10 0xf88f45 in GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:529:29
    #11 0xf8b43c in GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:570:13
    #12 0xf84a4a in GUIEngine::EventHandler::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/src/guiengine/event_handler.cpp:149:16
    #13 0x1f2e7dc in irr::gui::CGUIEnvironment::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:399:23
    #14 0x2192bad in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225:26
    #15 0x2190c91 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:185:17
    #16 0x1f353cc in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570:23
    #17 0x1bcf1f1 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:227:30
    #18 0x1b9b943 in irr::CIrrDeviceLinux::run() /home/matthias/vcs/github/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1602:6
    #19 0xcad502 in IrrDriver::update(float) /home/matthias/vcs/github/stk-code/src/graphics/irr_driver.cpp:2075:20
    #20 0x13652aa in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:235:25
    #21 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #22 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #23 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

[info   ] [FileManager]: Creating directory(ies) '/home/matthias/.cache/supertuxkart/cached-textures/hd/xue/'
[info   ] [FileManager]: Checking for: '/
[info   ] [FileManager]: Checking for: '/home/
[info   ] [FileManager]: Checking for: '/home/matthias/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/hd/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/hd/xue/
[info   ] FileManager: Creating directory '/home/matthias/.cache/supertuxkart/cached-textures/hd/xue/'.
[info   ] [FileManager]: Creating directory(ies) '/home/matthias/.cache/supertuxkart/cached-textures/hd/wilber/'
[info   ] [FileManager]: Checking for: '/
[info   ] [FileManager]: Checking for: '/home/
[info   ] [FileManager]: Checking for: '/home/matthias/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/hd/
[info   ] [FileManager]: Checking for: '/home/matthias/.cache/supertuxkart/cached-textures/hd/wilber/
[info   ] FileManager: Creating directory '/home/matthias/.cache/supertuxkart/cached-textures/hd/wilber/'.
[info   ] ShaderFilesManager: Compiling shader : fog.frag
[info   ] ShaderFilesManager: Compiling shader : sky.vert
[info   ] ShaderFilesManager: Compiling shader : sky.frag
[info   ] ShaderFilesManager: Compiling shader : pointlightscatter.frag
[info   ] ShaderFilesManager: Compiling shader : gaussian6v.frag
[info   ] ShaderFilesManager: Compiling shader : gaussian6h.frag
[info   ] ShaderFilesManager: Compiling shader : transparentfog.frag
[info   ] ShaderFilesManager: Compiling shader : displace.vert
[info   ] ShaderFilesManager: Compiling shader : white.frag
[info   ] ShaderFilesManager: Compiling shader : displace.frag
[info   ] ShaderFilesManager: Compiling shader : primitive2dlist.vert
/home/matthias/vcs/github/stk-code/src/items/powerup_manager.cpp:365:11: runtime error: load of value 16, which is not a valid value for type 'value_type' (aka 'PowerupManager::PowerupType')
    #0 0x11af6d0 in PowerupManager::getRandomPowerup(unsigned int, unsigned int*) /home/matthias/vcs/github/stk-code/src/items/powerup_manager.cpp:365:11
    #1 0x11aba27 in Powerup::hitBonusBox(Item const&, int) /home/matthias/vcs/github/stk-code/src/items/powerup.cpp:454:44
    #2 0x12be7e9 in Kart::collectedItem(Item*, int) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:996:24
    #3 0x11912c8 in ItemManager::checkItemHit(AbstractKart*) /home/matthias/vcs/github/stk-code/src/items/item_manager.cpp:328:17
    #4 0x12c6f6f in Kart::update(float) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:1482:29
    #5 0x13e31e3 in World::update(float) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:988:25
    #6 0x13849c2 in LinearWorld::update(float) /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:157:20
    #7 0x13e1171 in World::updateWorld(float) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:860:9
    #8 0x1365379 in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:242:13
    #9 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #10 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #11 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

/home/matthias/vcs/github/stk-code/src/karts/controller/ai_base_controller.cpp:126:18: runtime error: division by zero
    #0 0x11eb4ca in AIBaseController::steerToPoint(Vec3 const&) /home/matthias/vcs/github/stk-code/src/karts/controller/ai_base_controller.cpp:126:18
    #1 0x123c85f in SkiddingAI::handleSteering(float) /home/matthias/vcs/github/stk-code/src/karts/controller/skidding_ai.cpp:560:23
    #2 0x1231365 in SkiddingAI::update(float) /home/matthias/vcs/github/stk-code/src/karts/controller/skidding_ai.cpp:353:9
    #3 0x12c31b2 in Kart::update(float) /home/matthias/vcs/github/stk-code/src/karts/kart.cpp:1230:23
    #4 0x13e31e3 in World::update(float) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:988:25
    #5 0x13849c2 in LinearWorld::update(float) /home/matthias/vcs/github/stk-code/src/modes/linear_world.cpp:157:20
    #6 0x13e1171 in World::updateWorld(float) /home/matthias/vcs/github/stk-code/src/modes/world.cpp:860:9
    #7 0x1365379 in MainLoop::run() /home/matthias/vcs/github/stk-code/src/main_loop.cpp:242:13
    #8 0x135ebc3 in main /home/matthias/vcs/github/stk-code/src/main.cpp:1766:20
    #9 0x7fc4d2aae400 in __libc_start_main (/lib64/libc.so.6+0x20400)
    #10 0x94d009 in _start (/home/matthias/vcs/github/stk-code/build/bin/supertuxkart+0x94d009)

[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[verbose  ] Thread: Start waiting 1865976.597000
[verbose  ] Thread: Stop waiting 1865978.603000
[verbose  ] Thread: Waited for more than 2.000000 seconds for thread to become deleteable
[info   ] Thread: News manager not stopping, exiting anyway.
[info   ] Singleton: Destroyed singleton.
auriamg commented 7 years ago

A few of them were fixed in my commit. A few more are fairly minor/unimportant. As for the others, pull requests are welcome