auriamg / stk-code

The code base of supertuxkart
Other
0 stars 0 forks source link

STK crashes after end Fortmagma challenge first time #567

Closed auriamg closed 10 years ago

auriamg commented 10 years ago

After win Fortmagma challenge first time, I should see endcutscene. But STK crashes when it should be. It crashes only first time, before video.

Changed manually in challenges.xml solved="true" to "false" in fortmagma challenge.

If you need logs, I will send it later, because now I have compiled STK without debug mode.

auriamg commented 10 years ago

Author: deveee GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/Dokumenty/Moje mieci/supertuxkart/bin/supertuxkart...done. (gdb) run Starting program: /home/Dokumenty/Moje mieci/supertuxkart/bin/supertuxkart debugging using libthread_db enabled Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". Irrlicht Engine version 1.8.0-alpha Linux 3.5-trunk-686-pae #1 SMP Mon Aug 20 04:55:13 UTC 2012 i686 [Data files will be fetched from: '.' FileManager Addons files will be stored in '/home/Gry/Supertuxkart 0.8d5/.local/share/supertuxkart/addons'. [Env var LANGUAGE = 'pl' translate Env var LANGUAGE = 'pl', which corresponds to 'Polish' [Trying OpenGL rendering. IrrDriver Temp Logger Level 2: No FSAA available. Thread 0xb214fb70 (LWP 28868) Thread 0xb1687b70 (LWP 28872) 0xb1687b70 (LWP 28872) exited Thread 0xb1687b70 (LWP 28873) Warning Could not open file of texture: chinch-fur.rgb Warning Could not open file of texture: chinch-skin.rgb startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7 [WARNING, cannot find texture 'light.png' Irrlicht Error Could not load texture: [IrrDriver] Texture '' not found; Put a breakpoint at line /home/Dokumenty/Moje mieci/supertuxkart/src/graphics/irr_driver.cpp:1131 to debug! startMusic : m_normal_filename=<./data/tracks/introcutscene2/intro2.ogg>, gain=0.7 startMusic : m_normal_filename=<./data//music/MayDayMayhem.ogg>, gain=0.7 Kart: 29.709999 518.349976 Challenge : 28.920000 531.900024 --> -0.058236 startMusic : m_normal_filename=<./data/music///Lava.ogg>, gain=0.7 === Race finished === startMusic : m_normal_filename=<./data/music///race_summary.ogg>, gain=0.7

Program received signal SIGSEGV, Segmentation fault. 0x10000000 in ?? ()

(gdb) bt full

0 0x10000000 in ?? ()

No symbol table info available.

1 0x08431143 in InputManager::dispatchInput (this=0xb18f3360,

type=Input::IT_KEYBOARD, deviceID=0, button=162, 
axisDirection=Input::AD_POSITIVE, value=0)
at /home/Dokumenty/Moje mieci/supertuxkart/src/input/input_manager.cpp:582
    pk = 0xad61d30
    player = 0xaeaadc0
    action = PA_FIRE
    action_found = true

2 0x0843194a in InputManager::input (this=0xb18f3360, event=...)

at /home/Dokumenty/Moje mieci/supertuxkart/src/input/input_manager.cpp:835
    key = 162

3 0x083e4293 in GUIEngine::EventHandler::OnEvent (this=0x9213048, event=...)

at /home/Dokumenty/Moje mieci/supertuxkart/src/guiengine/event_handler.cpp:172
    blockPropagation = 147394648

4 0x0863e160 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) ()

No symbol table info available.

5 0x086382af in irr::CIrrDeviceLinux::run() ()

No symbol table info available. ---Type to continue, or q to quit---

6 0x083b0de2 in IrrDriver::update (this=0x8c66858, dt=0.0350000001)

at /home/Dokumenty/Moje mieci/supertuxkart/src/graphics/irr_driver.cpp:1448
    inRace = false
    color = {color = 3081512063}
    world = 0xc3438000
    back_buffer_clear = false
    material = {TextureLayer = {{Texture = 0x83eead7, 
          TextureWrapU = 4 '\004', TextureWrapV = 10 '\n', 
          BilinearFilter = false, TrilinearFilter = true, 
          AnisotropicFilter = 255 '\377', LODBias = -65 '\277', 
          MatrixAllocator = {_vptr.irrAllocator = 0xbffff208}, 
          TextureMatrix = 0x1}, {Texture = 0x846fdac, 
          TextureWrapU = 12 '\f', TextureWrapV = 6 '\006', 
          BilinearFilter = false, TrilinearFilter = true, 
          AnisotropicFilter = 255 '\377', LODBias = -65 '\277', 
          MatrixAllocator = {_vptr.irrAllocator = 0xc302797c}, 
          TextureMatrix = 0xbcfd770}, {Texture = 0x0, 
          TextureWrapU = 0 '\000', TextureWrapV = 12 '\f', 
          BilinearFilter = true, TrilinearFilter = true, 
          AnisotropicFilter = 176 '\260', LODBias = -73 '\267', 
          MatrixAllocator = {_vptr.irrAllocator = 0xbffff201}, 
          TextureMatrix = 0xbffff248}, {Texture = 0x8384351, 

---Type to continue, or q to quit--- TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', BilinearFilter = false, TrilinearFilter = false, AnisotropicFilter = 0 '\000', LODBias = 0 '\000', MatrixAllocator = {_vptr.irrAllocator = 0x0}, TextureMatrix = 0xbfe99dc}}, MaterialType = 137904940, AmbientColor = {color = 0}, DiffuseColor = {color = 181804404}, EmissiveColor = {color = 3221221992}, SpecularColor = { color = 29569012}, Shininess = 428.986755, MaterialTypeParam = 0, MaterialTypeParam2 = -1.99958515, Thickness = 5.54377141e-34, ZBuffer = 0 '\000', AntiAliasing = 0 '\000', ColorMask = 0 '\000', ColorMaterial = 0 '\000', BlendOperation = irr::video::EBO_NONE, PolygonOffsetFactor = 0 '\000', PolygonOffsetDirection = irr::video::EPO_BACK, Wireframe = false, PointCloud = false, GouraudShading = false, Lighting = false, ZWriteEnable = false, BackfaceCulling = false, FrontfaceCulling = false, FogEnable = false, NormalizeNormals = false, UseMipMaps = false}

7 0x0849c438 in MainLoop::run (this=0xb1864930)

at /home/Dokumenty/Moje mieci/supertuxkart/src/main_loop.cpp:160
    dt = 0.0350000001
    device = 0x8c66920

8 0x0849a856 in main (argc=1, argv=0xbffff634)

at /home/Dokumenty/Moje mieci/supertuxkart/src/main.cpp:1427

---Type to continue, or q to quit--- materials_file = {static npos = , _M_dataplus = {std::allocator = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0xa1fb574 "./data/models//materials.xml"}} (gdb)

auriamg commented 10 years ago

Author: deveee It doesn't work since r11601 - Upate overworld with orbs for Fort Magma. So it never worked in my case.

It's a bug or it is not written yet? I don't know if try to fix it.

auriamg commented 10 years ago

Author: auria Hi,

I committed a potential fix.

If it still crashes, please post a new backtrace. Thanks (PS: when posting a backtrace, it is usually good to also include the SVN revision number, so that it's easier for us to match line numbers)

auriamg commented 10 years ago

Author: deveee I know it about SVN revision number. When I looked on this log, I had also problem with that ;) It was probably r11633, because I always use recent version to create log.

STK r11787 unfortunatelly still crashes, log in attachment.

auriamg commented 10 years ago

Author: auria I committed a tentative fix in r11914, can you please try again? thanks

auriamg commented 10 years ago

Author: deveee In my case everything is OK now. STK doesn't crash, I see video with Gnu and Tux, then credits.

I think it's fixed.

auriamg commented 10 years ago

Author: auria Thanks for testing!