Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11413) Assertion failed: (id) >= 0 && (id) < game.num_
Home

[Freeciv-Dev] (PR#11413) Assertion failed: (id) >= 0 && (id) < game.num_

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11413) Assertion failed: (id) >= 0 && (id) < game.num_unit_types, file unittype.c, line 450
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Wed, 8 Dec 2004 13:59:27 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11413 >

I got the following crash playing on CVS HEAD today.

Assertion failed: (id) >= 0 && (id) < game.num_unit_types, file
unittype.c, line 450

here's a back trace

(gdb) bt full
#0  0xff13cdcc in _lwp_kill () from /usr/lib/libc.so.1
No symbol table info available.
#1  0xff0dd778 in raise () from /usr/lib/libc.so.1
No symbol table info available.
#2  0xff0bdd60 in abort () from /usr/lib/libc.so.1
No symbol table info available.
#3  0xff0bdf9c in _assert () from /usr/lib/libc.so.1
No symbol table info available.
#4  0x000dec80 in can_player_build_unit_direct ()
No symbol table info available.
#5  0x000890d8 in can_build_unit_direct ()
No symbol table info available.
#6  0x000f907c in city_gold_worth ()
No symbol table info available.
#7  0x000e301c in ai_goldequiv_clause ()
No symbol table info available.
#8  0x000e346c in ai_treaty_evaluate ()
No symbol table info available.
#9  0x0004f83c in server_handle_packet ()
No symbol table info available.
#10 0x00028ab4 in handle_packet_input ()
No symbol table info available.
#11 0x00075da8 in sniff_packets ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x00029854 in main_loop ()
No symbol table info available.
#13 0x0002b290 in srv_main ()
No symbol table info available.
#14 0x000237f0 in main ()
No symbol table info available.

This happened during a diplomatic dialog where the AI wanted a
ceasefire, and I was asking for either a city of a tech.

-- 
Brett Albertson




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11413) Assertion failed: (id) >= 0 && (id) < game.num_unit_types, file unittype.c, line 450, Brett Albertson <=