Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] (PR#14887) pubserver crash in user_db_save
Home

[Freeciv-Dev] (PR#14887) pubserver crash in user_db_save

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14887) pubserver crash in user_db_save
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Dec 2005 09:46:58 -0800
Reply-to: bugs@xxxxxxxxxxx

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



-------- Original Message --------
From: - Sat Dec 17 12:46:09 2005
X-Account-Key: account1
X-UIDL: GmailId108398d9682fd64a
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
X-Gmail-Received: 7ec3bc8249d1e2a55394468ed34c687ed97b6f6e
Delivered-To: jdorje@xxxxxxxxx
Received: by 10.65.235.6 with SMTP id m6cs38634qbr;        Sat, 17 Dec 
2005 08:29:06 -0800 (PST)
Received: by 10.37.20.80 with SMTP id x80mr4025362nzi;        Sat, 17 
Dec 2005 08:29:06 -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 
7si4042506nzn.2005.12.17.08.29.06;        Sat, 17 Dec 2005 08:29:06 
-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 
1Eneve-00036w-AW        for jdorje@xxxxxxxxxxxxxxxxxxxxx; Sat, 17 Dec 2005 
08:29:05 -0800
Received: from localhost ([127.0.0.1] helo=glockenspiel)        by 
glockenspiel.complete.org with esmtp    (Exim 4.50)     id 1EneoG-00033Z-7F; 
Sat, 17 Dec 2005 10:21:25 -0600
Received: with ECARTIS (v1.0.0; list freeciv-dev); Sat, 17 Dec 2005 
10:21:15 -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 1Eneo4-00033R-MT     for freeciv-dev@xxxxxxxxxxx; Sat, 17 Dec 2005 
10:21:15 -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 
jBHGL3lQ025072  for <freeciv-dev@xxxxxxxxxxx>; Sat, 17 Dec 2005 08:21:03 
-0800
Received: (from freeciv@localhost)      by pubserver.freeciv.org 
(8.12.8/8.12.8/Submit) id jBHGL3pp025069        for freeciv-dev@xxxxxxxxxxx; 
Sat, 17 Dec 2005 08:21:03 -0800
Date: Sat, 17 Dec 2005 08:21:02 -0800
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver crashed: 
http://pubserver.freeciv.org/games/518250
Message-ID: <20051217082102.A25051@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd"
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, 17 Dec 
2005 10:21:15 -0600
X-archive-position: 3608
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, 17 Dec 
2005 10:21:25 -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.11124 in /games/518250/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-12-13_16.00+mintimeout+original_gamelog/share/freeciv
# running: (echo bt full; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-12-13_16.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver
 core.11124
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/cvs/S2_0/2005-12-13_16.00+mintimeout+orig'.
Program terminated with signal 11, Segmentation fault.
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/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/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
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  0x4009c1da in vfprintf () from /lib/libc.so.6
(gdb) #0  0x4009c1da in vfprintf () from /lib/libc.so.6
No symbol table info available.
#1  0x400b64d1 in vsprintf () from /lib/libc.so.6
No symbol table info available.
#2  0x400a40e5 in sprintf () from /lib/libc.so.6
No symbol table info available.
#3  0x08101ae9 in user_db_save (pconn=0x2e313032) at user_db.c:174
        buffer = "insert into loginlog (name, logintime, address, succeed) 
values ('", '1' <repeats 46 times>, "'), NULL, unix_timestamp(), 
unix_timestamp(),'20"
        sock = (MYSQL *) 0xbfffbcb0
        mysql = {net = {vio = 0x82c57a0, fd = 12, fcntl = 0, 
    buff = 0x837ecc8 "", buff_end = 0x8380cc8 "", write_pos = 0x837ecc8 "", 
    read_pos = 0x837ecc8 "", last_error = '\0' <repeats 199 times>, 
    last_errno = 0, max_packet = 8192, timeout = 30, pkt_nr = 2, 
    error = 0 '\0', return_errno = 0 '\0', compress = 0 '\0', 
    no_send_ok = 0 '\0', remain_in_buf = 0, length = 0, buf_length = 0, 
    where_b = 0, return_status = 0x0, reading_or_writing = 0 '\0', 
    save_char = 0 '\0'}, connector_fd = 0x0, host = 0x8358228 "freeciv-int", 
  user = 0x8358260 "pubserver", passwd = 0x8358270 "freeciv", 
  unix_socket = 0x0, server_version = 0x8358240 "3.23.58", 
  host_info = 0x8358210 "freeciv-int via TCP/IP", info = 0x0, 
  db = 0x8357c20 "pubserver", port = 3306, client_flag = 8205, 
  server_capabilities = 8236, protocol_version = 10, field_count = 0, 
  server_status = 2, thread_id = 517043, affected_rows = 1, insert_id = 12305, 
  extra_info = 0, packet_length = 0, status = MYSQL_STATUS_READY, 
  fields = 0x0, field_alloc = {free = 0x0, used = 0x0, pre_alloc = 0x0, 
    min_malloc = 32, block_size = 8164, error_handler = 0}, free_me = 0 '\0', 
  reconnect = 1 '\001', options = {connect_timeout = 0, client_flag = 0, 
    compress = 0 '\0', named_pipe = 0 '\0', port = 0, host = 0x0, 
    init_command = 0x0, user = 0x0, password = 0x0, unix_socket = 0x0, 
    db = 0x0, my_cnf_file = 0x0, my_cnf_group = 0x0, charset_dir = 0x0, 
    charset_name = 0x0, use_ssl = 0 '\0', ssl_key = 0x0, ssl_cert = 0x0, 
    ssl_ca = 0x0, ssl_capath = 0x0}, scramble_buff = "Nv)b8/!V", 
  charset = 0x814e7d8, server_language = 8}
#4  0x27202c27 in ?? ()
No symbol table info available.
(gdb) [... 0 lines skipped ...]



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