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

Christian Knoke wrote on Feb 05, 06:21 (-0800):

> civserver crashes on every start of any scenario game, except "Earth,
> medium, classic".

Wrong again, its the client not the server, backtrace for the records.

Christian

Core was generated by `civclient'.
Program terminated with signal 11, Segmentation fault.
#0  terrain_name_translation (pterrain=0x0) at terrain.c:207
207       if (NULL == pterrain->name.translated) {

(gdb) bt full
#0  terrain_name_translation (pterrain=0x0) at terrain.c:207
No locals.
#1  0x080ee997 in tile_get_info_text (ptile=0x946b928, linebreaks=0) at 
tile.c:644
        pollution = <value optimized out>
        lb = <value optimized out>
        s = "Deciduous forest", '\0' <repeats 239 times>
#2  0x0807fae3 in get_unit_info_label_text2 (punits=0x8b59c08, linebreaks=0) at 
text.c:758
        pcity = (struct city *) 0x0
        infracount = <value optimized out>
        count = <value optimized out>
        str = {str = 0x8a21738 "Moves: 1", n = 9, n_alloc = 37}
#3  0x081216d2 in update_unit_info_label (punits=0x8b59c08) at mapview.c:214
        label = (GtkWidget *) 0x8a17010
#4  0x080609f7 in set_unit_focus (punit=0x951f1a8) at control.c:374
        focus_changed = true
        __PRETTY_FUNCTION__ = "set_unit_focus"
#5  0x08060d1e in advance_unit_focus () at control.c:523
        candidate = (struct unit *) 0x951f1a8
        num_units_in_old_focus = 0
#6  0x0807448e in handle_unit_packet_common (packet_unit=0x9571988) at 
packhand.c:1335
        pcity = <value optimized out>
        pcity = <value optimized out>
        punit = (struct unit *) 0x951f1a8
        need_update_menus = false
        repaint_unit = false
        repaint_city = false
        old_tile = (struct tile *) 0x0
        check_focus = false
        moved = false
#7  0x080748f0 in handle_unit_info (packet=0x959b0b8) at packhand.c:1030
        punit = (struct unit *) 0x9571988
#8  0x08077838 in client_handle_packet (type=PACKET_PROCESSING_STARTED, 
packet=0xbfbd899a) at packhand_gen.c:136
No locals.
#9  0x08058bc9 in client_packet_input (packet=0x959b0b8, type=49) at 
civclient.c:442
No locals.
#10 0x0805cba3 in input_from_server (fd=4) at clinet.c:385
        result = true
        packet = (void *) 0x959b0b8
        type = PACKET_UNIT_INFO
        __PRETTY_FUNCTION__ = "input_from_server"
#11 0xb7c0a28e in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#12 0xb792cc7f in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0xb7903731 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0xb79067a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0xb7906b67 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0xb7d9a281 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x0811844b in ui_main (argc=1, argv=0xbfbd9474) at gui_main.c:1538
        w = <value optimized out>
        home = <value optimized out>
        sig = <value optimized out>
        style = <value optimized out>
#18 0x080592e1 in main (argc=Cannot access memory at address 0x1
) at civclient.c:401
        i = 1
        loglevel = 2
        ui_options = <value optimized out>
        ui_separator = 247
        option = <value optimized out>
        user_tileset = 183
(gdb) 

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to