<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40060 >
Du schriebst am 29. Jan um 02:49 Uhr: > Christian Knoke wrote: > >> debug > > Speicherzugriffsfehler (core dumped) > > > Unable to reproduce. Works here for both 2.1 and 2.2. Here's backtrace for revison 14351 on Debian Etch: [EMAIL PROTECTED]:~$ civserver Freeciv Version 2.1.99-test Server Weitere Informationen zu Freeciv finden Sie auf http://www.freeciv.org/. 2: Lade Regelsätze 2: Warte auf Spieler... 'help' gibt Erläuterungen zur Verwendung der Online-Hilfe. > debug Befehl kann nur nach Spielbeginn verwendet werden. > create chris > start Spiel begonnen. > 2: Peter McQueen beherrscht die Muskogee. > debug Speicherzugriffsfehler (core dumped) warning: Can't read pathname for load map: Eingabe-/Ausgabefehler. 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 Core was generated by `civserver'. Program terminated with signal 11, Segmentation fault. #0 0x080b5dce in debug_command (caller=0x0, str=<value optimized out>, check=false) at stdinhand.c:2393 2393 } else if (strcmp(arg[0], "ferries") == 0) { (gdb) bt full #0 0x080b5dce in debug_command (caller=0x0, str=<value optimized out>, check=false) at stdinhand.c:2393 buf = '\0' <repeats 296 times>, "\203\000ַ\2108*\b��M\b�\237����M\b0\000ַ\224O��>bO����M\b\000\000\000\000\000\000\000\000�O��\t\000\000\0004P���\006ַ�O��`���0\000ַ\000\000\000\000\000\000\000\000\2108*\b\005", '\0' <repeats 19 times>, "(server prompt)\000�\231�g��\025\b\t\000\000\000`���0\000ַ\213�\004\b��\025\b\230X����M\b", '\0' <repeats 12 times>, "L\225�\000\000X��\020\000\000\000^\000\000\000��������\230V��\t"... arg = {0x0, 0x5e <Address 0x5e out of bounds>, 0x816be09 "%s: '%s %s'"} ntokens = 0 i = <value optimized out> #1 0x080bb1c3 in handle_stdin_input (caller=0x0, str=0x8587370 "debug", check=false) at stdinhand.c:3635 idx = <value optimized out> command = "debug\000\000\000��?�0\225X\b\210\225X\b\000\000\000\000\004\000\000\000H\230;[EMAIL PROTECTED];[EMAIL PROTECTED];\b\000\000\000\000�\237��\000\000\000\000`\230;\b�Y��U\222շ�\224X\bd\225X\b�Y��`\230;\b\000\000\000\000(Z��\000\000\000\000\000\000\000\0006sX\b\200\177\000\000�\237���\224X\bd\225X\b�\037ڷ\004\000\000\0006sX\b\000\000\000\000�\027<\b\024*ڷ�Y��\004\000\000\000"... arg = '\0' <repeats 248 times>, "�\217շ\000\000\000\000\024*ڷ", '\0' <repeats 24 times>, "~:N\b\002\000\000\000������淠X��\000\000\000\000\004\000\000\000����\201\000\000\000�X��\000\000\000\000<X��/�M\b\000\000\000\000 Y��\fj*\b�X��\000\000\000\000\004\000\000\000/�M\b\000\000\000\000��淰\224X\b\020\000\000\000}:N\b\020\000\000\000�X��\000\000\000\000\206\fڷ", '\0' <repeats 12 times>, "�\237����������\221\022\000\000��������\000\000\000\000��淰\022\000\000�\224X\b�X"... allargs = '\0' <repeats 511 times> full_command = "debug", '\0' <repeats 63 times>, "\203�ٷ\000\000\000\000\000\000\000\000�\020ٷQ�\025\bQ�\025\b\005\000\000\000�\237��$�\026\b\000\000\000\000\030Y��_\217<Y��$�\026\b\000\000\000\000_\217LY���\017��\204X��\035\213\000\000\000\000\000\000\000\000�X��\035\213\000\000\000\000\000\000\000\000\000Y��", '\0' <repeats 32 times>, "�Y��\000\000\000\000\200K?G\000\000\000\000�Y��", '\0' <repeats 20 times>, "����\005\000\000\000$�\026\b �\026\b\204X��\001", '\0' <repeats 69 times>, " s", '\0' <repeats 14 times>... cptr_s = <value optimized out> cptr_d = <value optimized out> i = -1 cmd = CMD_DEBUG __PRETTY_FUNCTION__ = "handle_stdin_input" #2 0x080fc115 in handle_readline_input_callback (line=0x8587330 "debug") at sernet.c:187 line_internal = 0x8587370 "debug" #3 0xb7ec71a0 in rl_callback_read_char () from /lib/libreadline.so.5 No symbol table info available. #4 0x080fc9bf in server_sniff_all_input () at sernet.c:696 myiter = <value optimized out> pconn = <value optimized out> max_desc = <value optimized out> readfs = {fds_bits = {1, 0 <repeats 31 times>}} writefs = {fds_bits = {0 <repeats 32 times>}} exceptfs = {fds_bits = {0 <repeats 32 times>}} tv = {tv_sec = 0, tv_usec = 560000} last_noplayers = 0 connections = false #5 0x080b0f05 in srv_running () at srv_main.c:1840 pplayer = <value optimized out> eot_timer = (struct timer *) 0x8587730 save_counter = 1 is_new_turn = true __PRETTY_FUNCTION__ = "srv_running" #6 0x080b1a0c in srv_main () at srv_main.c:2191 No locals. #7 0x0804aaea in main (argc=Cannot access memory at address 0x8 ) at civserver.c:265 inx = 1 showhelp = 24 showvers = 8 option = <value optimized out> (gdb) HTH, Christian -- Christian Knoke * * * http://cknoke.de * * * * * * * * * Ceterum censeo Microsoft esse dividendum. _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev