Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2005:
[Freeciv-Dev] (PR#14546) Civserver crash in update_dumb_city()
Home

[Freeciv-Dev] (PR#14546) Civserver crash in update_dumb_city()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14546) Civserver crash in update_dumb_city()
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 5 Nov 2005 02:38:28 -0800
Reply-to: bugs@xxxxxxxxxxx

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



---------- Forwarded message ----------
Date: Fri, 4 Nov 2005 17:59:28 -0800
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver crashed:
    http://pubserver.freeciv.org/games/503631


# examining core.11981 in /games/503631/. ...


# using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/web/stable/f

reeciv-1.14.2+mintimeout-1.14.2+newdead2/share/freeciv


# running: (echo bt full; echo quit; exec yes '') | gdb  /home/freeciv/.f

reeciv/code/installed/web/stable/freeciv-1.14.2+mintimeout-1.14.2+newdead

2/share/freeciv/../../bin/civserver core.11981


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 conditi

ons.


Type "show copying" to see the conditions.


There is absolutely no warranty for GDB.  Type "show warranty" for detail

s.


This GDB was configured as "i386-redhat-linux"...


Core was generated by `/home/freeciv/.freeciv/code/installed/web/stable/f

reeciv-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, pcit

y->y,


(gdb) #0  update_dumb_city (pplayer=0x0, pcity=0x0) at citytools.c:16

67


        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 = -1073749136, x = -1073748856,

 


  y = 134799115, 


  name = "\210æ\017\bpãÿ¿\210äÿ¿çÞ\b\bhãÿ¿", '\

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_elv

is = 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_shield

s = 0, 


  disbanded_shields = 0, caravan_shields = 0, worklist = {is_valid 

= 0, 


    name = '\0' <repeats 31 times>, wlefs = {WEF_END, WEF_END, WEF_EN

D, 


      WEF_END, 135259784, WEF_LAST, 2760, 3221218472, 134799272, 13525978

4, 


      137306816, WEF_END, 9, 9, 135259784, 3221218824}, wlids = {134759

818, 0, 


      0, 0, 0, 0, 0, 0, -1073748752, 0, -1073748768, 0, 0, 4, 0, 0}}, 


  improvements = "þ\021lC", '\0' <repeats 196 times>, 


  city_map = '\0' <repeats 15 times>, "\bæÿ¿èåÿ¿¹\024\t

", did_buy = 135259832, 


  did_sell = 0, was_happy = 0, airlift = 0, diplomat_investigate =

 0, 


  city_options = -1073748472, turn_founded = -1073748456}


        sc_pack = {id = 137307416, owner = 41576, x = 1075240864, 


  y = 1075249932, name = "¸\"/\b ß\026@(ãÿ¿H%\f@Ps1\bpã

ÿ¿200.\210æ\017\b", 


  size = 0, happy = -1, capital = -1073749176, walls = 134759589,

 


  tile_trade = 137306816}


#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 *) 0x8257908


#4  0x0804e3c9 in handle_request_join_game (pconn=0x80fe688, req=0x82

ffc50)


    at srv_main.c:1432


        pplayer = (struct player *) 0x813ac20


        msg = "\001\0\0\00çÿ¿xçÿ¿®c\032@\001\0\0\0lö\032@Eé\

031@\0\0\0\0>\b\0@¸\005\0@\030\002\0@Ø!\001@\004\0\0\0$V\e\b\004\0\0\

0Hå\031@ôR\e\b®\217\v\f®\217\v\f\212;\022@\0\2001\b\f\003\027@Xç

ÿ¿\031<\022@\0\2001\bPò\003@Ü\001\0\0Ö;\022@\200ß\026@°¼\

0\0\0\0\0\0\f\003\027@¸Ì\002\0\0À\002\0xçÿ¿¬V\f@\0@ýÿ°

Ì\001\0 ß\026@\232V\f@\0@ýÿ\f\003\027@¸çÿ¿57\f@\0@ýÿ

À$\001@PQ\e\bÆ6\f@Ðçÿ¿A¤\0@"...


        orig_name = "tv\0\0Ýk\0@è\021lCT-\0\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=0x82ff

c50, 


    type=0) at srv_main.c:696


        result = 137362512


        pconn = (struct connection *) 0x8257908


        packet = (void *) 0x82ffc50


        type = 0


        pplayer = (struct player *) 0x82ffc50


#6  0x08084d9c in sniff_packets () at sernet.c:573


        command_ok = 137362512


        packet = (void *) 0x82ffc50


        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 = -1300


#7  0x0804ebb9 in main_loop () at srv_main.c:1798


[... 14 lines skipped ...]


        eot_timer = (struct timer *) 0x8245058


        save_counter = 1


#8  0x0804f1e0 in srv_main () at srv_main.c:2090


        i = 136673544


#9  0x08049b31 in main (argc=10, argv=0xbffff1d4) at civserver.c:153


        argc = 10


        argv = (char **) 0xbffff1d4


        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#14546) Civserver crash in update_dumb_city(), Per I. Mathisen <=