[Freeciv-Dev] [bug #16496] Crash being detached (observer) from a player after player remove

2010-08-22 Thread pepeto

Update of bug #16496 (project freeciv):

  Status:  Ready For Test => Fixed  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

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


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


[Freeciv-Dev] [bug #16496] Crash being detached (observer) from a player after player remove

2010-08-20 Thread pepeto

Update of bug #16496 (project freeciv):

  Status:None => Ready For Test 
 Assigned to:None => pepeto 
 Planned Release: => 2.3.0  

___

Follow-up Comment #2:

Some connections on client side were keeping an invalid player pointer. And
applying patch #1872 were producing appropriated failed assertions. Fix
attached.


(file #9935)
___

Additional Item Attachment:

File name: trunk_handle_player_remove.diff Size:0 KB


___

Reply to this item at:

  

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


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


[Freeciv-Dev] [bug #16496] Crash being detached (observer) from a player after player remove

2010-08-20 Thread pepeto

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

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0055714c in genlist_remove (pgenlist=0x875c860, punlink=0x8779b20)
at genlist.c:251
251 while (plink != NULL && plink->dataptr != punlink) {
(gdb) bt
#0  0x0055714c in genlist_remove (pgenlist=0x875c860, 
punlink=0x8779b20) at genlist.c:251
#1  0x0043b2bb in conn_list_remove (pinfo=0x87b0e00)
at ../utility/speclist.h:157
#2  handle_conn_info (pinfo=0x87b0e00) at packhand.c:1995
#3  0x0044100d in client_handle_packet (type=, 
packet=0x875c860) at packhand_gen.c:208
#4  0x00417e9e in client_packet_input (packet=,

type=115) at client_main.c:557
#5  0x0041d755 in input_from_server (fd=)
at clinet.c:382
#6  0x74f27d3f in gdk_io_invoke (source=, 
condition=, data=)
at /build/buildd/gtk+2.0-2.20.1/gdk/gdkevents.c:1082
#7  0x72d438c2 in g_main_dispatch (context=0x969560)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#8  IA__g_main_context_dispatch (context=0x969560)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#9  0x72d47748 in g_main_context_iterate (context=0x969560, 
block=, dispatch=, 
self=)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#10 0x72d47c55 in IA__g_main_loop_run (loop=0x204bc10)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
#11 0x752eabb7 in IA__gtk_main ()
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
#12 0x0041723f in ui_main (argc=1, argv=0x7fffe338)
at gui_main.c:1621
#13 0x004182cf in client_main (argc=, 
argv=0x7fffe338) at client_main.c:501
#14 0x729a0c4d in __libc_start_main (main=, 
argc=, ubp_av=, 
init=, fini=, 
rtld_fini=, stack_end=0x7fffe328)
at libc-start.c:226
#15 0x00412c69 in _start ()
(gdb) bt full
#0  0x0055714c in genlist_remove (pgenlist=0x875c860, 
punlink=0x8779b20) at genlist.c:251
plink = 0x206572646e657250
__FUNCTION__ = "genlist_remove"
#1  0x0043b2bb in conn_list_remove (pinfo=0x87b0e00)
at ../utility/speclist.h:157
No locals.
#2  handle_conn_info (pinfo=0x87b0e00) at packhand.c:1995
pslot = 
pplayer = 0x0
pconn = 0x8779b20
preparing_client_state = 
__FUNCTION__ = "handle_conn_info"
#3  0x0044100d in client_handle_packet (type=, 
packet=0x875c860) at packhand_gen.c:208
No locals.
#4  0x00417e9e in client_packet_input (packet=,

type=115) at client_main.c:557
__FUNCTION__ = "client_packet_input"
#5  0x0041d755 in input_from_server (fd=)
at clinet.c:382
result = true
packet = 0x875c860
type = PACKET_CONN_INFO
__FUNCTION__ = "input_from_server"
#6  0x74f27d3f in gdk_io_invoke (source=, 
condition=, data=)
at /build/buildd/gtk+2.0-2.20.1/gdk/gdkevents.c:1082
closure = 0x154e380
gdk_cond = GDK_INPUT_READ
#7  0x72d438c2 in g_main_dispatch (context=0x969560)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
dispatch = 0x72d85e10 
user_data = 0x154e380
callback = 0x74f27cf0 
cb_funcs = 0x72fe1610
cb_data = 0x3d7e5e0
current_source_link = {data = 0x3da3400, next = 0x0}
source = 0x3da3400
current = 0x3d66c60
i = 0
#8  IA__g_main_context_dispatch (context=0x969560)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
No locals.
#9  0x72d47748 in g_main_context_iterate (context=0x969560, 
block=, dispatch=, 
self=)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
max_priority = 115
timeout = 0
some_ready = 1
nfds = 4
allocated_nfds = -220903856
fds = 
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#10 0x72d47c55 in IA__g_main_loop_run (loop=0x204bc10)
at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
self = 0x87e790
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#11 0x752eabb7 in IA__gtk_main ()
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
tmp_list = 0x9746f0
functions = 0x0
init = 0xaf5230
loop = 
#12 0x0041723f in ui_main (argc=1, argv=0x7fffe338)
at gui_main.c:1621
home = 
sig = 
__FUNCTION__ = "ui_main"
#13 0x004182cf in client_main (argc=, 
argv=0x7fffe338) at client_main.c:501
i = 1
loglevel = LOG_NORMAL
ui_options = 
ui_separator = 48
option = 
user_tileset = false
fatal_assertions = -1
__FUNCTION__ = "client_main"
#14 0x729a0c4d in __libc_start_main (main=, 
argc=, ubp_av=, 
init=, fini=, 
rtld_fini=, stack_end=0x7fffe328)
at libc-start.c:226
result = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1067615565110369218,

 

[Freeciv-Dev] [bug #16496] Crash being detached (observer) from a player after player remove

2010-08-20 Thread pepeto

URL:
  

 Summary: Crash being detached (observer) from a player after
player remove
 Project: Freeciv
Submitted by: pepeto
Submitted on: vendredi 20.08.2010 à 09:14
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: 

___

Details:

Cannot reproduce in S2_2.





___

Reply to this item at:

  

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


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