Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] (PR#14947) freeciv 1.14 crash in update_dumb_city
Home

[Freeciv-Dev] (PR#14947) freeciv 1.14 crash in update_dumb_city

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14947) freeciv 1.14 crash in update_dumb_city
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Dec 2005 08:57:14 -0800
Reply-to: bugs@xxxxxxxxxxx

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



-------- Original Message --------
From: - Thu Dec 22 11:52:18 2005
X-Account-Key: account1
X-UIDL: GmailId10853407dc744b8c
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
X-Gmail-Received: 67f57cc2daee51399f41a47bc0ef0a3137cb7afe
Delivered-To: jdorje@xxxxxxxxx
Received: by 10.65.235.20 with SMTP id m20cs14163qbr;        Thu, 22 Dec 
2005 08:15:01 -0800 (PST)
Received: by 10.36.128.13 with SMTP id a13mr1990842nzd;        Thu, 22 
Dec 2005 08:15:01 -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 
p4si1734017nzc.2005.12.22.08.14.58;        Thu, 22 Dec 2005 08:15:01 
-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 
1EpT5h-00023z-LD        for jdorje@xxxxxxxxxxxxxxxxxxxxx; Thu, 22 Dec 2005 
08:14:57 -0800
Received: from localhost ([127.0.0.1] helo=glockenspiel)        by 
glockenspiel.complete.org with esmtp    (Exim 4.50)     id 1EpSxH-0002MB-7Z; 
Thu, 22 Dec 2005 10:06:12 -0600
Received: with ECARTIS (v1.0.0; list freeciv-dev); Thu, 22 Dec 2005 
10:06:02 -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 1EpSx6-0002M5-Gx     for freeciv-dev@xxxxxxxxxxx; Thu, 22 Dec 2005 
10:06:02 -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 
jBMG5olQ023104  for <freeciv-dev@xxxxxxxxxxx>; Thu, 22 Dec 2005 08:05:50 
-0800
Received: (from freeciv@localhost)      by pubserver.freeciv.org 
(8.12.8/8.12.8/Submit) id jBMG5oKM023102        for freeciv-dev@xxxxxxxxxxx; 
Thu, 22 Dec 2005 08:05:50 -0800
Date: Thu, 22 Dec 2005 08:05:49 -0800
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver crashed: 
http://pubserver.freeciv.org/games/520421
Message-ID: <20051222080549.A23100@xxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0"
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 Thu, 22 Dec 
2005 10:06:02 -0600
X-archive-position: 3649
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 Thu, 22 Dec 
2005 10:06:12 -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.6087 in /games/520421/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/web/stable/freeciv-1.14.2+mintimeout-1.14.2+newdead2/share/freeciv
# running: (echo bt full; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/web/stable/freeciv-1.14.2+mintimeout-1.14.2+newdead2/share/freeciv/../../bin/civserver
 core.6087
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/stable/freeciv-1.14.2+mintimeout-1.14'.
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 /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
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  update_dumb_city (pplayer=0x0, pcity=0x0) at citytools.c:1667
1667      struct player_tile *plrtile = map_get_player_tile(pcity->x, pcity->y,
(gdb) #0  update_dumb_city (pplayer=0x0, pcity=0x0) at citytools.c:1667
        pcity = (struct city *) 0x0
        plrtile = (struct player_tile *) 0x0
#1  0x08060924 in send_city_info_at_tile (pviewer=0x0, dest=0x80fe6b8, 
    pcity=0x0, x=0, y=0) at citytools.c:1551
        pviewer = (struct player *) 0x0
        pcity = (struct city *) 0x0
        powner = (struct player *) 0x0
        packet = {id = 1074911123, owner = -1073750288, x = -1073750008, 
  y = 134799115, 
  name = "\210æ\017\bðÞÿ¿\bàÿ¿çÞ\b\bèÞÿ¿", '\0' <repeats 11 times>, size = 0, 
  ppl_happy = {0, 0, 0, 0, 0}, ppl_content = {0, 0, 0, 0, 0}, ppl_unhappy = {
    0, 0, 0, 0, 0}, ppl_angry = {0, 0, 0, 0, 0}, ppl_elvis = 0, 
  ppl_scientist = 0, ppl_taxman = 0, food_prod = 0, food_surplus = 0, 
  shield_prod = 0, shield_surplus = 0, trade_prod = 0, tile_trade = 0, 
  corruption = 0, trade = {0, 512, 0, 0}, trade_value = {0, 0, 0, 0}, 
  luxury_total = 0, tax_total = 0, science_total = 0, food_stock = 0, 
  shield_stock = 0, pollution = 0, is_building_unit = 0, 
  currently_building = 0, turn_last_built = 0, turn_changed_target = 0, 
  changed_from_id = 0, changed_from_is_unit = 0, before_change_shields = 0, 
  disbanded_shields = 0, caravan_shields = 0, worklist = {is_valid = 0, 
    name = '\0' <repeats 31 times>, wlefs = {WEF_END, WEF_END, WEF_END, 
      WEF_END, 135259784, WEF_LAST, 2760, 3221217320, 134799272, 6, 
      4294967295, 3221217392, 134760050, 7, WEF_END, 3221217520}, wlids = {
      -1073749904, -1073749920, 0, 0, 0, 0, 0, 0, -1073749904, 0, -1073749920, 
      0, 0, 0, 0, 0}}, improvements = "×ΪC", '\0' <repeats 196 times>, 
  city_map = '\0' <repeats 15 times>, "\210áÿ¿háÿ¿¹\024\t", 
  did_buy = 135259832, did_sell = 0, was_happy = 0, airlift = 0, 
  diplomat_investigate = 0, city_options = -1073749624, 
  turn_founded = -1073749608}
        sc_pack = {id = 136868864, owner = 24, x = 1075240864, y = 1075249932, 
  name = "ès(\b ß\026@¨Þÿ¿H%\f@PI1\bðÞÿ¿pcp0\210æ\017\b", size = 0, 
  happy = -1, capital = -1073750328, walls = 134759589, tile_trade = 136868848}
#2  0x0806077f in send_all_known_cities (dest=0x80fe6b8) at citytools.c:1465
        x = 0
        y = 0
        pplayer = (struct player *) 0x0
        myiter = {list = 0x80fe6b8, link = 0x80fe6bc}
        pconn = (struct connection *) 0x80fe688
#3  0x0804c932 in send_all_info (dest=0x80fe6b8) at srv_main.c:295
        dest = (struct conn_list *) 0x80fe6b8
        myiter = {list = 0x80fe6b8, link = 0x80fe6bc}
        pconn = (struct connection *) 0x82d9338
#4  0x0804e3c9 in handle_request_join_game (pconn=0x80fe688, req=0x81f5740)
    at srv_main.c:1432
        pplayer = (struct player *) 0x8131788
        msg = 
"\001\0\0\0\201I2\bøâÿ¿®c\032@\001\0\0\0lö\032@øâÿ¿fX\023@\n\0\0\0\0\0\0\0\bãÿ¿þW\023@@J\027@XI2\b\003\0\0\0lö\032@\200J\027@\0\0\0\0\bãÿ¿\212;\022@\0P1\b\f\003\027@Øâÿ¿\031<\022@\0P1\b\f\0\0\0Ü\001\0\0Ö;\022@\006\0\0\0°f\0\0\0\0\0\0\f\003\027@¸v\002\0\0p\002\0øâÿ¿¬V\f@\0\220ýÿ°v\001\0 ß\026@\232V\f@\0\220ýÿ\f\003\027@8ãÿ¿57\f@\0\220ýÿXI2\bHãÿ¿Æ6\f@§\0\0\0XI2\b"...
        orig_name = 
"ken\0\001\0\001\0\aΪC¹]\005\0\002\0\05Ï\2361\202\0\0\0\0\0\0\0"
        allow = 0x80fe6b8 "\001"
#5  0x0804d301 in handle_packet_input (pconn=0x80fe688, packet=0x81f5740, 
    type=0) at srv_main.c:696
        result = 136271680
        pconn = (struct connection *) 0x82d9338
        packet = (void *) 0x81f5740
        type = 0
        pplayer = (struct player *) 0x81f5740
#6  0x08084d9c in sniff_packets () at sernet.c:573
        command_ok = 136271680
        packet = (void *) 0x81f5740
        type = PACKET_REQUEST_JOIN_GAME
        result = 1
        i = 28
        max_desc = 2760
        readfs = {__fds_bits = {512, 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 = -1050
#7  0x0804ebb9 in main_loop () at srv_main.c:1798
[... 14 lines skipped ...]
        eot_timer = (struct timer *) 0x81c9d80
        save_counter = 1
#8  0x0804f1e0 in srv_main () at srv_main.c:2090
        i = 137204536
#9  0x08049b31 in main (argc=10, argv=0xbfffed54) at civserver.c:153
        argc = 10
        argv = (char **) 0xbfffed54
        inx = 10
        showhelp = 0
        showvers = 0
        option = 0x0
#10 0x400651c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) 


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14947) freeciv 1.14 crash in update_dumb_city, Jason Short <=