Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: network code bug (PR#1225)
Home

[Freeciv-Dev] Re: network code bug (PR#1225)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <ChrisK@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: network code bug (PR#1225)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2002 20:51:47 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Jan 12, 2002 at 07:56:12AM -0800, Christian Knoke wrote:
> CVS 10 Jan 2002 Gtk+ i386 Linux + CMA 3.1 patch
> 
> During an experiment with a corrupt network connection, I got the
> following:

What do you mean with corrupt network connection? TCP and IP make
checksums.

> chris@max:~> civclient -p 5556 -a
> 2: Verbindung zum Server nicht möglich. Bitte den Server starten.
> 1: received short packet (type 3, len 0) from server (Verbindung
> unvollständig)
> Speicherzugriffsfehler (core dumped)
> chris@max:~/dev/proxy> 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 -p 5556 -a'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libgdk_imlib.so.1...done.
> [...]
> Loaded symbols for /lib/libnss_files.so.2
> #0  genlist_insert (pgenlist=0xc, data=0x82b6a98, pos=0) at genlist.c:120
> 120       if(!pgenlist->nelements) { /*list is empty, ignore pos */
> (gdb) bt
> #0  genlist_insert (pgenlist=0xc, data=0x82b6a98, pos=0) at genlist.c:120
> #1  0x080c1678 in unit_list_insert (tthis=0xc, pfoo=0x82b6a98) at
> speclist_c.h:59

> #2  0x0806c20d in handle_unit_info (packet=0x82b69e8) at packhand.c:1005

There is no unit_list_insert at this line in my version.

> #3  0x080600a9 in handle_packet_input (packet=0x82b69e8 "", type=3) at
> civclient.c:224
> #4  0x08062c7d in input_from_server (fid=6) at clinet.c:332
> #5  0x0808e152 in get_net_input (data=0x0, fid=6, condition=GDK_INPUT_READ)
>     at gui_main.c:844
> #6  0x40193934 in gdk_io_invoke () from /usr/lib/libgdk-1.2.so.0
> #7  0x401c53b0 in g_io_unix_dispatch () from /usr/lib/libglib-1.2.so.0
> #8  0x401c6c46 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
> #9  0x401c7273 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
> #10 0x401c743c in g_main_run () from /usr/lib/libglib-1.2.so.0
> #11 0x400df76c in gtk_main () from /usr/lib/libgtk-1.2.so.0
> #12 0x0808e135 in ui_main (argc=4, argv=0xbffff624) at gui_main.c:836
> #13 0x08060021 in main (argc=4, argv=0xbffff624) at civclient.c:191
> #14 0x403277ee in __libc_start_main () from /lib/libc.so.6

Vasc: Could this be related to the gen impr stuff?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Are you saying that you actually used the Classpath Java AWT classes in 
  addition to the GTK peers and got them to display something?
  Wow.  That's way better than I did and I wrote the code!"
    -- Aaron M. Renn in the classpath mailing list


[Prev in Thread] Current Thread [Next in Thread]