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

                 Summary: SIGABRT when loading save game
                 Project: Warzone Resurrection Project
            Submitted by: ronnystandtke
            Submitted on: Samstag 14.04.2007 um 17:20
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.0.6
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Warzone crashed in the middle of the game. Because the backtrace in the dump
file looked somehow unusable I thought it would be better to recompile
warzone with the "--enable-debug=yes" configure switch. After uninstalling,
recompiling and reinstalling I wanted to load the latest savegame and
suddenly warzone failed to load the savegame with an SIGABRT.

Here is a gdb run:

$ gdb warzone2100
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/bin/warzone2100
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1226930464 (LWP 11253)]
[New Thread -1246180432 (LWP 11257)]
error:      Attempt to free NULL pointer, called by:
File: seqdisp.c
Line: 320
error:      Assert in Warzone: mem.c:267 : memFree ((pMemToFree != NULL))
warzone2100: mem.c:267: memFree: Assertion `(pMemToFree != ((void *)0))'
failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1226930464 (LWP 11253)]
0xb7f1a410 in ?? ()
(gdb) bt full
#0  0xb7f1a410 in ?? ()
No symbol table info available.
#1  0xbf85f508 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x00002bf5 in ?? ()
No symbol table info available.
#4  0xb7b1e811 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb7b1ffb9 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0xb7b17fbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#7  0x081c64cb in memFree (pFileName=0x81fc2c2 "seqdisp.c", LineNumber=320,
pMemToFree=0x0) at mem.c:266
        sNode = {key = 136052491, priority = 0, pObj = 0x8a3b0d0, psLeft =
0xbf85f6d8, psRight = 0x81770bf, pFile = 0x8a370f8 "t", line = 144945360,
size = 3213227784}
        psDeleted = (MEM_NODE *) 0x81c043d
        i = -1283835860
        InvalidBottom = -1081739544
        InvalidTop = -1081739544
        pMemBase = (UBYTE *) 0x8177dfe "��U\211�\203�(�D$\004,"
        psBlock = (BLOCK_HEAP *) 0x8a80bc0
        Size = 12
        __FUNCTION__ = "memFree"
        __PRETTY_FUNCTION__ = "memFree"
#8  0x081616be in seq_ReleaseVideoBuffers () at seqdisp.c:320
No locals.
#9  0x0809737c in intShutDown () at hci.c:968
No locals.
#10 0x080a3382 in frontendShutdown () at init.c:1333
No locals.
#11 0x080bc63e in main (argc=1, argv=0xbf85f854) at main.c:869
        frameRet = FRAME_OK
        quit = 0
        Restart = 1
        paused = 0
        bVidMem = 0
        dispBitDepth = 8
        introVideoControl = 3
        loopStatus = 0
        psPaletteBuffer = (iColour *) 0x0
        pSize = 768
(gdb)    




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to