Menu

#4 Save game crash

open
nobody
None
5
2010-01-03
2010-01-03
Vexorian
No

This is a very situation specific bug and it is also minor as I am able to teleport to the gibbet and then when I go back to the dungeons it gets fixed.

How to reproduce:
* Use the data folder I am attaching.
* hexen.wad.
* load the "vx" game.
* save immediately.

I get a segmentation fault.

Sorry for 7z, tried tar.gz but sf has a 256 KB limit...

Discussion

  • Vexorian

    Vexorian - 2010-01-03

    data folder

     
  • Ozkan Sezer

    Ozkan Sezer - 2010-01-04

    Hmm, by running in gdb I get:

    Program received signal SIGSEGV, Segmentation fault.
    0x0809a5cd in GetMobjNum (mobj=0x1d4a11) at base/sv_save.c:1343
    1343 if (mobj->player && !SavingPlayers)
    Missing separate debuginfos, use: debuginfo-install SDL.i386 SDL_mixer.i386 alsa-lib.i386 audiofile.i386 esound.i386 gcc.i386 glibc.i686 libX11.i386 libXau.i386 libXcursor.i386 libXdmcp.i386 libXext.i386 libXfixes.i386 libXrandr.i386 libXrender.i386 libmad.i386 libmikmod.i386 libogg.i386 libvorbis.i386 libxcb.i386 mesa.i386
    (gdb) bt
    #0 0x0809a5cd in GetMobjNum (mobj=0x1d4a11) at base/sv_save.c:1343
    #1 0x0809a450 in MangleMobj (mobj=0xb7b7b978, temp=0xbfc779d0) at base/sv_save.c:1270
    #2 0x0809a00d in ArchiveMobjs () at base/sv_save.c:1170
    #3 0x08098203 in SV_SaveMap (savePlayers=true) at base/sv_save.c:380
    #4 0x08098163 in SV_SaveGame (slot=5, description=0x80e4580 "EP3") at base/sv_save.c:344
    #5 0x0805fa7f in G_DoSaveGame () at base/g_game.c:1561
    #6 0x0805e8ff in G_Ticker () at base/g_game.c:840
    #7 0x0805cf44 in TryRunTics () at base/d_net.c:905
    #8 0x08060bf8 in H2_GameLoop () at base/h2_main.c:564
    #9 0x080605d7 in H2_Main () at base/h2_main.c:308
    #10 0x0804aa8b in main (argc=1, argv=0xbfc77e74) at unix/i_linux.c:474

    Will look into this. Thanks for the report.

     
  • Ozkan Sezer

    Ozkan Sezer - 2010-01-04

    Hmm, and it doesn't crash with hhexen-1.4, I probably screwed up somewhere when messing with the reloc info code in save code? We'll see..

     
  • Ozkan Sezer

    Ozkan Sezer - 2010-01-05

    Interesting that I was unable reproduce the crash using an amd64 binary... Will fix this weirdo soon, I hope..

     
  • Ozkan Sezer

    Ozkan Sezer - 2010-01-06

    Vexorian, I have to clarify something: Was that particular game save made using an hhexen binary compiled with the assassin support?

     

Log in to post a comment.