Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion in race_manager.hpp #417

Closed
supertuxkart-sourceforge-migration opened this issue Feb 24, 2014 · 1 comment
Closed

Assertion in race_manager.hpp #417

supertuxkart-sourceforge-migration opened this issue Feb 24, 2014 · 1 comment

Comments

@supertuxkart-sourceforge-migration

Author: tomerb

stk trunk revision 9428.

Seems that every now and then (happened once just before starting a race, at the countdown, and twice while selecting a cart), I get the following assertion:
supertuxkart: ./race/race_manager.hpp:179: static const
RaceManager::MinorRaceModeType
RaceManager::getModeIDFromInternalName(const std::string&):
Assertion `0' failed.

The 'name' variable points to the string 'locked'.

This is the stack trace once it happens:
#0 getModeIDFromInternalName (this=0xb13fdf8) at ./race/race_manager.hpp:180
#1 RaceSetupScreen::onGameModeChanged (this=0xb13fdf8) at states_screens/race_setup_screen.cpp:155
#2 0x0810a9ea in GUIEngine::DynamicRibbonWidget::mouseHovered (this=0xb140348, child=0xab27c108, playerID=0)

at guiengine/widgets/dynamic_ribbon_widget.cpp:674

#3 0x080d5597 in GUIEngine::EventHandler::onGUIEvent (this=0x89413e0, event=...) at guiengine/event_handler.cpp:704
#4 0x080d590c in GUIEngine::EventHandler::OnEvent (this=0x89413e0, event=...) at guiengine/event_handler.cpp:126
#5 0x00557a55 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) () from /usr/local/lib/libIrrlicht.so.1.8.0-SVN
#6 0x00557a55 in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) () from /usr/local/lib/libIrrlicht.so.1.8.0-SVN
#7 0x0057d89f in irr::gui::CGUIEnvironment::updateHoveredElement(irr::core::vector2d) ()

from /usr/local/lib/libIrrlicht.so.1.8.0-SVN
#8 0x0057dd53 in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) ()

from /usr/local/lib/libIrrlicht.so.1.8.0-SVN
#9 0x005545ad in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) () from /usr/local/lib/libIrrlicht.so.1.8.0-SVN
#10 0x00549438 in irr::CIrrDeviceLinux::run() () from /usr/local/lib/libIrrlicht.so.1.8.0-SVN
#11 0x080accf1 in IrrDriver::update (this=0x8379a48, dt=0.0280000009) at graphics/irr_driver.cpp:1201
#12 0x0805bf9c in MainLoop::run (this=0x8a192d0) at main_loop.cpp:154
#13 0x080598d0 in main (argc=0, argv=0x0) at main.cpp:1093

@supertuxkart-sourceforge-migration

Author: auria
Fixed in r9436. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant