Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2006:
[Freeciv-Dev] (PR#15862) pubserver 2.0 crash in sniff_packets
Home

[Freeciv-Dev] (PR#15862) pubserver 2.0 crash in sniff_packets

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#15862) pubserver 2.0 crash in sniff_packets
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Mar 2006 06:35:18 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15862 >



-------- Original Message --------
From: - Sat Mar 11 09:24:48 2006
X-Account-Key: account1
X-UIDL: GmailId109e96c61c41d894
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
X-Gmail-Received: 49fa3849a80122aab9f519c71ae3c97d2e790f2d
Delivered-To: jdorje@xxxxxxxxx
Received: by 10.65.153.9 with SMTP id f9cs31387qbo;        Sat, 11 Mar 
2006 05:08:47 -0800 (PST)
Received: by 10.36.252.57 with SMTP id z57mr1098166nzh;        Sat, 11 
Mar 2006 05:08:47 -0800 (PST)
Return-Path: <freeciv-dev-bounce@xxxxxxxxxxx>
Received: from mail.sourceforge.net (lists.sourceforge.net 
[66.35.250.206])        by mx.gmail.com with ESMTP id 
15si1987281nzo.2006.03.11.05.08.46;        Sat, 11 Mar 2006 05:08:47 
-0800 (PST)
Received-SPF: neutral (gmail.com: 66.35.250.206 is neither permitted nor 
denied by best guess record for domain of freeciv-dev-bounce@xxxxxxxxxxx)
Received: from glockenspiel.complete.org ([69.10.152.57])       by 
mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44)     id 
1FI3pt-0005YU-68        for jdorje@xxxxxxxxxxxxxxxxxxxxx; Sat, 11 Mar 2006 
05:08:46 -0800
Received: from localhost ([127.0.0.1] helo=glockenspiel)        by 
glockenspiel.complete.org with esmtp    (Exim 4.50)     id 1FI3nx-0007EP-LR; 
Sat, 11 Mar 2006 07:06:55 -0600
Received: with ECARTIS (v1.0.0; list freeciv-dev); Sat, 11 Mar 2006 
07:06:35 -0600 (CST)
Received: from pubserver.freeciv.org ([207.158.49.131]) by 
glockenspiel.complete.org with esmtps   (with 
TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24)    (No TLS peer certificate)       (Exim 
4.50)   id 1FI3nd-0007EG-M4     for freeciv-dev@xxxxxxxxxxx; Sat, 11 Mar 2006 
07:06:35 -0600
Received: from pubserver.freeciv.org (localhost.localdomain 
[127.0.0.1])    by pubserver.freeciv.org (8.12.8/8.12.8) with ESMTP id 
k2BD6JW0024447  for <freeciv-dev@xxxxxxxxxxx>; Sat, 11 Mar 2006 05:06:19 
-0800
Received: (from freeciv@localhost)      by pubserver.freeciv.org 
(8.12.8/8.12.8/Submit) id k2BD6Jnk024445        for freeciv-dev@xxxxxxxxxxx; 
Sat, 11 Mar 2006 05:06:19 -0800
Date: Sat, 11 Mar 2006 05:06:19 -0800
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver crashed: 
http://pubserver.freeciv.org/games/584730
Message-ID: <20060311050619.A24443@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="liOOAslEiF7prFVr"
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
X-Spam-Status: No (score 0.2): AWL=0.001, NO_REAL_NAME=0.178
X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Sat, 11 Mar 
2006 07:06:35 -0600
X-archive-position: 4560
X-ecartis-version: Ecartis v1.0.0
Sender: freeciv-dev-bounce@xxxxxxxxxxx
Errors-to: freeciv-dev-bounce@xxxxxxxxxxx
X-original-sender: freeciv@xxxxxxxxxxxxxxxxxxxxx
Precedence: bulk
List-help: <mailto:ecartis@xxxxxxxxxxx?Subject=help>
List-unsubscribe: 
<mailto:freeciv-dev-request@xxxxxxxxxxx?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: <freeciv-dev.freeciv.org>
X-List-ID: <freeciv-dev.freeciv.org>
List-subscribe: <mailto:freeciv-dev-request@xxxxxxxxxxx?Subject=subscribe>
List-owner: <mailto:freeciv-dev-admins@xxxxxxxxxxx>
List-post: <mailto:freeciv-dev@xxxxxxxxxxx>
X-list: freeciv-dev
X-Spam-Status: No (score 0.2): AWL=0.001, NO_REAL_NAME=0.178
X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Sat, 11 Mar 
2006 07:06:55 -0600
X-Spam-Score: 0.2 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.     See 
http://spamassassin.org/tag/ for more details.  Report problems to 
http://sf.net/tracker/?func=add&group_id=1&atid=200001  0.2 NO_REAL_NAME 
           From: does not include a real name



# examining core.6735 in /games/584730/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/web/latest/freeciv-S2_0+mintimeout-S2_0+auth/share/freeciv
# running: (echo bt full; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/web/latest/freeciv-S2_0+mintimeout-S2_0+auth/share/freeciv/../../bin/civserver
 core.6735
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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-redhat-linux"...
Core was generated by 
`/home/freeciv/.freeciv/code/installed/web/latest/freeciv-S2_0+mintimeout-S2_0+a'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
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 /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x400ac0a1 in kill () from /lib/libc.so.6
(gdb) #0  0x400ac0a1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x400abe99 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x400ad364 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x400a615d in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4  0x0804ba1a in real_die () at shared.c:675
        format = 0x8103860 "Out of memory trying to %s %lu bytes at line %d of 
%s."
#5  0x0804ae83 in handle_alloc_failure (size=3668834496, 
    called_as=0x8124c1d "malloc", line=377, file=0x81278a7 "packets.c")
    at mem.c:40
No locals.
#6  0x0804aeee in fc_real_malloc (size=3668834496, 
    called_as=0x8124c1d "malloc", line=377, file=0x81278a7 "packets.c")
    at mem.c:77
        size = 3668834496
        file = 0x81278a7 "packets.c"
        ptr = (void *) 0x0
#7  0x080a356e in get_packet_from_connection (pc=0x8154940, ptype=0xbfffdd40, 
    presult=0xbfffdd44) at packets.c:377
        compressed_size = -6261328
        decompressed_size = 3668834496
        decompressed = (void *) 0xbfffdcd0
        error = 0
        buffer = (struct socket_packet_buffer *) 0x1
        len_read = 65535
        whole_packet_len = -6261322
        utype = {type = 135614152, itype = 135614152}
        din = {src = 0x8283678, src_size = 6, current = 6, too_short = false, 
  bad_string = false, bad_bit_string = false}
        compressed_packet = true
        header_size = 6
#8  0x08087727 in sniff_packets () at sernet.c:613
        packet = (void *) 0x5
        type = PACKET_PROCESSING_STARTED
        result = false
        i = 63
        max_desc = 135612736
        readfs = {__fds_bits = {32, 0 <repeats 31 times>}}
        writefs = {__fds_bits = {0 <repeats 32 times>}}
        exceptfs = {__fds_bits = {0 <repeats 32 times>}}
        tv = {tv_sec = 1, tv_usec = 0}
        year = 0
#9  0x0804f631 in srv_loop () at srv_main.c:1700
        i = 136936752
        start_nations = 6
#10 0x0804f555 in srv_main () at srv_main.c:1657
No locals.
#11 0x0804a18c in main (argc=16, argv=0xbfffe304) at civserver.c:208
        argc = 16
        argv = (char **) 0xbfffe304
        inx = 16
        showhelp = false
        showvers = false
        option = 0x0
#12 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) [... 0 lines skipped ...]



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#15862) pubserver 2.0 crash in sniff_packets, Jason Short <=