Follow-up Comment #26, bug #18549 (project freeciv):

I can reproduce jcreus' new assertion of comment #21 with the two patches
(file #14161, file #14160) applied to S2_3 r20341.

I get them when starting a new game, but for the sake of reproducibility, I
also get them with the savegame for reproducing this (file #14028). First one
happens as soon as client connects. With -F:


Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8
0: in tile_virtual_check() [tile.c::911]: assertion '0 <= tindex && tindex <
map_num_tiles()' failed.
0: Please report this message at http://gna.org/projects/freeciv/
Aborted (core dumped)


Backtrace:


#0  0x00007f5bb93cc7bb in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x000000000056024f in fc_assert_fail (file=0x5c55a0 "tile.c",
    function=0x5c56e0 "tile_virtual_check", line=911,
    assertion=<value optimised out>, message=0x0) at log.c:476
        level = LOG_FATAL
#2  0x0000000000558316 in tile_virtual_check (vtile=0x93607e0) at tile.c:911
        tindex = -1
        __FUNCTION__ = "tile_virtual_check"
#3  0x0000000000558ebd in tile_set_terrain (ptile=0x93607e0,
pterrain=0x6412)
    at tile.c:128
        __FUNCTION__ = "tile_set_terrain"
#4  0x0000000000558fc5 in tile_change_terrain (ptile=0x6412,
pterrain=0x6412)
    at tile.c:477
No locals.
#5  0x0000000000559196 in tile_transform (ptile=0x93607e0,
    act=<value optimised out>) at tile.c:620
No locals.
#6  tile_apply_activity (ptile=0x93607e0, act=<value optimised out>)
    at tile.c:665
        __FUNCTION__ = "tile_apply_activity"
#7  0x0000000000479472 in get_tile_change_menu_text (
    ptile=<value optimised out>, activity=ACTIVITY_IRRIGATE) at menu.c:1884
        newtile = 0x93607e0
        text = <value optimised out>
#8  0x0000000000479e54 in real_menus_update () at menu.c:2151
        punit = <value optimised out>
        safe_group = 0x91a0cf0
        edit_group = 0x91a0f20
        unit_group = 0x91c3c50
        playing_group = 0x91c39e0
        punits = 0x454f200
        units_all_same_tile = <value optimised out>
        units_all_same_type = true
        menu = <value optimised out>
        acttext =
" 00 01 00 00 00 00 00 00i216\ 00 00 00 00 00240 03 00 00 00 00 00 00BnV 00 00 
00 00 00f 01 00 00 00 00 00 00i216\ 00 00 00 00 00P 00 00 00 00 00 00 00BnV 00 
00 00 00 00240 03",
' 00' <repeats 30 times>, " NF 00 00 00 00 00EvV", ' 00' <repeats 14
times>"213,  65351270o 06220"
        irrtext = "`h247230377177 00 00200 00 00 00 00 00 00 00
 00 00 00 00 00 00 00@216;271[177 00 00 21 01 00 00 00 00 00 00240 03 00 00 00 
00 00 00240 03 00 00 00 00 00 00240 03 00 00 00 00 00 00 35 00 00 00 00 00 00 
00216ev271[177 00 00P 00 00 00 00 00 00 00P 00 00 00 00 00 00 00 35 00 00 00 00 
00 00 00216ev271[177 00 00< 00 00 00377377377377310DX 00 00 00 00"
        mintext =
"300h247230377177 00 00@225 31t 00 00 00 00P332S 04 00 00 00 00 21wc271[177 00 
00P332S 04 00 00 00 00< 00 00 00 00 00 00 00@225 31t",
' 00' <repeats 12 times>"300,
h247230377177 00 00@225 31t 00 00 00 00P332S 04 00 00 00 00~t200272[177 00 
00360g247230377177 00 00300 03 00 00 00 00 00 00 20 00 00 00 00 00 00 00; 00 00 
00 00 64 00"
        transtext =
"0g247230377177 00 00qec271[177 00 00 00 00 00 00 00340n 00\g247230377177 00 00 
60g247230377177 00 00@g247230377177",
' 00' <repeats 11 times>"210,
 05 00 00 64 00 00`n213271[177 00 00 25sc271[177 00 00`n213271[177 00 00 20b 
30t 00( 00 00 20 00 00 00 00 00 00 00P332S 04 00 00 00 00@225 31t 00 00 00 00 
20b 30t 00 00 00"
        pterrain = 0x920580
        __FUNCTION__ = "real_menus_update"
#9  0x0000000000465193 in update_unqueue (data=<value optimised out>)
    at update_queue.c:311
        MY_it_MY_iter = 0x7fff98a76950
#10 0x000000000041384a in idle_callback_wrapper (data=0x44f63c0)
    at gui_main.c:2006
No locals.
#11 0x00007f5bb96188c2 in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00007f5bb961c748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00007f5bb961cc55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00007f5bbbbbfbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x000000000041700f in ui_main (argc=1, argv=0x7fff98a76f98)
    at gui_main.c:1667
        home = <value optimised out>
        sig = <value optimised out>
        __FUNCTION__ = "ui_main"
#16 0x000000000041efc8 in client_main (argc=<value optimised out>, 
    argv=0x7fff98a76f98) at client_main.c:516
        i = 2
        loglevel = LOG_NORMAL
        ui_options = <value optimised out>
        ui_separator = 192
        option = <value optimised out>
        user_tileset = false
        fatal_assertions = 6
        __FUNCTION__ = "client_main"
#17 0x00007f5bb9058c4d in __libc_start_main (main=<value optimised out>, 
    argc=<value optimised out>, ubp_av=<value optimised out>, 
    init=<value optimised out>, fini=<value optimised out>, 
    rtld_fini=<value optimised out>, stack_end=0x7fff98a76f88)
    at libc-start.c:226
        result = <value optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -3115020424441359984,

                4272608, 140735754497936, 0, 0, 3114811039914791312, 
                3058590000762720656}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x580da0, 0x7fff98a76f98}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 5770656}}}
        not_first_call = <value optimised out>
#18 0x0000000000413209 in _start ()
No symbol table info available.


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18549>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to