sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Engine sometimes crashes at end of a TechRacer game #860

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start TechRacer
2. Play
3. End the game normally (by using all race tries)

What is the expected output? What do you see instead?
Expected: Engine ends normally, leads to stats screen.
Actual: Engine crashes with exit code 217, does not lead to stats screen.

What version of the product are you using? On what operating system?
r5ae7ba0b2849 (Beta 0.9.21) on GNU/Linux.

Please provide any additional information below.
I have found the bug while playtesting online together with Wohlstand.

I had the following text in the console when the crash happened:
An unhandled exception occurred at $080992B5 :
EAccessViolation : Access violation
  $080992B5  chTeamGone,  line 662 of uTeams.pas
  $080C2691  ParseCommand,  line 111 of uCommands.pas
  $0809945A  chTeamGone,  line 682 of uTeams.pas
  $080C2691  ParseCommand,  line 111 of uCommands.pas
  $0809C2F7  NetGetNextCmd,  line 389 of uIO.pas
  $0806D2C5  DoGameTick,  line 101 of uGame.pas
  $0804B62C  DoTimer,  line 105 of /home/wuzzy/src/hedgewars/hg/trunk/hedgewars/hwengine.pas
  $0804BE2E  MainLoop,  line 292 of /home/wuzzy/src/hedgewars/hg/trunk/hedgewars/hwengine.pas
  $0804C478  Game,  line 438 of /home/wuzzy/src/hedgewars/hg/trunk/hedgewars/hwengine.pas
  $0804C7ED  $main,  line 580 of /home/wuzzy/src/hedgewars/hg/trunk/hedgewars/hwengine.pas

Original issue reported on code.google.com by almikes@aol.com on 13 Dec 2014 at 11:15

GoogleCodeExporter commented 9 years ago
Addendum: The bug only happens sometimes. Often enough the game ends normally 
without crash.

Original comment by almikes@aol.com on 13 Dec 2014 at 11:16

GoogleCodeExporter commented 9 years ago
Probably fixed by b57c328c6794

Original comment by kyberneticist@gmail.com on 13 Dec 2014 at 3:58

GoogleCodeExporter commented 9 years ago
Sorry, should have made that linkable.
rb57c328c6794

Original comment by kyberneticist@gmail.com on 13 Dec 2014 at 7:29

GoogleCodeExporter commented 9 years ago
I had a recent game on TechRacer with some other one. The other player had an 
engine error with error code 217 after the end of the TechRacer game, we both 
used r3d1eb6a66ba7.

Sadly, I couldn’t provide more info this time.

But it seems this issue must be reopened. :(

Original comment by almikes@aol.com on 22 Dec 2014 at 6:30