URL:
  <http://gna.org/bugs/?8938>

                 Summary: Segfault when loading campaign save games (1099)
                 Project: Warzone Resurrection Project
            Submitted by: the_noid
            Submitted on: Sunday 04/15/2007 at 10:02
                Category: Campaign
                Severity: 5 - Blocker
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Start a new campaign, save, load, crash.
The problem started somewhere beteween rev 874 and 900.
backtrace:

Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1224370464 (LWP 12674)]
[New Thread -1244091472 (LWP 12677)]
error:      resGetDataFromHash: Unknown ID:
error:      Assert in Warzone: frameresource.c:523 : resGetDataFromHash
(psRes != NULL), last script event: 'art4TakeTrig (CODE)'
warzone2100: frameresource.c:523: resGetDataFromHash: Assertion `psRes !=
((void *)0)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1224370464 (LWP 12674)]
0xb7fcd410 in ?? ()
(gdb) bt
#0  0xb7fcd410 in ?? ()
#1  0xbfb2a1f8 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00003182 in ?? ()
#4  0xb7be0811 in raise () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7be1fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7bd9fbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#7  0x081aef0f in resGetDataFromHash (pType=0x81e87cd "WAV",
HashedID=863396720) at frameresource.c:523
#8  0x0816e023 in audio_GetTrackIDFromHash (hash=863396720) at audio.c:1126
#9  0x0810e6f6 in scrValDefLoad (version=3, psVal=0x88138e8,
pBuffer=0xb5d8b44d "pcv337.ogg", size=11) at scriptobj.c:1149
#10 0x0818c69d in eventLoadContext (version=3, pBuffer=0xb5d8b010 "\003",
pSize=0xbfb2a4dc, bHashed=1) at evntsave.c:388
#11 0x0818cbdc in eventLoadState (pBuffer=0xb5d8b008 "evnt\003",
fileSize=2316, bHashed=1) at evntsave.c:688
#12 0x0812fadc in loadScriptState (pFileName=0x82baf20
"savegame/CampainTest01_N.es") at game.c:11356
#13 0x080bb0ab in levLoadData (pName=0x8275100 "CAM_1A", pSaveName=0x82baf20
"savegame/CampainTest01_N.es", saveType=4)
    at levels.c:1041
#14 0x08130580 in gameLoad (pFileData=<value optimized out>, filesize=4572)
at game.c:4010
#15 0x081308cf in loadGameInit (pGameToLoad=0x82baf20
"savegame/CampainTest01_N.es") at game.c:1382
#16 0x080beefe in main (argc=1, argv=0xbfb2a834) at main.c:562





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?8938>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
[EMAIL PROTECTED]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to