supertuxkart-sourceforge-migration / stk-migration-test2

0 stars 0 forks source link

Another segfault at start of Overworld #580

Closed supertuxkart-sourceforge-migration closed 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: kroartem

r[r4099 STK crashes if I try to open overworld or even a usual race. Stacktrace:

[Irrlicht Warning](10919]
irrlicht) PNG warning: Interlace handling should be turned on when using png_read_image
[Error](Irrlicht) PNG fatal error: bad adaptive filter value

Program received signal SIGSEGV, Segmentation fault.
0x0000000000a6d89a in irr::video::CImageLoaderPng::loadImage(irr::io::IReadFile*) const ()
(gdb) bt
#0  0x0000000000a6d89a in irr::video::CImageLoaderPng::loadImage(irr::io::IReadFile*) const ()
#1  0x0000000000a362ec in irr::video::CNullDriver::createImageFromFile(irr::io::IReadFile*) ()
#2  0x0000000000a38b6f in irr::video::CNullDriver::loadTextureFromFile ()
#3  0x0000000000a4211e in irr::video::CNullDriver::getTexture(irr::core::string<char, irr::core::irrAllocator<char> > const&) ()
#4  0x000000000074329d in IrrDriver::getTexture (this=0x128c210, filename=...,
    is_premul=false, is_prediv=false, complain_if_not_found=true)
    at /home/artem/SVN/supertuxkart/src/graphics/irr_driver.cpp:870
#5  0x00000000008ddbca in RaceGUIBase::RaceGUIBase (this=0x8a482b0)
    at /home/artem/SVN/supertuxkart/src/states_screens/race_gui_base.cpp:73
#6  0x00000000008e43ea in RaceGUIOverworld::RaceGUIOverworld (this=0x8a482b0)
    at /home/artem/SVN/supertuxkart/src/states_screens/race_gui_overworld.cpp:62
#7  0x0000000000841b7c in OverWorld::createRaceGUI (this=0xc01b7c0)
    at /home/artem/SVN/supertuxkart/src/modes/overworld.cpp:132
#8  0x000000000084b512 in World::init (this=0xc01b7c0)
    at /home/artem/SVN/supertuxkart/src/modes/world.cpp:117
#9  0x0000000000851e9c in WorldWithRank::init (this=0xc01b7c0)
    at /home/artem/SVN/supertuxkart/src/modes/world_with_rank.cpp:28
#10 0x000000000083d361 in LinearWorld::init (this=0xc01b7c0)
    at /home/artem/SVN/supertuxkart/src/modes/linear_world.cpp:54
---Type <return> to continue, or q <return> to quit---
#11 0x00000000008419f0 in OverWorld::init (this=0xc01b7c0)
    at /home/artem/SVN/supertuxkart/src/modes/overworld.cpp:83
#12 0x000000000088555c in RaceManager::startNextRace (this=0x18a1630)
    at /home/artem/SVN/supertuxkart/src/race/race_manager.cpp:366
#13 0x000000000088520a in RaceManager::startNew (this=0x18a1630)
    at /home/artem/SVN/supertuxkart/src/race/race_manager.cpp:307
#14 0x0000000000841942 in OverWorld::enterOverWorld ()
    at /home/artem/SVN/supertuxkart/src/modes/overworld.cpp:66
#15 0x00000000008c7086 in MainMenuScreen::eventCallback (this=0xbfa2ea0,
    widget=0x178f7e0, name=..., playerID=0)
    at /home/artem/SVN/supertuxkart/src/states_screens/main_menu_screen.cpp:284
#16 0x000000000077e57e in GUIEngine::EventHandler::sendEventToUser (
    this=0x1b248e0, widget=0x178f7e0, name=..., playerID=0)
    at /home/artem/SVN/supertuxkart/src/guiengine/event_handler.cpp:587
#17 0x000000000077e776 in GUIEngine::EventHandler::onWidgetActivated (
    this=0x1b248e0, w=0x1791820, playerID=0)
    at /home/artem/SVN/supertuxkart/src/guiengine/event_handler.cpp:626
#18 0x000000000077e9c0 in GUIEngine::EventHandler::onGUIEvent (this=0x1b248e0,
    event=...)
    at /home/artem/SVN/supertuxkart/src/guiengine/event_handler.cpp:670
#19 0x000000000077d69c in GUIEngine::EventHandler::OnEvent (this=0x1b248e0,
    event=...)
    at /home/artem/SVN/supertuxkart/src/guiengine/event_handler.cpp:126
---Type <return> to continue, or q <return> to quit---
#20 0x0000000000aeef3d in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) ()
#21 0x0000000000aef017 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) ()
#22 0x000000000097911a in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) ()
#23 0x0000000000971ba4 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) ()
#24 0x0000000000968fc4 in irr::CIrrDeviceLinux::run() ()
#25 0x0000000000744bcd in IrrDriver::update (this=0x128c210, dt=0.0280000009)
    at /home/artem/SVN/supertuxkart/src/graphics/irr_driver.cpp:1253
#26 0x000000000083addc in MainLoop::run (this=0x2083600)
    at /home/artem/SVN/supertuxkart/src/main_loop.cpp:160
#27 0x0000000000838e6f in main (argc=1, argv=0x7fffffffe1e8)
    at /home/artem/SVN/supertuxkart/src/main.cpp:1373
(gdb)
supertuxkart-sourceforge-migration commented 10 years ago

Author: computerfreak97 FIX: Re-export gage_full.png in trunk/data/gui using gimp (or probably any other program).

Can someone go ahead and do this then commit to SVN?

supertuxkart-sourceforge-migration commented 10 years ago

Author: computerfreak97 The file should be gauge_full.png.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria kroartem, since you reported this bug, can you verify if the suggested fix works?

computerfreak: please do not close tickets until the bugfix is actually committed, thanks

supertuxkart-sourceforge-migration commented 10 years ago

Author: computerfreak97 Replying to auria:

kroartem, since you reported this bug, can you verify if the suggested fix works?

computerfreak: please do not close tickets until the bugfix is actually committed, thanks

Sorry. Will do.

supertuxkart-sourceforge-migration commented 10 years ago

Author: kroartem Replying to auria:

kroartem, since you reported this bug, can you verify if the suggested fix works?

Yes, everything works properly, I'm closing this ticket.

supertuxkart-sourceforge-migration commented 10 years ago

Author: wardje Reopening, still getting this exact error on my laptop apparently.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria wardje: then can you please verify if re-exporting the PNG file fixes the issue? If so could you commit the re-exported file

supertuxkart-sourceforge-migration commented 10 years ago

Author: wardje Re-exported with GIMP in r11142, fixes the issue for me.