[Freeciv-Dev] (PR#11878) crash in 2.0.0-rc6
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11878 >
hi there
freeciv 2.0.0rc6 just crashed.
what i did was the following (i never did that before)... i opened the city
dialog and applied "CMA max food" to all cities... the message dialog told me
that the agent failed to work on some cities... i opened one of these cities by
hand... food was -2... so in its city dialog i opened up CMA, marked max food
and then i pressed the "apply once" button. then it crashed...
======== civ version:
eugene@security-ag$ civclient --version
Freeciv version 2.0.0-beta6 (beta version) gui-gtk-2.0
======== the log of the client is:
eugene@security-ag$ civclient
Encodings: Data=UTF-8, Local=ISO-8859-1, Internal=UTF-8
1: Cannot find sound spec-file "stdsounds".
1: To get sound you need to download a sound set!
1: Get sound sets from <ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets>.
1: Will continue with disabled sounds.
2: print_city(city='Usti nad Labem'(id=445))
2: size=5, entertainers=0, scientists=0, taxmen=0
2: workers at:
2: ( 2, 2)
2: ( 2, 1)
2: ( 1, 3)
2: ( 0, 2)
2: ( 0, 1)
2: ( 1, 0)
2: food = 8 ( -2)
2: shield = 18 (+16)
2: trade = 6
2: gold = 2 ( -2)
2: luxury = 0
2: science = 8
2: print_result(result=0xbfbfd850)
2: print_result: found_a_valid=0 disorder=216 happy=191
2: print_result: workers at:
2: print_result: ( 2, 2)
2: print_result: ( 1, 2)
2: print_result: ( 2, 1)
2: print_result: ( 2, 3)
2: print_result: ( 3, 2)
2: print_result: ( 1, 1)
2: print_result: ( 1, 3)
2: print_result: ( 3, 1)
2: print_result: ( 3, 3)
2: print_result: ( 0, 2)
2: print_result: ( 2, 0)
2: print_result: ( 2, 4)
2: print_result: ( 4, 2)
2: print_result: ( 0, 1)
2: print_result: ( 0, 3)
2: print_result: ( 1, 0)
2: print_result: ( 1, 4)
2: print_result: ( 3, 0)
2: print_result: ( 3, 4)
2: print_result: ( 4, 1)
2: print_result: ( 4, 3)
2: print_result: -www-
2: print_result: wwwww
2: print_result: wwcww
2: print_result: wwwww
2: print_result: -www-
2: print_result: people: (workers/specialists) 20/-1077946184/67
2: print_result: Food surplus=-2
2: print_result: Shield surplus=-1077946248
2: print_result: Trade surplus=679881630
2: print_result: Gold surplus=0
2: print_result: Luxury surplus=64
2: print_result: Science surplus=0
Assertion failed: (0), function apply_result_on_server, file cma_core.c, line 22
1.
Abort trap (core dumped)
eugene@security-ag$
======== the gdb output is:
eugene@security-ag$ gdb /usr/local/bin/civclient civclient.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...
Core was generated by `civclient'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libintl.so.6...done.
Loaded symbols for /usr/local/lib/libintl.so.6
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
[...]
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x2897d0ef in kill () from /lib/libc.so.5
(gdb) bt full
#0 0x2897d0ef in kill () from /lib/libc.so.5
No symbol table info available.
#1 0x289710a6 in raise () from /lib/libc.so.5
No symbol table info available.
#2 0x289eddc9 in abort () from /lib/libc.so.5
No symbol table info available.
#3 0x289c5a5f in __assert () from /lib/libc.so.5
No symbol table info available.
#4 0x081153bd in apply_result_on_server (pcity=0x86a8000, result=0xbfbfd850)
at cma_core.c:221
first_request_id = 0
last_request_id = 0
i = 679947992
sp = 145990400
current_state = {found_a_valid = true, disorder = false, happy = false,
surplus = {-2, 16, 6, -2, 0, 8},
worker_positions_used = {{false, true, true, false, false}, {true, false,
false, true, false}, {false, true, true, false, false}, {
false, false, false, false, false}, {false, false, false, false, false}},
specialists = {0, 0, 0}}
success = 8
__func__ = "apply_result_on_server"
#5 0x08115ed3 in cma_apply_result (pcity=0x86a8000, result=0xbfbfd850) at
cma_core.c:505
__func__ = "cma_apply_result"
#6 0x08123e18 in cma_change_to_callback (w=0x877e700, data=0x87fae80) at
cma_fe.c:624
result = {found_a_valid = false, disorder = 216, happy = 191, surplus =
{-2, -1077946248, 679881630, 0, 64, 0},
worker_positions_used = {{216, 46, 135, 40, 160}, {219, 191, 191, 160, 117},
{161, 8, 168, 216, 191}, {191, 38, 76, 134, 40}, {160,
219, 191, 191, 240}}, specialists = {-1077946184, 679889958, -1077945440}}
pdialog = (struct cma_dialog *) 0x87fae80
param = {minimal_surplus = {0, 0, 0, 0, 0, 0}, require_happy = false,
allow_disorder = false, allow_specialists = true,
factor = {10, 1, 1, 1, 1, 1}, happy_factor = 0}
#7 0x2885792a in g_cclosure_marshal_VOID__VOID () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#8 0x2883d95c in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#9 0x28856f9b in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#10 0x28856140 in g_signal_emit_valist () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#11 0x288563d2 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#12 0x282f8ede in gtk_button_clicked () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#13 0x282f9eea in gtk_button_get_relief () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#14 0x2885792a in g_cclosure_marshal_VOID__VOID () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#15 0x2883dc97 in g_type_class_meta_marshal () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#16 0x2883d95c in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#17 0x28856bec in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#18 0x28856140 in g_signal_emit_valist () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#19 0x288563d2 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#20 0x282f8e1e in gtk_button_released () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#21 0x282f9d66 in gtk_button_get_relief () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#22 0x283be836 in gtk_marshal_VOID__UINT_STRING () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#23 0x2883dc97 in g_type_class_meta_marshal () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#24 0x2883d95c in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#25 0x288571f2 in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#26 0x288561ae in g_signal_emit_valist () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#27 0x288563d2 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#28 0x284ce14b in gtk_widget_send_expose () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#29 0x284cdcbf in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#30 0x283bcdd3 in gtk_propagate_event () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#31 0x283bb988 in gtk_main_do_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#32 0x285c2dd8 in gdk_x11_register_standard_event_type () from
/usr/X11R6/lib/libgdk-x11-2.0.so.400
No symbol table info available.
#33 0x2889e845 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#34 0x2889f700 in g_main_context_dispatch () from
/usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#35 0x2889fafc in g_main_context_iterate () from
/usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#36 0x288a0251 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#37 0x283bb1c2 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#38 0x0813140c in ui_main (argc=1, argv=0xbfbfe9e8) at gui_main.c:1178
icon_bitmap = (GdkBitmap *) 0x82c35c0
home = (const gchar *) 0x82ad980 "/home/eugene"
sig = 24
style = (GtkStyle *) 0x82c6c00
#39 0x0806d9e1 in main (argc=1, argv=0xbfbfe9e8) at civclient.c:330
i = 1
loglevel = 2
ui_options = 0
No symbol table info available.
#20 0x282f8e1e in gtk_button_released () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#21 0x282f9d66 in gtk_button_get_relief () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#22 0x283be836 in gtk_marshal_VOID__UINT_STRING () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#23 0x2883dc97 in g_type_class_meta_marshal () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#24 0x2883d95c in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#25 0x288571f2 in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#26 0x288561ae in g_signal_emit_valist () from
/usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#27 0x288563d2 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.400
No symbol table info available.
#28 0x284ce14b in gtk_widget_send_expose () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#29 0x284cdcbf in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#30 0x283bcdd3 in gtk_propagate_event () from
/usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#31 0x283bb988 in gtk_main_do_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#32 0x285c2dd8 in gdk_x11_register_standard_event_type () from
/usr/X11R6/lib/libgdk-x11-2.0.so.400
No symbol table info available.
#33 0x2889e845 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#34 0x2889f700 in g_main_context_dispatch () from
/usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#35 0x2889fafc in g_main_context_iterate () from
/usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#36 0x288a0251 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#37 0x283bb1c2 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#38 0x0813140c in ui_main (argc=1, argv=0xbfbfe9e8) at gui_main.c:1178
icon_bitmap = (GdkBitmap *) 0x82c35c0
home = (const gchar *) 0x82ad980 "/home/eugene"
sig = 24
style = (GtkStyle *) 0x82c6c00
#39 0x0806d9e1 in main (argc=1, argv=0xbfbfe9e8) at civclient.c:330
i = 1
loglevel = 2
ui_options = 0
---Type <return> to continue, or q <return> to quit---
ui_separator = false
option = 0x0
======== the ldd output is:
eugene@security-ag$ ldd /usr/local/bin/civclient
/usr/local/bin/civclient:
libintl.so.6 => /usr/local/lib/libintl.so.6 (0x281a1000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281ab000)
libgtk-x11-2.0.so.400 => /usr/X11R6/lib/libgtk-x11-2.0.so.400
(0x2829b000)
libgdk-x11-2.0.so.400 => /usr/X11R6/lib/libgdk-x11-2.0.so.400
(0x28580000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x285f4000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x285f8000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x28600000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x28603000)
libatk-1.0.so.800 => /usr/local/lib/libatk-1.0.so.800 (0x2860c000)
libgdk_pixbuf-2.0.so.400 => /usr/X11R6/lib/libgdk_pixbuf-2.0.so.400
(0x28627000)
libpangoxft-1.0.so.600 => /usr/X11R6/lib/libpangoxft-1.0.so.600
(0x2863e000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28643000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28655000)
libz.so.2 => /lib/libz.so.2 (0x286c0000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x286d1000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x286d9000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x286e7000)
libpangox-1.0.so.600 => /usr/X11R6/lib/libpangox-1.0.so.600 (0x2870f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2871a000)
libpango-1.0.so.600 => /usr/X11R6/lib/libpango-1.0.so.600 (0x287e3000)
libm.so.3 => /lib/libm.so.3 (0x2881a000)
libgobject-2.0.so.400 => /usr/local/lib/libgobject-2.0.so.400
(0x28834000)
libgmodule-2.0.so.400 => /usr/local/lib/libgmodule-2.0.so.400
(0x28874000)
libglib-2.0.so.400 => /usr/local/lib/libglib-2.0.so.400 (0x28878000)
libesd.so.2 => /usr/local/lib/libesd.so.2 (0x288fa000)
libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x28903000)
libc.so.5 => /lib/libc.so.5 (0x2892c000)
libpangoft2-1.0.so.600 => /usr/X11R6/lib/libpangoft2-1.0.so.600
(0x28a14000)
libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x28a3b000)
== the uname output is:
FreeBSD * 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Jan 8 00:59:53 CET 2005
root@*:/usr/obj/usr/src/sys/SECURITY-AG i386
Eugene
- [Freeciv-Dev] (PR#11878) crash in 2.0.0-rc6,
User Eugene <=
|
|