Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11008) 2.0.0-beta3: ai-hunter NULL-pointer bug
Home

[Freeciv-Dev] (PR#11008) 2.0.0-beta3: ai-hunter NULL-pointer bug

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: edearl@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#11008) 2.0.0-beta3: ai-hunter NULL-pointer bug
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Nov 2004 10:44:42 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11008 >

> [edearl@xxxxxxxxxxx - Sun Nov 14 00:06:42 2004]:

> Backtrace:
> 
> 
>     #0 map_distance_vector (dx=0xbfefc500, dy=0xbfefc504, tile0=0xa8f1b98,
>     tile1=0x65726168) at map.c:1541
>     #1 0x080a2a59 in real_map_distance (tile0=0xbf2d4928,
tile1=0x65726168)
>     at map.c:649
>     #2 0x080a3d35 in is_tiles_adjacent (tile0=0xbf2d4928,
tile1=0x65726168)
>     at map.c:1277
>     #3 0x080ed123 in ai_hunter_manage (pplayer=0x81c6950, punit=0xa8f1b98)
>     at aihunt.c:468
>     #4 0x080f3ac6 in ai_manage_military (pplayer=0x81c6950,
punit=0xa8f1b98)
>     at aiunit.c:2063
>     #5 0x080f4092 in ai_manage_units (pplayer=0x81c6950) at aiunit.c:2203
>     #6 0x0804e319 in ai_start_turn () at srv_main.c:465
>     #7 0x0804e3d9 in begin_phase (is_new_phase=true) at srv_main.c:538
>     #8 0x0804faec in main_loop () at srv_main.c:1528
>     #9 0x0804fcaf in srv_main () at srv_main.c:1647
>     #10 0x0804a444 in main (argc=3, argv=0xbfefcf44) at civserver.c:170

Do you still have a core file?  Can you issue (in gdb) the following
commands and send the output:

  select 2
  p tile0->x
  p tile0->y
  p tile1->x
  p tile1->y
  select 3
  p *punit
  p *target

-jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11008) 2.0.0-beta3: ai-hunter NULL-pointer bug, Jason Short <=