Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] CMA core assert (PR#1645)
Home

[Freeciv-Dev] CMA core assert (PR#1645)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] CMA core assert (PR#1645)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Sun, 30 Jun 2002 10:12:49 -0700 (PDT)

CVS of NOW GTK 1.2

Maybe a problem with the client init:

I've had a game, quitted the server, restarted server
with savegame, client reconnect, and then:

chris@max:~> civclient -t trident -P none
2: Plugin 'none' ausgewählt
2: lost connection to server
2: expected:
2: combination:  workers at:
2: combination:  food=3 shield=1 trade=2
2: got:
2: print_result(result=0xbffff16c)
2: print_result:  found_a_valid=-3668 disorder=0 happy=0
2: print_result: -...-
2: print_result: .....
2: print_result: ..c..
2: print_result: .....
2: print_result: -...-
2: print_result:  people: W/E/S/T 0/8/0/0
2: print_result:     Nahrung production=0 surplus=-16
2: print_result:      Schild production=0 surplus=0
2: print_result:      Handel production=0 surplus=0
2: print_result:        Gold production=0 surplus=0
2: print_result:       Luxus production=16 surplus=16
2: print_result:   Forschung production=0 surplus=0
civclient: cma_core.c:1653: optimize_final: Zusicherung »0« 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 ivclient -t trident -P none'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libgdk_imlib.so.1...done.
Loaded symbols for /usr/lib/libgdk_imlib.so.1
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgtk-1.2.so.0
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgdk-1.2.so.0
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/gconv/ISO8859-15.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-15.so
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libimlib-xpm.so...done.
Loaded symbols for /usr/lib/libimlib-xpm.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x4035e861 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x4035e861 in kill () from /lib/libc.so.6
#1  0x4035e665 in raise () from /lib/libc.so.6
#2  0x4035fc81 in abort () from /lib/libc.so.6
#3  0x40358a52 in Letext () from /lib/libc.so.6
#4  0x080cd3f6 in optimize_final (pcity=0x838d7d8, parameter=0xbffff268, 
    best_result=0xbffff228) at cma_core.c:1653
#5  0x080cd80b in cma_query_result (pcity=0x838d7d8, parameter=0xbffff268, 
    result=0xbffff228) at cma_core.c:1881
#6  0x080cd58e in handle_city (pcity=0x838d7d8) at cma_core.c:1750
#7  0x080cd6dc in city_changed (pcity=0x838d7d8) at cma_core.c:1810
#8  0x080ca901 in execute_call (call=0x83a2268) at agents.c:198
#9  0x080ca95e in call_handle_methods () at agents.c:232
#10 0x080caa19 in thaw () at agents.c:270
#11 0x080cab3b in agents_start_turn () at agents.c:386
#12 0x0806d740 in handle_start_turn () at packhand.c:711
#13 0x08061265 in handle_packet_input (packet=0x83a9ab0, type=92) at
civclient.c:439
#14 0x08064363 in input_from_server (fd=6) at clinet.c:325
#15 0x08090ac2 in get_net_input (data=0x0, fid=6, condition=GDK_INPUT_READ)
    at gui_main.c:1083
#16 0x40193934 in gdk_io_invoke () from /usr/lib/libgdk-1.2.so.0
#17 0x401c53b0 in g_io_unix_dispatch () from /usr/lib/libglib-1.2.so.0
#18 0x401c6c46 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#19 0x401c7273 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#20 0x401c743c in g_main_run () from /usr/lib/libglib-1.2.so.0
#21 0x400df76c in gtk_main () from /usr/lib/libgtk-1.2.so.0
#22 0x0809053f in ui_main (argc=5, argv=0xbffff624) at gui_main.c:878
#23 0x08060f0a in main (argc=5, argv=0xbffff624) at civclient.c:216
#24 0x4034d7ee in __libc_start_main () from /lib/libc.so.6
(gdb) quit

Not reproducible.

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] CMA core assert (PR#1645), Christian Knoke <=