Chaosforge Forum

  • March 28, 2024, 11:15
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC  (Read 3481 times)

2DeviationsOut

  • Guest

So, on this game, when I got down to JC, the game crashed after I killed him. Upon restarting the game, it gave me the option to continue, but then I was fighting JC again.

Bug log:

----------------------------------------------------------------------
Timestamp   : 2/27/2012 15:05:27
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $0041D892 :
EInOutError : Access denied
  $0041D892  VDEBUG_init,  line 306 of e:/Projects/fpcvalkyrie/src/vdebug.pas
  $0040C554

----------------------------------------------------------------------

----------------------------------------------------------------------
Timestamp   : 2/27/2012 15:05:30
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $0041D892 :
EInOutError : Access denied
  $0041D892  VDEBUG_init,  line 306 of e:/Projects/fpcvalkyrie/src/vdebug.pas
  $0040C554

----------------------------------------------------------------------

----------------------------------------------------------------------
Timestamp   : 3/7/2012 13:22:22
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $0044FEBD :
ELuaException : Get(beings.64.id) failed!
  $0044FEBD  TLUASYSTEM__GET,  line 397 of e:/Projects/fpcvalkyrie/src/vluasystem.pas
  $0045DE8C  THOF__ADD,  line 1177 of src/dfhof.pas
  $0048898A  TPLAYER__WRITEMEMORIAL,  line 1225 of src/dfplayer.pas
  $0041F02C  TDOOM__RUN,  line 376 of src/doombase.pas
  $00401B15  main,  line 71 of src/doomrl.pas

----------------------------------------------------------------------

----------------------------------------------------------------------
Timestamp   : 3/7/2012 13:27:04
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $0044FEBD :
ELuaException : Get(beings.64.id) failed!
  $0044FEBD  TLUASYSTEM__GET,  line 397 of e:/Projects/fpcvalkyrie/src/vluasystem.pas
  $0045DE8C  THOF__ADD,  line 1177 of src/dfhof.pas
  $0048898A  TPLAYER__WRITEMEMORIAL,  line 1225 of src/dfplayer.pas
  $0041F02C  TDOOM__RUN,  line 376 of src/doombase.pas
  $00401B15  main,  line 71 of src/doomrl.pas

----------------------------------------------------------------------

----------------------------------------------------------------------
Timestamp   : 3/7/2012 13:28:11
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $0044FEBD :
ELuaException : Get(beings.64.id) failed!
  $0044FEBD  TLUASYSTEM__GET,  line 397 of e:/Projects/fpcvalkyrie/src/vluasystem.pas
  $0045DE8C  THOF__ADD,  line 1177 of src/dfhof.pas
  $0048898A  TPLAYER__WRITEMEMORIAL,  line 1225 of src/dfplayer.pas
  $0041F02C  TDOOM__RUN,  line 376 of src/doombase.pas
  $00401B15  main,  line 71 of src/doomrl.pas

----------------------------------------------------------------------

Logged

Game Hunter

  • Programmer
  • Local Inquisitor
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1044
  • Looks like game to me.
    • View Profile
    • Channel, the Roguelike
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #1 on: March 10, 2012, 00:34 »

A few things, if you can recall the game:
  • Did you keep trying to kill JC? If so, did you ever successfully kill him without this occurring?
  • Challenge mode? Standard game?
  • Was there anything odd prior to Hell Fortress? (Just anything you can think of: if the first two answers don't help, this potentially could.)
Logged
I'm just a dude playing a dude disguised as another dude.

Latest LPs: Angband, Delver

shark20061

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 266
    • View Profile
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #2 on: March 26, 2012, 11:17 »

It happened again, and 2Dev is having a problem posting here so I'll fill in some information from what he told me on IRC:

1) The bug occurs every time, and even if JC isn't killed (the first time, he killed JC 10 times in a row, bugged every time).
The time JC wasn't killed, it had error: beings[lostsoul].OnAction: get(beings.64.id) failed!

2) #1 happened during a AoRA game, #2 happened during AoB

3) 2Dev says he didn't notice anything weird.

After doing a little digging, item 64 is the Nuke BFG, which he used to nuke Mastermind and he said he fired it in the Mortuary.
I don't know if it could be linked, but that 64 had to come from somewhere.
I can't seem to reproduce the error, so it must be some weird combination of things doing it.
Logged
Hell Knight Warrant Officer (0.9.9.4)  [26!/8/3/1/0]

Mancubus 2nd Lieutenant (0.9.9.6)  [22/12/3/0/0]
M:16 S:43 (126) A:17

2DeviationsOut

  • Guest
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #3 on: March 26, 2012, 11:18 »

Looks like it happened again.
It was in a AoB game, UV, and I kept trying to kill him, and this bug popped back up every time.

Logged

tehtmi

  • Programmer
  • Local Inquisitor
  • Lieutenant Colonel
  • *
  • *
  • Offline Offline
  • Posts: 458
    • View Profile
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #4 on: April 20, 2012, 01:48 »

Analysis of the save file reveals that 2Dev managed to kill 80 of enemy number 64 with item number 961.  Enemy number 64 doesn't exist (as shark found), and neither does item 961.

Unfortunately, the damage has already been done at the point in the save file.  It isn't clear yet what caused this unusual state of affairs.

We'll keep working on this, but here's some information that could be helpful if its available:
* The save file from the other crash (to see if the other values are the same).
* Did the game report any fatal or non-fatal errors before the final crash against JC?

Edit: I can tell from the error logs that there were no other reported errors.  The other save file could still prove interesting however.
« Last Edit: April 20, 2012, 02:00 by tehtmi »
Logged

shark20061

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 266
    • View Profile
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #5 on: April 20, 2012, 20:50 »

TwoDev unfortunately burned out the first save file (replaying the level 10 times before it gave out), so it's not available.
Logged
Hell Knight Warrant Officer (0.9.9.4)  [26!/8/3/1/0]

Mancubus 2nd Lieutenant (0.9.9.6)  [22/12/3/0/0]
M:16 S:43 (126) A:17

Polymeron

  • Private FC
  • *
  • Offline Offline
  • Posts: 18
  • I juggle shotguns
    • View Profile
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #6 on: April 25, 2012, 04:12 »

I think this is a little more widespread than might seem from this report.

At current, this happens to me whenever I die during any Challenge game on any nonrandom level (Babel, Chained Court, The Wall, and Dis so far). Some details that might help resolve this:
- Bug is highly reproducible so far.
- On normal levels, I get no crash, .mortem as usual.
- Nuking the SMM in Dis also had the same effect.
- The resulting save file is always corrupted and subsequently discarded.
- Seems to be related to this and this.
- Since this started I haven't tried standard games so not sure if the Challenge stuff is relevant. But, the other cases I linked to are also Challenge games.
- I'm running Win7 64bit. Judging from this and other threads OS doesn't seem to be a major factor.
- Attaching the error report (all cases seem to be documented therein).

This is making all my challenges ultimately unplayable... At this point I think I'll reinstall DoomRL in another folder, move my player info there, and see if this continues to reproduce.


EDIT: Reinstall did not help. Also I got this again in a normal level this time.
Looks like it's no more challenges for me... :(
« Last Edit: April 25, 2012, 04:50 by Polymeron »
Logged
.mortem or it didn't happen.

shark20061

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 266
    • View Profile
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #7 on: April 25, 2012, 09:52 »

I think this is a little more widespread than might seem from this report.

At current, this happens to me whenever I die during any Challenge game on any nonrandom level (Babel, Chained Court, The Wall, and Dis so far). Some details that might help resolve this:
- Bug is highly reproducible so far.
- On normal levels, I get no crash, .mortem as usual.
- Nuking the SMM in Dis also had the same effect.
- The resulting save file is always corrupted and subsequently discarded.
- Seems to be related to this and this.
- Since this started I haven't tried standard games so not sure if the Challenge stuff is relevant. But, the other cases I linked to are also Challenge games.
- I'm running Win7 64bit. Judging from this and other threads OS doesn't seem to be a major factor.
- Attaching the error report (all cases seem to be documented therein).

This is making all my challenges ultimately unplayable... At this point I think I'll reinstall DoomRL in another folder, move my player info there, and see if this continues to reproduce.

EDIT: Reinstall did not help. Also I got this again in a normal level this time.
Looks like it's no more challenges for me... :(

The bug you have is already fixed, and different from the one in the OP of this thread.

You are scoring kills while having a weapon equipped in AoPc (probably the chainsaw for the free zerk).  Make sure you do NOT equip any weapons during the challenge.  If you do pick up the chainsaw, you need to unequip right away.

Explanation here.
Logged
Hell Knight Warrant Officer (0.9.9.4)  [26!/8/3/1/0]

Mancubus 2nd Lieutenant (0.9.9.6)  [22/12/3/0/0]
M:16 S:43 (126) A:17

Polymeron

  • Private FC
  • *
  • Offline Offline
  • Posts: 18
  • I juggle shotguns
    • View Profile
Re: [.9.9.6, Windows XP 32 bit] Game crashes on killing JC
« Reply #8 on: April 26, 2012, 01:35 »

Sorry for littering the thread then... Thanks a lot for the workaround!
Logged
.mortem or it didn't happen.
Pages: [1]