[CF-Devel] crashes at crossfire.metalforge.net

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon Jan 12 06:17:22 CST 2004


>
     
      I suspect there is some weird memory corruption or off by one error
     
     >
     
      somewhere. I don't have Purify, but I tried Electric Fence, kept running
     
     >
     
      out of ram.
     
     
I managed to get some sort of sense out of a core dump, but not much.
Basically, I just wandered around Scorn, going in and out of buildings until 
it crashed.

The important part of the stack trace is -
(addresses left out)

clear_object(op=0x80000000) at object.c:596
get_object() at object.c:707
load_objects(,,) at map.c:499
load_temporary_map() at map.c:886
ready_map_name("/world/world_104_115", 0) at map.c:1338
load_and_link_tiled_map(,3) at map.c:1675
out_of_map(,-8,25) at map.c:1712

Keep in mind that I had been wandering around going in and out of doors over 
and over again before the crash.  get_object doesn't actually pass 0x8000000 
to clear_object, but op is equal to that by the time the core is dumped.

So, memory (probably the free object list) gets trashed at some point in the 
past, and I eventually run over that part when walking around.

Time for someone else to point some serious memory debugging tools at it.

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list