Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4745) Assert unittype.c:86
Home

[Freeciv-Dev] (PR#4745) Assert unittype.c:86

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4745) Assert unittype.c:86
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Sat, 2 Aug 2003 12:01:54 -0700
Reply-to: rt@xxxxxxxxxxxxxx

CVS 01 AUG 2003 w/ aidip13 GTK 1

On changing CMA for a conquered city from none to preset in city report:

chris@max:~> civclient -t trident -P none
civclient: unittype.c:86: get_unit_type: Zusicherung »id >= 0 && id < 200 &&
id < game.num_unit_types« nicht erfüllt.
Abgebrochen (core dumped)
chris@max:~> gdb civclient -core core
GNU gdb 20010316
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
Core was generated by `civclient -t trident -P none'.
Program terminated with signal 6, Aborted.
...
#0  0x4035f861 in kill () from /lib/libc.so.6
#1  0x4035f665 in raise () from /lib/libc.so.6
#2  0x40360c81 in abort () from /lib/libc.so.6
#3  0x40359a52 in Letext () from /lib/libc.so.6
#4  0x080d6bae in get_unit_type (id=75) at unittype.c:86
#5  0x080d6be4 in unit_type (punit=0x83afac8) at unittype.c:95
#6  0x080b8734 in city_support (pcity=0x84253d8, send_unit_info=0) at 
city.c:2099
#7  0x080b896d in generic_city_refresh (pcity=0x84253d8,
    refresh_trade_route_cities=false, send_unit_info=0) at city.c:2193
#8  0x080b3939 in real_fill_out_result (pcity=0x84253d8, result=0xbfffe8d8)
    at cm.c:617
#9  0x080b3d77 in fill_out_result (pcity=0x84253d8, result=0xbfffe8d8, 
    base_combination=0x8104de4, scientists=0, taxmen=0) at cm.c:883
#10 0x080b4810 in optimize_final (pcity=0x84253d8, parameter=0xbfffe9cc, 
    best_result=0xbfffea08) at cm.c:1332
#11 0x080b4a7b in cm_query_result (pcity=0x84253d8, parameter=0xbfffe9cc,
    result=0xbfffea08) at cm.c:1451
#12 0x080da887 in handle_city (pcity=0x84253d8) at cma_core.c:537
#13 0x080daa0e in city_changed (city_id=234) at cma_core.c:600
#14 0x080d9331 in execute_call (call=0x844b6d8) at agents.c:166
#15 0x080d938e in call_handle_methods () at agents.c:199
#16 0x080d9b2b in cause_a_city_changed_for_agent
    (name_of_calling_agent=0x80ef8a6 "CMA", pcity=0x84253d8) at agents.c:681
#17 0x080dab99 in cma_put_city_under_agent (pcity=0x84253d8,
    parameter=0x829bfe4) at cma_core.c:670
#18 0x08087458 in select_cma_callback (w=0x847e208, data=0xb) at
    cityrep.c:436
#19 0x400e23c3 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#20 0x40114268 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#21 0x4011363f in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x40111597 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#23 0x4014a64f in gtk_widget_activate () from /usr/lib/libgtk-1.2.so.0
#24 0x400eaefc in gtk_menu_shell_activate_item () from
    /usr/lib/libgtk-1.2.so.0
#25 0x400ea121 in gtk_menu_shell_button_release () from
    /usr/lib/libgtk-1.2.so.0
#26 0x400e1f2f in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#27 0x4011367d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#28 0x40111597 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#29 0x4014a4ec in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#30 0x400e1e65 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#31 0x400e0eaf in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#32 0x40195dd4 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#33 0x401c7c46 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#34 0x401c8273 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#35 0x401c843c in g_main_run () from /usr/lib/libglib-1.2.so.0
#36 0x400e076c in gtk_main () from /usr/lib/libgtk-1.2.so.0
#37 0x0809956d in ui_main (argc=1, argv=0xbffff624) at gui_main.c:959
#38 0x080655ff in main (argc=5, argv=0xbffff624) at civclient.c:244
#39 0x4034e7ee in __libc_start_main () from /lib/libc.so.6

-- 
Christian Knoke          * * *          http://www.cknoke.de
* Please note new mail address - Neue Mailadresse beachten *
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



[Prev in Thread] Current Thread [Next in Thread]