auriamg / stk-code

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

Crash when you enter to garage #901

Open auriamg opened 10 years ago

auriamg commented 10 years ago

Little hard to reproduce. When you enter to garage in overworld and very quickly press escape (before kart selection screen is displayed), it causes crash.

It's easier to reproduce when you change action in track_object_presentation.cpp. There are lines: if (m_action == "garage") { new RacePausedDialog(0.8f, 0.6f); //dynamic_cast<OverWorld*>(World::getWorld())->scheduleSelectKart(); } When you will change action to scheduleSelectKart, then you can run to garage with constantly escape pressed and it most probably will cause crash.

Backtrace in attachment.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/t/ticket/1088