Follow-up Comment #1, bug #21692 (project freeciv):

> 1: in get_flag() [plrdlg.c::599]: assertion 'x0 != -1' failed.

Backtrace about that:

#2  0x00000000004662c5 in get_flag (nation=0x46ab)
    at client/gui-gtk-3.0/plrdlg.c:600
        x0 = -1
        y0 = -1
        x1 = -1
        y1 = -1
        w = 17703888
        h = 47086896
        im = 0x4259510
        flag = 0x318b190
        __FUNCTION__ = "get_flag"
#3  0x00000000004633f0 in real_conn_list_dialog_update ()
    at client/gui-gtk-3.0/pages.c:2315
        pplayer = 0x2ce7d30
        parent = {stamp = 110, user_data = 0x7ffff40bd620 <main_arena>, 
          user_data2 = 0x3a0, user_data3 = 0x112}
        pprev_parent = 0x0
        rating_text =
"\016\000\000\000\000\000\000\000>\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\\",
'\000' <repeats 23 times>, "n\000\000\000w", '\000' <repeats 11 times>, "|",
'\000' <repeats 15 times>, "n\000\000\000w\000\000\000
\326\v\364\377\177\000\000\240\003\000\000\000\000\000\000\022\001\000\000\000\000\000\000\260\325g\000\000\000\000\000\000\031\267\003\000\000\000"
        prev_parent = {stamp = 6804912, user_data = 0x3b85450, user_data2 =
0x5, 
          user_data3 = 0x70}
        pselected_player = 0x0
        access_level = 17703888
        prev_child = {stamp = 110, user_data = 0x0, user_data2 = 0x7c, 
          user_data3 = 0x0}
        collapsed = 976
        pselected_conn = 0x0
        child = {stamp = 1, user_data = 0x5c, user_data2 = 0x0, user_data3 =
0x0}
        model = 0x10d5f20
        user_name = "|\000\000\000\000\000\000\000p\026`\000\001", '\000'
<repeats 11 times>, "
\326\v\364\377\177\000\000D\300\310\000\000\000\000\000\000\020\000\000\000\000\000\000;\000\000\000\000\000\000"
        record_text = "\340\330_\000\000\000\000\000
b\331\363\377\177\000\000\260\325g\000\000\000\000\000\240\003\000\000\000\000\000\000\020\331a\000\000\000\000\000\257\025`",
'\000' <repeats 13 times>, "\240\003", '\000' <repeats 30 times>, "p\026`",
'\000' <repeats 13 times>, "\020rL", '\000' <repeats 13 times>,
"i\327_\000\000\000\000"
        path = 0x2ce7d30
        pprev_child = 0x0
        __FUNCTION__ = "real_conn_list_dialog_update"
#4  0x00000000004c71a2 in update_unqueue (data=<optimized out>)
    at client/update_queue.c:317
        callback = 0x462ea0 <real_conn_list_dialog_update>
        uq_data = <optimized out>
        MY_mem_MY_iter = 0x7fffffffdcc0 "\320\325_"
        MY_it_MY_iter = 0x7fffffffdcc0
        hash = 0x4259510
#5  0x000000000044ba2a in idle_callback_wrapper (data=0x1a7dff0)
    at client/gui-gtk-3.0/gui_main.c:2074
        cb = 0x1a7dff0
#6  0x00007ffff453dce5 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7  0x00007ffff453e048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8  0x00007ffff453e30a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#9  0x00007ffff5fe8735 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#10 0x000000000044df7e in ui_main (argc=1, argv=0x7fffffffe318)
    at client/gui-gtk-3.0/gui_main.c:1700
        toplevel_font_name = <optimized out>
        sig = <optimized out>
        __FUNCTION__ = "ui_main"
#11 0x0000000000474c97 in client_main (argc=2, argv=0x7fffffffe318)
    at client/client_main.c:599
        i = 2
        loglevel = LOG_NORMAL
        ui_options = 1
        ui_separator = false
        user_tileset = false
        fatal_assertions = 6
        aii = 1
        __FUNCTION__ = "client_main"
#12 0x00007ffff3d3bb45 in __libc_start_main (main=0x44b380 <main>, argc=2, 
    argv=0x7fffffffe318, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe308) at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 7196456029289926500, 
                4502405, 140737488347920, 0, 0, -7196456029649154204, 
                -7196447613402394780}, mask_was_saved = 0}}, priv = {pad =
{0x0, 
              0x0, 0x61ca30 <__libc_csu_init>, 0x7fffffffe318}, data = {
              prev = 0x0, cleanup = 0x0, canceltype = 6408752}}}
        not_first_call = <optimized out>
#13 0x000000000044b3ae in _start ()



(gdb) p flag
$1 = (struct sprite *) 0x318b190

so it's not NULL flag, but problem seems to be in sprite_get_bounding_box().

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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