Ejem... happy debugging...
jor...@ubuntu:~/freeciv/trunk/freeciv/server$ gdb civserver -c core GNU gdb 6.8-debian 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 "i486-linux-gnu"... /home/jorneg/freeciv/trunk/freeciv/server/core: No such file or directory. (gdb) quit jor...@ubuntu:~/freeciv/trunk/freeciv/server$ gdb civserver -c ../core GNU gdb 6.8-debian 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 "i486-linux-gnu"... warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libreadline.so.5...done. Loaded symbols for /lib/libreadline.so.5 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 Core was generated by `./server/civserver'. Program terminated with signal 11, Segmentation fault. [New process 5509] #0 0x0806b9db in assess_danger_player (pplayer=0x82c8a74) at advmilitary.c:415 415 city_list_iterate(pplayer->cities, pcity) { (gdb) bt full #0 0x0806b9db in assess_danger_player (pplayer=0x82c8a74) at advmilitary.c:415 myiter = (struct genlist_link *) 0x2 #1 0x080cc6f6 in ai_do_first_activities (pplayer=0x82c8a74) at aihand.c:430 No locals. #2 0x08052dbf in srv_running () at srv_main.c:642 eot_timer = (struct timer *) 0x89a3290 save_counter = 1 is_new_turn = true __PRETTY_FUNCTION__ = "srv_running" #3 0x08053984 in srv_main () at srv_main.c:2383 No locals. #4 0x0804b1df in main (argc=1, argv=0xbfdfe3e4) at civserver.c:290 inx = 1 showhelp = 27 showvers = 8 option = <value optimized out> (gdb)
_______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
