URL:
  <http://gna.org/bugs/?16389>

                 Summary: in player_diplstate_get() [player.c::266]:
assertion 'plr2 != ((void *)0)' failed
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: lundi 09.08.2010 à 10:06
                Category: client
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0

    _______________________________________________________

Details:

When clicking on the middle button of the mouse:

#0  0x00007ffff57e07bb in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x0000000000553acf in fc_assert_fail (file=0x5ac2d9 "player.c", 
    function=0x5acb20 "player_diplstate_get", line=266, 
    assertion=<value optimised out>, message=0x0) at log.c:452
        level = LOG_FATAL
#2  0x0000000000542c8e in player_diplstate_get (plr1=<value optimised out>, 
    plr2=<value optimised out>) at player.c:266
        __FUNCTION__ = "player_diplstate_get"
#3  0x000000000044addb in popup_info_text (ptile=0x87e2688) at text.c:170
        owner = 0x0
        ds = <value optimised out>
        activity_text = <value optimised out>
        pcity = 0x0
        punit = 0x0
        diplo_nation_plural_adjectives = {0x8a68900 "\240Ŝ\b", 
          0x7fffffffd760 "\240~\227", 0x0, 
          0x7ffff36034d6
"\205\300t\316E\205\366u\021[]A\\A]A^\303\017\037\204", 0x8a688f0 
<incomplete sequence \360\277\231>, 
          0x1 <Address 0x1 out of bounds>, 0x7ffff383a690 "5"}
        diplo_city_adjectives = {0x20049a0 " Ĝ\b", 
          0x7ffff2d34e57 "\205\300t\305E\211\355K\215Dm", 
          0x7ffff57da3c0
"H\203\354\b\213w\020I\211\370\211\360\211\367\203\347\177\203\340|u=dD\213\f%\320\002",
0x7ffff2fe1e60 "\001", 
          0x7ffff5492ab9 "border-width", 
          0x8a688f0  <incomplete sequence \360\277\231>, 
          0x1 <Address 0x1 out of bounds>}
        str = {
          _private_str_ = 0x3d2ff80 "Lieu : (48,47) [-1]\nCoordonnées
natives (27, 41)\nTerrain: Océan\nNour/Prod/Comm : 1/0/2", _private_n_ = 89,

          _private_n_alloc_ = 120}
        username =
"\257\005\000\000\000\000\000\000\300\365\034\365\377\177\000\000\360\331\377\377\377\177\000\000\360\210\246\b\000\000\000\000\001\000\000\000\000\000\000\000\360\210\246\b\000\000\000\000\004\000\000\000\000\000\000\000\210&~\b\000\000\000"
        nation =
"`\327\377\377\377\177\000\000rt`\363\377\177\000\000\240~\227\000\000\000\000\000\000\211\246\b\000\000\000\000\200\327\377\377\377\177\000\000rt`\363\377\177\000\000Ђ\230\000\000\000\000\000\060\332\377\377\377\177\000\000\000\000\000\000\000\000\000\000ѧ\336\367\377\177\000\000\001",
'\000' <se
r\377\377\377\377\377������\000\000\000\377\377\377\377\377������������������������������������������������������������������
        __FUNCTION__ = "popup_info_text"
#4  0x000000000048f422 in popit (event=0x8978960, ptile=0x87e2688)
    at mapctrl.c:122
        p = 0x8a688f0
        mousepos = {x = 0, y = 0}
        punit = <value optimised out>
#5  0x000000000048f65e in butt_down_mapcanvas (w=<value optimised out>, 
    ev=0x8978960, data=<value optimised out>) at mapctrl.c:281
        pcity = 0x0
        ptile = 0x87e2688
#6  0x00007ffff52f1178 in _gtk_marshal_BOOLEAN__BOXED (closure=0x21853c0, 
    return_value=0x7fffffffda30, n_param_values=<value optimised out>, 
    param_values=0x89d7610, invocation_hint=<value optimised out>, 
    marshal_data=0x48f540)
    at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmarshalers.c:84
        data1 = 0x157d4b0
        data2 = 0x2
        v_return = <value optimised out>
        __PRETTY_FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXED"
#7  0x00007ffff36015de in IA__g_closure_invoke (closure=0x21853c0, 
    return_value=0x7fffffffda30, n_param_values=2, param_values=0x89d7610, 
    invocation_hint=0x7fffffffd9f0)
    at /build/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
        marshal = 0
        marshal_data = 0x7fffffffbcb8
        __PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#8  0x00007ffff3615598 in signal_emit_unlocked_R (node=0x994620, 
    detail=<value optimised out>, instance=<value optimised out>, 
    emission_return=<value optimised out>, 
    instance_and_params=<value optimised out>)
    at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3248
        tmp = <value optimised out>
        handler = 0x2184a00
        accumulator = 0x9944e0
        emission = {next = 0x0, instance = 0x157d4b0, ihint = {signal_id =
33, 
            detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN,

          chain_type = 4}
        class_closure = 0x9945d0
        handler_list = 0x2184a00
        return_accu = <value optimised out>
        accu = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, 
              v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, 
              v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, 
              v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float =
0, 
              v_double = 0, v_pointer = 0x0}}}
        signal_id = 33
        max_sequential_handler_number = <value optimised out>
        return_value_altered = 0
#9  0x00007ffff36168b9 in IA__g_signal_emit_valist (instance=0x157d4b0, 
    signal_id=<value optimised out>, detail=0, var_args=0x7fffffffdbe0)
    at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2991
        return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, 
              v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float =
0, 
              v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, 
              v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float =
0, 
              v_double = 0, v_pointer = 0x0}}}
        error = <value optimised out>
        signal_return_type = 20
        param_values = <value optimised out>
        node = 0x994620
        i = <value optimised out>
        n_params = <value optimised out>
        __PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#10 0x00007ffff3617033 in IA__g_signal_emit (instance=0xff8, signal_id=4088,

    detail=2) at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3038
        var_args = {{gp_offset = 32, fp_offset = 48, 
            overflow_arg_area = 0x7fffffffdcc0, 
            reg_save_area = 0x7fffffffdc00}}
#11 0x00007ffff54080bf in gtk_widget_event_internal (widget=0x157d4b0, 
    event=0x8978960) at /build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:4951
        signal_num = <value optimised out>
        return_val = 0
#12 0x00007ffff52e9643 in IA__gtk_propagate_event (widget=0x157d4b0, 
    event=0x8978960) at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:2447
        tmp = 0x0
        handled_event = 22533296
        __PRETTY_FUNCTION__ = "IA__gtk_propagate_event"
#13 0x00007ffff52ea71b in IA__gtk_main_do_event (event=0x8978960)
    at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1647
        event_widget = 0x157d4b0
        grab_widget = 0x157d4b0
        window_group = 0x3caf260
        rewritten_event = 0x0
        tmp_list = <value optimised out>
        __PRETTY_FUNCTION__ = "IA__gtk_main_do_event"
#14 0x00007ffff4f5e86c in gdk_event_dispatch (source=<value optimised out>, 
    callback=<value optimised out>, user_data=<value optimised out>)
    at /build/buildd/gtk+2.0-2.20.1/gdk/x11/gdkevents-x11.c:2372
        display = <value optimised out>
        event = <value optimised out>
#15 0x00007ffff2d438c2 in g_main_dispatch (context=0x9688d0)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
        dispatch = 0x7ffff4f5e820 <gdk_event_dispatch>
        user_data = 0x0
        callback = 0
        cb_funcs = 0x0
        cb_data = 0x0
        current_source_link = {data = 0x968850, next = 0x0}
        source = 0x968850
        current = 0x1ffc300
        i = 0
#16 IA__g_main_context_dispatch (context=0x9688d0)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
No locals.
#17 0x00007ffff2d47748 in g_main_context_iterate (context=0x9688d0, 
    block=<value optimised out>, dispatch=<value optimised out>, 
    self=<value optimised out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
        max_priority = 2147483647
        timeout = 49
        some_ready = 1
        nfds = 4
        allocated_nfds = -220903856
        fds = <value optimised out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#18 0x00007ffff2d47c55 in IA__g_main_loop_run (loop=0x3cb2930)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
        self = 0x8a44f0
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#19 0x00007ffff52eabb7 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
        tmp_list = 0x9744b0
        functions = 0x0
        init = 0xafc6d0
        loop = <value optimised out>
#20 0x000000000041727f in ui_main (argc=1, argv=0x7fffffffe328)
    at gui_main.c:1606
        home = <value optimised out>
        sig = <value optimised out>
        __FUNCTION__ = "ui_main"
#21 0x000000000041828f in client_main (argc=<value optimised out>, 
    argv=0x7fffffffe328) at client_main.c:501
        i = 3
        loglevel = LOG_NORMAL
        ui_options = <value optimised out>
        ui_separator = false
        option = <value optimised out>
        user_tileset = false
        fatal_assertions = 2
        __FUNCTION__ = "client_main"
#22 0x00007ffff29a0c4d 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=0x7fffffffe318)
    at libc-start.c:226
        result = <value optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6539328646613502814,

                4271360, 140737488347936, 0, 0, 6539328646726874274, 
                6539303668729050274}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x56ce20, 0x7fffffffe328}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 5688864}}}
        not_first_call = <value optimised out>
#23 0x0000000000412d29 in _start ()
No symbol table info available.






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to