Page 1 of 1

Car floating in 3-strike battle mode and related SIGSEGV

PostPosted: 18 May 2012, 18:53
by dehavilland
Hi
Ubuntu 10.04.4 LTS & Supertuxkart SVN 11245 & gcc 4.4.6 gdb 7.2
In 3-strikes mode, the loser floats in the air and gets stuck when Replay was chosen and a NEW round begins.

To get the floating loser down, there are 2 ways:
1) the loser spends one life to call for thunderbird...
2) the winner attacks the floating one, using:
a) a cake and blow it down to the ground. The loser will not lose life. In this case the (previous) winner must throw at sufficient distance.
b) bowling ball: occassionally this will work, but most time the ball will RUN BENEATH the floating kart.
c) (BUT) swatter: the floating one loses life but will NOT get down.
Screenshot.png
Pidgin floating COOL in the air

Screenshot-1.png
Penny is beneath a floating pidgin


ANOTHER RELATED BUG: SOMETIMES SWATTER CAN CAUSE A SIGSEGV.
In this case, the floating loser(either Tux or Penny, but others may also involved) must be the first(upper) one and game in fullscreen mode. When the second one(I was using Pidgin) kills the first one using swatter 3 times, SIGSEGV happens. Because of fullscreen, I am unable to use bt command in gdb.
gdb shows:
{l Code}: {l Select All Code}
Program received signal SIGSEGV, Segmentation fault.
AIBaseController::crashed (this=0x211a4b10, m=0x1de9d7f0)
    at karts/controller/ai_base_controller.cpp:185
185      float time = m_world->getTime();

Re: Car floating in 3-strike battle mode and related SIGSEGV

PostPosted: 18 May 2012, 18:57
by dehavilland
Occasionally, floating kart will happen even in single player mode. But it happens too irregularly to be caught.

THX
Winston Wu

Re: Car floating in 3-strike battle mode and related SIGSEGV

PostPosted: 18 May 2012, 19:51
by lucifer
I am the co-player with dehavilland. The related SIGSEGV happens oddly with a relation of using character Pidgin(which is my favorite), another re

As for the floating bug, the floater gets elevated and poses changed when it loses a series of rounds, which is funny:
120518A000.jpg

120518A001.jpg

The above two photos are taken in a NEW round after Pidgin was continuously killed for 3 times.

Re: Car floating in 3-strike battle mode and related SIGSEGV

PostPosted: 19 May 2012, 00:25
by Auria
Hi,

thanks for the report. Indeed this is a bug, I managed to reproduce it. I created a ticket : https://sourceforge.net/apps/trac/super ... ticket/636

I will make sure that it's fixed for STK 0.8

Regarding the crash, I may let Joerg comment since he's more familiar with the AI than I am