Car floating in 3-strike battle mode and related SIGSEGV

Car floating in 3-strike battle mode and related SIGSEGV

Postby dehavilland » 18 May 2012, 18:53

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();
Ready to roll.
dehavilland
 
Posts: 15
Joined: 19 Mar 2012, 18:21
Location: Haidian, Beijing, China

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

Postby dehavilland » 18 May 2012, 18:57

Occasionally, floating kart will happen even in single player mode. But it happens too irregularly to be caught.

THX
Winston Wu
Ready to roll.
dehavilland
 
Posts: 15
Joined: 19 Mar 2012, 18:21
Location: Haidian, Beijing, China

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

Postby lucifer » 18 May 2012, 19:51

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.
lucifer
 
Posts: 1
Joined: 18 May 2012, 19:35

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

Postby Auria » 19 May 2012, 00:25

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
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: No registered users and 1 guest