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

                 Summary: in handle_player_diplstate() [packhand.c::1953]:
assertion 'ds != ((void *)0)
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: mardi 09.11.2010 à 09:17
                Category: client
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk, S2_3
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0

    _______________________________________________________

Details:

It occured at client side when a player was split by civil war.


0: in handle_player_diplstate() [packhand.c::1953]: assertion 'ds != ((void
*)0)' failed.
0: SVP, rapportez ce bogue à http://gna.org/projects/freeciv/

Program received signal SIGINT, Interrupt.
0x00007ffff55d17bb in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42      in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb) bt full
#0  0x00007ffff55d17bb in raise (sig=<value optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x000000000055e07f in fc_assert_fail (file=0x5be71f "player.c", 
    function=0x5bec30 "player_diplstate_get", line=273, 
    assertion=<value optimised out>, message=0x0) at log.c:476
        level = LOG_FATAL
#2  0x000000000054c79e in player_diplstate_get (plr1=<value optimised out>, 
    plr2=<value optimised out>) at player.c:273
        __FUNCTION__ = "player_diplstate_get"
#3  0x000000000043bbbe in handle_player_diplstate (packet=0x4a11780)
    at packhand.c:1950
        plr1 = 0x4391550
        plr2 = 0x0
        my_player = 0x4391550
        ds = <value optimised out>
        __FUNCTION__ = "handle_player_diplstate"
#4  0x0000000000441cf5 in client_handle_packet (type=<value optimised out>, 
    packet=0x0) at packhand_gen.c:133
No locals.
#5  0x0000000000417abe in client_packet_input (packet=<value optimised out>,

    type=59) at client_main.c:565
        __FUNCTION__ = "client_packet_input"
#6  0x000000000041d355 in input_from_server (fd=<value optimised out>)
    at clinet.c:379
        result = true
        packet = 0x0
        type = PACKET_PLAYER_DIPLSTATE
        __FUNCTION__ = "input_from_server"
#7  0x00007ffff4d18d3f in gdk_io_invoke (source=<value optimised out>, 
    condition=<value optimised out>, data=<value optimised out>)
    at /build/buildd/gtk+2.0-2.20.1/gdk/gdkevents.c:1082
        closure = 0x43dadb0
        gdk_cond = GDK_INPUT_READ
#8  0x00007ffff2b348c2 in g_main_dispatch (context=0xb43160)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
        dispatch = 0x7ffff2b76e10 <g_io_unix_dispatch>
        user_data = 0x43dadb0
        callback = 0x7ffff4d18cf0 <gdk_io_invoke>
        cb_funcs = 0x7ffff2dd2610
        cb_data = 0x2374d40
        current_source_link = {data = 0x18d6ee0, next = 0x0}
        source = 0x18d6ee0
        current = 0x1641900
        i = 1
#9  IA__g_main_context_dispatch (context=0xb43160)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
No locals.
#10 0x00007ffff2b38748 in g_main_context_iterate (context=0xb43160, 
    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 = 0
        timeout = 0
        some_ready = 1
        nfds = 4
        allocated_nfds = -223062448
        fds = <value optimised out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#11 0x00007ffff2b38c55 in IA__g_main_loop_run (loop=0x1640390)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
        self = 0x9af090
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#12 0x00007ffff50dbbb7 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
        tmp_list = 0xb57900
        functions = 0x0
        init = 0xbba990
        loop = <value optimised out>
#13 0x0000000000416e5f in ui_main (argc=1, argv=0x7fffffffe328)
    at gui_main.c:1637
        home = <value optimised out>
        sig = <value optimised out>
        __FUNCTION__ = "ui_main"
#14 0x0000000000417f3f in client_main (argc=<value optimised out>, 
    argv=0x7fffffffe328) at client_main.c:509
        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"
#15 0x00007ffff2791c4d 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, -6661889963760425205,

                4272320, 140737488347936, 0, 0, 6661889963077003019, 
                6661899918329898763}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x57ce20, 0x7fffffffe328}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 5754400}}}
        not_first_call = <value optimised out>
#16 0x00000000004130e9 in _start ()
No symbol table info available.
(gdb) print *(struct packet_player_diplstate *) 0x4a11780
$1 = {diplstate_id = 275, plr1 = 2, plr2 = 19, type = 5, turns_left = 0, 
  has_reason_to_cancel = 0, contact_turns_left = 0}






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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