#16 Gameplay: Random crash on FG/PAT attempts

open
Gameplay (11)
1
2005-03-03
2005-01-30
aendeuryu
No

The program crashes randomly on FGs and PATs. I have
no idea what's causing this, and I can't seem to
replicate the bug under simulated conditions (running
1000 FGs in a row, for instance). The bug happens when
either the computer or human is on offence, and occurs
randomly on these types of plays. It doesn't cause the
SDL parachute to be deployed or anything.

The play starts, and the kicker runs to the ball and kicks
it. The crash occurs at this point, but I've been going
through FGKickBall(player) and can't figure out what's
wrong with it.

The entire source code is going to be going through a
major audit soon, so maybe this will work itself out in the
long run. In the meantime, if anybody's got any ideas,
I'm all ears.

Discussion

  • simonc4

    simonc4 - 2005-02-01

    Logged In: YES
    user_id=1122794

    I couldn't reproduce the problem with either the downloaded
    executable or compiling it myself. I also ran it in debug
    mode to see if there were any stack corruptions or
    unitialised variables being used, but everything seems fine.

    One question though. Are you using the latest version of SDL?

     
  • aendeuryu

    aendeuryu - 2005-02-01

    Logged In: YES
    user_id=1127463

    I'm using the one that they had a month ago, I think it's
    1.2.8. The same one they've got now...

    I guess the mystery continues.

     
  • aendeuryu

    aendeuryu - 2005-02-07
    • priority: 8 --> 3
     
  • aendeuryu

    aendeuryu - 2005-02-07

    Logged In: YES
    user_id=1127463

    Priority lowered because I think I might have contained the
    bug.

     
  • aendeuryu

    aendeuryu - 2005-02-09

    Logged In: YES
    user_id=1127463

    Okay, it happened again, but I'm pretty sure I know how to
    disable this problem. Hopefully it'll be taken care of in the next
    release.

     
  • aendeuryu

    aendeuryu - 2005-02-09
    • priority: 3 --> 7
     
  • Nobody/Anonymous

    Logged In: NO

    I got this after I had played with player stats in
    Rush2005/teams. Specifically, I set all player stats
    Indianapolis to 9 and all of Philadelphia's to 1.

     
  • aendeuryu

    aendeuryu - 2005-02-12

    Logged In: YES
    user_id=1127463

    Crap. There goes my theory that it's caused by user input...

    I'll see if I can recreate this.

     
  • aendeuryu

    aendeuryu - 2005-02-13

    Logged In: YES
    user_id=1127463

    Okay, I wasn't able to recreate this on my home machine. I
    know this was an anonymous bug submission, but if there's
    any chance you're still out there, could you let me know the
    version you were using? You said Philly so I assume it's not
    the most recent...

     
  • Nobody/Anonymous

    Logged In: NO

    I am using version 0.3.4 .

     
  • aendeuryu

    aendeuryu - 2005-02-14

    Logged In: YES
    user_id=1127463

    I don't suppose you'd be willing to try retesting your scenario
    using 0.4.8? There's a FG Crash bounty still outstanding that
    you could claim...

     
  • aendeuryu

    aendeuryu - 2005-02-21
    • priority: 7 --> 2
     
  • aendeuryu

    aendeuryu - 2005-03-03
    • priority: 2 --> 1
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks