Stk r[12862], Ubuntu 13.04 64-bit
I was playing a challenge "Northern resort" launched from overworld and when I finished it I saw congrats and a button "You completed a challenge!" When I pressed it, the game crashed.
Backtrace:
WARNING: invalid position after rescue for kart addon_skirpy on track snowtuxpeak.
WARNING: invalid position after rescue for kart konqi on track snowtuxpeak.
supertuxkart: /home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp:157: const string& ChallengeData::getTrackId() const: Assertion `m_mode==CM_SINGLE_RACE' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff5f9e037 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: .
(gdb) bt
#0 0x00007ffff5f9e037 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff5fa1698 in __GI_abort () at abort.c:90
#2 0x00007ffff5f96e03 in __assert_fail_base (
fmt=0x7ffff60ed578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0xe97f02 "m_mode==CM_SINGLE_RACE",
file=file@entry=0xe97ec0 "/home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp", line=line@entry=157,
function=function@entry=0xe98700 <ChallengeData::getTrackId() const::__PRETTY_FUNCTION__> "const string& ChallengeData::getTrackId() const") at assert.c:92
#3 0x00007ffff5f96eb2 in __GI___assert_fail (
assertion=0xe97f02 "m_mode==CM_SINGLE_RACE",
file=0xe97ec0 "/home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp", line=157,
function=0xe98700 <ChallengeData::getTrackId() const::__PRETTY_FUNCTION__> "const string& ChallengeData::getTrackId() const") at assert.c:101
#4 0x00000000007566e9 in ChallengeData::getTrackId (this=0x7609a20)
at /home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp:157
#5 0x000000000075ad5a in UnlockManager::findWhatWasUnlocked (this=0x65f22a0,
points_before=80, points_now=90, tracks=..., gps=...)
at /home/kroartem/SVN/supertuxkart/src/challenges/unlock_manager.cpp:437
#6 0x0000000000929cb7 in FeatureUnlockedCutScene::findWhatWasUnlocked (
this=0x15369770, difficulty=RaceManager::DIFFICULTY_HARD)
---Type <return> to continue, or q <return> to quit---
at /home/kroartem/SVN/supertuxkart/src/states_screens/feature_unlocked.cpp:154
#7 0x000000000096a39a in RaceResultGUI::eventCallback (this=0x15cbd620,
widget=0x15cc08a0, name=..., playerID=0)
at /home/kroartem/SVN/supertuxkart/src/states_screens/race_result_gui.cpp:205
#8 0x00000000007d1abd in GUIEngine::EventHandler::sendEventToUser (
this=0x1c67b30, widget=0x15cc08a0, name=..., playerID=0)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:609
#9 0x00000000007d1d88 in GUIEngine::EventHandler::onWidgetActivated (
this=0x1c67b30, w=0x15cc08a0, playerID=0)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:658
#10 0x00000000007d1130 in GUIEngine::EventHandler::processGUIAction (
this=0x1c67b30, action=PA_MENU_SELECT, deviceID=13, value=32768,
type=Input::IT_KEYBOARD, playerID=0)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:311
#11 0x000000000082798b in InputManager::dispatchInput (this=0x19aeb40,
type=Input::IT_KEYBOARD, deviceID=13, button=13,
axisDirection=Input::AD_POSITIVE, value=32768)
at /home/kroartem/SVN/supertuxkart/src/input/input_manager.cpp:659
#12 0x0000000000827e4f in InputManager::input (this=0x19aeb40, event=...)
at /home/kroartem/SVN/supertuxkart/src/input/input_manager.cpp:817
#13 0x00000000007d0c8a in GUIEngine::EventHandler::OnEvent (this=0x1c67b30,
---Type <return> to continue, or q <return> to quit---
event=...)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:172
#14 0x0000000000a8dbbb in irr::CIrrDeviceStub::postEventFromUser (
this=0x13fe750, event=...)
at /home/kroartem/SVN/supertuxkart/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:217
#15 0x0000000000a8a615 in irr::CIrrDeviceLinux::run (this=0x13fe750)
at /home/kroartem/SVN/supertuxkart/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1081
#16 0x000000000078d807 in IrrDriver::update (this=0x13fe6d0, dt=0.0280000009)
at /home/kroartem/SVN/supertuxkart/src/graphics/irr_driver.cpp:1570
#17 0x00000000008a4795 in MainLoop::run (this=0x1d4d7b0)
at /home/kroartem/SVN/supertuxkart/src/main_loop.cpp:163
#18 0x00000000008a2722 in main (argc=1, argv=0x7fffffffe098)
at /home/kroartem/SVN/supertuxkart/src/main.cpp:1525
(gdb)
Another backtrace:
Adding lod obj to group <pillar>
Adding lod obj to group <pillar2>
Adding lod obj to group <pillar2>
Adding lod obj to group <pillar>
Adding lod obj to group <pillar>
Adding lod obj to group <pillar>
History saved in ./history.dat.
supertuxkart: /home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp:157: const string& ChallengeData::getTrackId() const: Assertion `m_mode==CM_SINGLE_RACE' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff5f9e037 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: .
(gdb) bt full
#0 0x00007ffff5f9e037 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 11831
selftid = 11831
#1 0x00007ffff5fa1698 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffffffe3f0,
sa_sigaction = 0x7fffffffe3f0}, sa_mask = {__val = {
140737321539876, 15302080, 157, 4294967296, 140737320159377,
137810056, 21020430, 47244640257, 4, 140737488343728, 0, 0, 0,
140737321539219, 140737174679552, 140737321555320}},
sa_flags = 15302146,
sa_restorer = 0xe98600 <ChallengeData::getTrackId() const::__PRETTY_FUNCTION__>}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff5f96e03 in __assert_fail_base (
fmt=0x7ffff60ed578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0xe97e02 "m_mode==CM_SINGLE_RACE",
file=file@entry=0xe97dc0 "/home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp", line=line@entry=157,
function=function@entry=0xe98600 <ChallengeData::getTrackId() const::__PRETTY_FUNCTION__> "const string& ChallengeData::getTrackId() const") at assert.c:92
---Type <return> to continue, or q <return> to quit---
str = 0x20dc2140 "p\"\334 "
total = 4096
#3 0x00007ffff5f96eb2 in __GI___assert_fail (
assertion=0xe97e02 "m_mode==CM_SINGLE_RACE",
file=0xe97dc0 "/home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp", line=157,
function=0xe98600 <ChallengeData::getTrackId() const::__PRETTY_FUNCTION__> "const string& ChallengeData::getTrackId() const") at assert.c:101
No locals.
#4 0x00000000007566e9 in ChallengeData::getTrackId (this=0x95e1c50)
at /home/kroartem/SVN/supertuxkart/src/challenges/challenge_data.hpp:157
__PRETTY_FUNCTION__ = "const string& ChallengeData::getTrackId() const"
#5 0x000000000075ad5a in UnlockManager::findWhatWasUnlocked (this=0x9d9d0e0,
points_before=30, points_now=40, tracks=..., gps=...)
at /home/kroartem/SVN/supertuxkart/src/challenges/unlock_manager.cpp:437
c = 0x95e1c50
it = {_M_node = 0x8265ef0}
#6 0x0000000000929cb7 in FeatureUnlockedCutScene::findWhatWasUnlocked (
this=0x145ef8f0, difficulty=RaceManager::DIFFICULTY_HARD)
at /home/kroartem/SVN/supertuxkart/src/states_screens/feature_unlocked.cpp:154
pointsBefore = 30
pointsNow = 40
---Type <return> to continue, or q <return> to quit---
tracks = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
_M_end_of_storage = 0x0}}, <No data fields>}
gps = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
_M_end_of_storage = 0x0}}, <No data fields>}
#7 0x000000000096a39a in RaceResultGUI::eventCallback (this=0x14f7a9e0,
widget=0x16efa930, name=..., playerID=0)
at /home/kroartem/SVN/supertuxkart/src/states_screens/race_result_gui.cpp:205
scene = 0x145ef8f0
unlocked = {<std::_Vector_base<ChallengeData const*, std::allocator<ChallengeData const*> >> = {
---Type <return> to continue, or q <return> to quit---
_M_impl = {<std::allocator<ChallengeData const*>> = {<__gnu_cxx::new_allocator<ChallengeData const*>> = {<No data fields>}, <No data fields>},
_M_start = 0x20da6350, _M_finish = 0x20da6358,
_M_end_of_storage = 0x20da6358}}, <No data fields>}
gameCompleted = false
n = 1
__PRETTY_FUNCTION__ = "virtual void RaceResultGUI::eventCallback(GUIEngine::Widget*, const string&, int)"
#8 0x00000000007d1abd in GUIEngine::EventHandler::sendEventToUser (
this=0x1c67440, widget=0x16efa930, name=..., playerID=0)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:609
No locals.
#9 0x00000000007d1d88 in GUIEngine::EventHandler::onWidgetActivated (
this=0x1c67440, w=0x16efa930, playerID=0)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:658
id = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x16efac08 "top"}}
parent = 0x0
__PRETTY_FUNCTION__ = "GUIEngine::EventPropagation GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int)"
#10 0x00000000007d1130 in GUIEngine::EventHandler::processGUIAction (
this=0x1c67440, action=PA_MENU_SELECT, deviceID=13, value=32768,
---Type <return> to continue, or q <return> to quit---
type=Input::IT_KEYBOARD, playerID=0)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:311
w = 0x16efa930
screen = 0x14f7ab50
pressedDown = true
#11 0x000000000082798b in InputManager::dispatchInput (this=0x1d67040,
type=Input::IT_KEYBOARD, deviceID=13, button=13,
axisDirection=Input::AD_POSITIVE, value=32768)
at /home/kroartem/SVN/supertuxkart/src/input/input_manager.cpp:659
playerID = 0
player = 0x18f338f0
action = PA_MENU_SELECT
action_found = true
#12 0x0000000000827e4f in InputManager::input (this=0x1d67040, event=...)
at /home/kroartem/SVN/supertuxkart/src/input/input_manager.cpp:817
wasInTextBox = false
key = 13
#13 0x00000000007d0c8a in GUIEngine::EventHandler::OnEvent (this=0x1c67440,
event=...)
at /home/kroartem/SVN/supertuxkart/src/guiengine/event_handler.cpp:172
blockPropagation = GUIEngine::EVENT_BLOCK
#14 0x0000000000a8dabb in irr::CIrrDeviceStub::postEventFromUser (
this=0x13fe750, event=...)
---Type <return> to continue, or q <return> to quit---
at /home/kroartem/SVN/supertuxkart/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:217
absorbed = false
inputReceiver = <optimized out>
#15 0x0000000000a8a515 in irr::CIrrDeviceLinux::run (this=0x13fe750)
at /home/kroartem/SVN/supertuxkart/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1081
mp = {X11Key = 65293, Win32Key = -9784}
buf = "\r\000\000\000\000\000\000"
event = {type = 2, xany = {type = 2, serial = 147090, send_event = 0,
display = 0x1409300, window = 58720258}, xkey = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, root = 148, subwindow = 0, time = 31097570,
x = 148, y = 562, x_root = 451, y_root = 614, state = 0,
keycode = 36, same_screen = 1}, xbutton = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, root = 148, subwindow = 0, time = 31097570,
x = 148, y = 562, x_root = 451, y_root = 614, state = 0,
button = 36, same_screen = 1}, xmotion = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, root = 148, subwindow = 0, time = 31097570,
x = 148, y = 562, x_root = 451, y_root = 614, state = 0,
is_hint = 36 '$', same_screen = 1}, xcrossing = {type = 2,
---Type <return> to continue, or q <return> to quit---
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, root = 148, subwindow = 0, time = 31097570,
x = 148, y = 562, x_root = 451, y_root = 614, mode = 0,
detail = 36, same_screen = 1, focus = 179, state = 180}, xfocus = {
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, mode = 148, detail = 0}, xexpose = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, x = 148, y = 0, width = 0, height = 0,
count = 31097570}, xgraphicsexpose = {type = 2, serial = 147090,
send_event = 0, display = 0x1409300, drawable = 58720258, x = 148,
y = 0, width = 0, height = 0, count = 31097570, major_code = 0,
minor_code = 148}, xnoexpose = {type = 2, serial = 147090,
send_event = 0, display = 0x1409300, drawable = 58720258,
major_code = 148, minor_code = 0}, xvisibility = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, state = 148}, xcreatewindow = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
parent = 58720258, window = 148, x = 0, y = 0, width = 31097570,
height = 0, border_width = 148, override_redirect = 562},
xdestroywindow = {type = 2, serial = 147090, send_event = 0,
display = 0x1409300, event = 58720258, window = 148}, xunmap = {
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
event = 58720258, window = 148, from_configure = 0}, xmap = {
---Type <return> to continue, or q <return> to quit---
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
event = 58720258, window = 148, override_redirect = 0},
xmaprequest = {type = 2, serial = 147090, send_event = 0,
display = 0x1409300, parent = 58720258, window = 148},
xreparent = {type = 2, serial = 147090, send_event = 0,
display = 0x1409300, event = 58720258, window = 148, parent = 0,
x = 31097570, y = 0, override_redirect = 148}, xconfigure = {
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
event = 58720258, window = 148, x = 0, y = 0, width = 31097570,
height = 0, border_width = 148, above = 2637109920195,
override_redirect = 0}, xgravity = {type = 2, serial = 147090,
send_event = 0, display = 0x1409300, event = 58720258,
window = 148, x = 0, y = 0}, xresizerequest = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, width = 148, height = 0}, xconfigurerequest = {
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
parent = 58720258, window = 148, x = 0, y = 0, width = 31097570,
height = 0, border_width = 148, above = 2637109920195, detail = 0,
value_mask = 768799145985}, xcirculate = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
event = 58720258, window = 148, place = 0}, xcirculaterequest = {
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
parent = 58720258, window = 148, place = 0}, xproperty = {
---Type <return> to continue, or q <return> to quit---
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, atom = 148, time = 0, state = 31097570},
xselectionclear = {type = 2, serial = 147090, send_event = 0,
display = 0x1409300, window = 58720258, selection = 148,
time = 0}, xselectionrequest = {type = 2, serial = 147090,
send_event = 0, display = 0x1409300, owner = 58720258,
requestor = 148, selection = 0, target = 31097570,
property = 2413771620500, time = 2637109920195}, xselection = {
type = 2, serial = 147090, send_event = 0, display = 0x1409300,
requestor = 58720258, selection = 148, target = 0,
property = 31097570, time = 2413771620500}, xcolormap = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
window = 58720258, colormap = 148, c_new = 0, state = 0},
xclient = {type = 2, serial = 147090, send_event = 0,
display = 0x1409300, window = 58720258, message_type = 148,
format = 0, data = {
b = "\342\202\332\001\000\000\000\000\224\000\000\000\062\002\000\000\303\001\000", s = {-32030, 474, 0, 0, 148, 0, 562, 0, 451, 0}, l = {
31097570, 2413771620500, 2637109920195, 154618822656,
768799145985```, xmapping = {type = 2, serial = 147090,
send_event = 0, display = 0x1409300, window = 58720258,
request = 148, first_keycode = 0, count = 0}, xerror = {type = 2,
display = 0x23e92, resourceid = 0, serial = 21009152,
---Type <return> to continue, or q <return> to quit---
error_code = 2 '\002', request_code = 0 '\000',
minor_code = 128 '\200'}, xkeymap = {type = 2, serial = 147090,
send_event = 0, display = 0x1409300, window = 58720258,
key_vector = "\224", '\000' <repeats 15 times>, "\342\202\332\001\000\000\000\000\224\000\000\000\062\002\000"}, xgeneric = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
extension = 58720258, evtype = 0}, xcookie = {type = 2,
serial = 147090, send_event = 0, display = 0x1409300,
extension = 58720258, evtype = 0, cookie = 148, data = 0x0},
pad = {140733193388034, 147090, 0, 21009152, 58720258, 148, 0,
31097570, 2413771620500, 2637109920195, 154618822656,
768799145985, 1026497183924, 0, 673, 23875200, 140737323894680, 0,
23846592, 23846224, 0, 231928234227, 506806141045, 773094113459}}
irrevent = {EventType = irr::EET_KEY_INPUT_EVENT, {GUIEvent = {
Caller = 0xd0000000d, Element = 0x7fffffffd9d9,
EventType = 4294967295}, MouseInput = {X = 13, Y = 13,
Wheel = -nan(0x7fd9d9), Shift = true, Control = true,
ButtonStates = 4294967295, Event = 32767}, KeyInput = {
Char = 13 L'\r', Key = irr::KEY_RETURN, PressedDown = true,
Shift = false, Control = false}, JoystickEvent = {
ButtonStates = 13, Axis = {13, 0, -9767, -1, 32767, 0},
POV = 65535, Joystick = 255 '\377'}, LogEvent = {
Text = 0xd0000000d <Address 0xd0000000d out of bounds>,
---Type <return> to continue, or q <return> to quit---
Level = 4294957529}, UserEvent = {UserData1 = 13,
UserData2 = 13```
#16 0x000000000078d807 in IrrDriver::update (this=0x13fe6d0, dt=0.0300000012)
at /home/kroartem/SVN/supertuxkart/src/graphics/irr_driver.cpp:1570
world = 0x7c00000077
inRace = false
#17 0x00000000008a4795 in MainLoop::run (this=0x19a8700)
at /home/kroartem/SVN/supertuxkart/src/main_loop.cpp:163
dt = 0.0300000012
device = 0x13fe750
#18 0x00000000008a2722 in main (argc=1, argv=0x7fffffffe0d8)
at /home/kroartem/SVN/supertuxkart/src/main.cpp:1525
materials_file = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7065bf8 "../data/models/materials.xml"}}
important_message = {array = 0xa5f95c0 L"", allocated = 1, used = 1,
allocator = {
_vptr.irrAllocator = 0xe894d0 <vtable for irr::core::irrAllocator<wchar_t>+16>}}
(gdb)
I didn't manage to find what's the problem. Setting this to major as it affects gameplay a lot.
Author: kroartem
Stk r[12862], Ubuntu 13.04 64-bit I was playing a challenge "Northern resort" launched from overworld and when I finished it I saw congrats and a button "You completed a challenge!" When I pressed it, the game crashed. Backtrace:
Another backtrace:
I didn't manage to find what's the problem. Setting this to major as it affects gameplay a lot.