Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] Core file while profiling
Home

[Freeciv-Dev] Core file while profiling

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Core file while profiling
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 10:30:26 -0700

So I was almost done profiling Jason's patch when... BAM!  Seg fault.
Today's cvs with Jason's patch.

#0  0x400c8ef0 in chunk_free (ar_ptr=0x4016d300, p=0x82a6240) at malloc.c:3131
#1  0x400c8e54 in __libc_free (mem=0x82a6248) at malloc.c:3054
#2  0x80901d1 in genlist_unlink (pgenlist=0x818e490, punlink=0x81d2850) at 
genlist.c:103
#3  0x808f1b3 in game_remove_unit (unit_id=812) at game.c:632
#4  0x8059820 in server_remove_unit (punit=0x81d2850) at unittools.c:1852
#5  0x8059aa2 in wipe_unit_spec_safe (punit=0x81d2850, iter=0x0, wipe_cargo=1) 
at unittools.c:1920
#6  0x8059ac4 in wipe_unit_safe (punit=0x81d2850, iter=0x0) at unittools.c:1928
#7  0x8059add in wipe_unit (punit=0x81d2850) at unittools.c:1936
#8  0x8054956 in handle_unit_attack_request (punit=0x81d2850, 
pdefender=0x81d52d0) at unithand.c:696
#9  0x8054f6b in handle_unit_move_request (punit=0x81d2850, dest_x=11, 
dest_y=33, igzoc=0, move_diplomat_city=0) at unithand.c:916
#10 0x80b08b7 in ai_military_attack (pplayer=0x8128334, punit=0x81d2850) at 
aiunit.c:1586
#11 0x80b1002 in ai_manage_military (pplayer=0x8128334, punit=0x81d2850) at 
aiunit.c:1819
#12 0x80b1482 in ai_manage_units (pplayer=0x8128334) at aiunit.c:1983
#13 0x804c9a3 in ai_start_turn () at srv_main.c:363
#14 0x804ebfa in main_loop () at srv_main.c:1671
#15 0x804f264 in srv_main () at srv_main.c:1961
#16 0x8049ca5 in main (argc=3, argv=0xbffffcf4) at civserver.c:147
#17 0x40066f31 in __libc_start_main (main=0x8049784 <main>, argc=3, 
ubp_av=0xbffffcf4, init=0x8049100 <_init>, fini=0x80b2480 <_fini>, 
    rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffffcec) at 
../sysdeps/generic/libc-start.c:129
-- 
Paul Zastoupil


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Core file while profiling, Paul Zastoupil <=