<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40632 >
Freeciv server is crashing on my linux. reproduction: start a game and create a city. When the first city of user or ai is created the server crashes. version (both): freeciv-2.1.8 build from sources freeciv-2.1.8 prebuild fedora package system: fedora 10 with all updates (7.1.2009) and no self build packages backtrace: ---------------------------------------------------------------------------------------------- $ gdb server/civserver GNU gdb Fedora (6.8-29.fc10) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... (gdb) run Starting program: /home/olli/work/freeciv-2.1.8/server/civserver This is the server for Freeciv version 2.1.8 You can learn a lot about Freeciv at http://www.freeciv.org/ 2: Loading rulesets 2: Now accepting new client connections. For introductory help, type 'help'. > 2: (1) olli: connection request [ollisland] 2: (1) olli: connected [ollisland] > Starting game. 2: Davit IV rules the Georgians. > civserver: cityturn.c:276: auto_arrange_workers: Zusicherung »cmr.found_a_valid« nicht erfüllt. Program received signal SIGABRT, Aborted. 0x00110416 in __kernel_vsyscall () Missing separate debuginfos, use: debuginfo-install glibc-2.9-3.i686 ncurses-libs-5.6-20.20080927.fc10.i386 readline-5.2-13.fc9.i386 zlib-1.2.3-18.fc9.i386 (gdb) bt #0 0x00110416 in __kernel_vsyscall () #1 0x004bc460 in raise () from /lib/libc.so.6 #2 0x004bde28 in abort () from /lib/libc.so.6 #3 0x004b540e in __assert_fail () from /lib/libc.so.6 #4 0x08070778 in auto_arrange_workers (pcity=0x8471788) at cityturn.c:276 #5 0x0806d210 in create_city (pplayer=0x827990c, ptile=0x89dd9c8, name=0x846f7ac "Kutaisi") at citytools.c:1039 #6 0x080a5afd in city_build (pplayer=0x827990c, punit=0x8a32038, name=0x846f7ac "Kutaisi") at unithand.c:555 #7 0x0807a228 in server_handle_packet (type=PACKET_UNIT_BUILD_CITY, packet=0x6, pplayer=0x827990c, pconn=0x81a2240) at hand_gen.c:153 #8 0x08051443 in server_packet_input (pconn=0x81a2240, packet=0x0, type=53) at srv_main.c:1214 #9 0x0809f46b in incoming_client_packets () at sernet.c:396 #10 server_sniff_all_input () at sernet.c:752 #11 0x08052e8d in srv_running () at srv_main.c:1862 #12 srv_main () at srv_main.c:2211 #13 0x0804a775 in main (argc=1, argv=0xbffff4b4) at civserver.c:258 (gdb) bt full #0 0x00110416 in __kernel_vsyscall () No symbol table info available. #1 0x004bc460 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x004bde28 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x004b540e in __assert_fail () from /lib/libc.so.6 No symbol table info available. #4 0x08070778 in auto_arrange_workers (pcity=0x8471788) at cityturn.c:276 cmp = {minimal_surplus = {-1000000000, -1000000000, -1000000000, -1000000000, -1000000000, -1000000000}, require_happy = false, allow_disorder = true, allow_specialists = true, factor = {1, 1, 1, 1, 1, 1}, happy_factor = 1} cmr = {found_a_valid = false, disorder = 117, happy = 46, surplus = {1, 138876808, 0, 138876808, 136812812, 0}, worker_positions_used = {{true, false, false, false, 136}, {23, 71, 8, false, false}, {false, false, false, false, false}, {false, 37, false, false, false}, {4, false, false, false, 144}}, specialists = { 134987208, -1073752140, -1073752144, 4, 25, 0, 37, -1073752136, 134987432, 0, 0, 144562632, 144562632, 16777218, 2, 0, 0, -1073752088, 134943553, 144562632}} __PRETTY_FUNCTION__ = "auto_arrange_workers" #5 0x0806d210 in create_city (pplayer=0x827990c, ptile=0x89dd9c8, name=0x846f7ac "Kutaisi") at citytools.c:1039 pcity = (struct city *) 0x8471788 x_itr = 5 y_itr = 5 nation = <value optimized out> __PRETTY_FUNCTION__ = "create_city" #6 0x080a5afd in city_build (pplayer=0x827990c, punit=0x8a32038, name=0x846f7ac "Kutaisi") at unithand.c:555 message = "\000\000\000\000\017\000\000\000\000\000\000\000\025", '\0' <repeats 11 times>, "0KG\b�\203G\b\000\004\000\000�\203G\b0KG\b����\020� \v\b��L\b\035\000\000\000������\n\b�\203G\b0KG\b �L\b\f\231'\b\001\000 \000\0000fb\b������\...@\"\032\b\b��VˣP\000\030{\000\000��L\b0fb\b������ \006\b0fb\b0fb\b8MG\b��d\b\001\000\000\000\f\231'\b(���>�\006\b� \027.\b0fb\001\000\000\000\0003333����\032\000\000\000\005\000\000 \000��d\b\001\000\000\000�"... #7 0x0807a228 in server_handle_packet (type=PACKET_UNIT_BUILD_CITY, packet=0x6, pplayer=0x827990c, pconn=0x81a2240) at hand_gen.c:153 No locals. #8 0x08051443 in server_packet_input (pconn=0x81a2240, packet=0x0, type=53) at srv_main.c:1214 pplayer = (struct player *) 0x827990c #9 0x0809f46b in incoming_client_packets () at sernet.c:396 No locals. #10 server_sniff_all_input () at sernet.c:752 pconn = (struct connection *) 0x81a2240 max_desc = <value optimized out> readfs = {fds_bits = {256, 0 <repeats 31 times>}} writefs = {fds_bits = {0 <repeats 32 times>}} exceptfs = {fds_bits = {0 <repeats 32 times>}} tv = {tv_sec = 0, tv_usec = 74000} last_noplayers = 0 connections = false #11 0x08052e8d in srv_running () at srv_main.c:1862 No locals. #12 srv_main () at srv_main.c:2211 No locals. #13 0x0804a775 in main (argc=1, argv=0xbffff4b4) at civserver.c:258 inx = 1 showhelp = 24 showvers = 8 option = <value optimized out> (gdb) ---------------------------------------------------------------------------------------- I hope this description helps you in solving the problem. Thanks by the way for this nice game ! Oliver Burghard _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev