Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2006:
[Freeciv-Dev] 2.0.99 crash & backtrace
Home

[Freeciv-Dev] 2.0.99 crash & backtrace

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] 2.0.99 crash & backtrace
From: banjo <banjo@xxxxxxxxxx>
Date: Fri, 27 Jan 2006 03:45:53 +1300

hey there

i was testing a simple ruleset with multiple partisan units
when the server crashed.  Dunno if it had anything to do with
the partisan stuff.  Here's a backtrace...

Program received signal SIGSEGV, Segmentation fault.
0x08111831 in process_defender_want (pplayer=0x8294a40, pcity=0x8b30438, danger=202,
    choice=0x8b30bf0) at advmilitary.c:743
743       if (!walls && best_unit_type->move_type == LAND_MOVING) {
(gdb) bt
#0 0x08111831 in process_defender_want (pplayer=0x8294a40, pcity=0x8b30438, danger=202,
    choice=0x8b30bf0) at advmilitary.c:743
#1 0x08112bf7 in military_advisor_choose_build (pplayer=0x8294a40, pcity=0x8b30438,
    choice=0x8b30bf0) at advmilitary.c:1315
#2  0x0811a4a6 in ai_manage_cities (pplayer=0x8294a40) at aicity.c:1302
#3  0x0812065d in ai_do_last_activities (pplayer=0x8294a40) at aihand.c:449
#4  0x080514b0 in end_phase () at srv_main.c:692
#5  0x08053354 in main_loop () at srv_main.c:1661
#6  0x0805357b in srv_main () at srv_main.c:1742
#7  0x0804aadb in main (argc=135677262, argv=0xbffffad4) at civserver.c:263


PS. are there any plans to allow multiple partisan unit types ?
    i couldn't see anything in the code to disallow it.
    but then again im still learning c

-billy






[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] 2.0.99 crash & backtrace, banjo <=