[Freeciv-Dev] [bug #16760] Client crash

2010-10-02 Thread pepeto

Update of bug #16760 (project freeciv):

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


___

Reply to this item at:

  http://gna.org/bugs/?16760

___
  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 #16760] Client crash

2010-09-26 Thread pepeto

Update of bug #16760 (project freeciv):

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

___

Follow-up Comment #1:

The XID collision warnings seems not related.

I found the way to reproduce, you have to have diplomacy tabs open when the
game end (go to C_S_OVER state). Then the tab disappear, but the client still
have the list with NULL gui_dialog pointers (it's tricky stuff when a
gui_dialog is destroy that I don't like).

Fix attached that really closes all diplomacy tabs when going to C_S_OVER
state. Also check if the gui_dialog isn't set to NULL (so if it hasn't been
closed by an other way) when destroying.


(file #10453, file #10454)
___

Additional Item Attachment:

File name: trunk_diplomacy_destroy.diff   Size:1 KB
File name: S2_2_diplomacy_destroy.diffSize:1 KB


___

Reply to this item at:

  http://gna.org/bugs/?16760

___
  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 #16760] Client crash

2010-09-25 Thread pepeto

URL:
  http://gna.org/bugs/?16760

 Summary: Client crash
 Project: Freeciv
Submitted by: pepeto
Submitted on: samedi 25.09.2010 à 19:22
Category: client-gtk-2.0
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.2.3+
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

Following:

(freeciv-gtk2:21654): Gdk-WARNING **: XID collision, trouble ahead

(freeciv-gtk2:21654): Gdk-WARNING **: XID collision, trouble ahead

(freeciv-gtk2:21654): Gdk-WARNING **: XID collision, trouble ahead

(freeciv-gtk2:21654): Gdk-WARNING **: XID collision, trouble ahead


the program exited on segmentation fault:

#0  gui_dialog_destroy (dlg=0x0) at gui_stuff.c:940
No locals.
#1  0x00465b7d in diplomacy_destroy (pdialog=0x2895000)
at diplodlg.c:452
No locals.
#2  0x00465bc6 in close_diplomacy_dialog () at diplodlg.c:913
No locals.
#3  close_all_diplomacy_dialogs () at diplodlg.c:976
No locals.
#4  0x00417816 in set_client_state (newstate=C_S_DISCONNECTED)
at client_main.c:619
oldstate = C_S_OVER
pplayer = 0x823bf0
#5  0x0041cab1 in disconnect_from_server () at clinet.c:276
No locals.
#6  0x736015de in IA__g_closure_invoke (closure=0x1b82690, 
return_value=0x0, n_param_values=1, param_values=0x235b700, 
invocation_hint=0x7fffd110)
at /build/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
marshal = 0x2895000
marshal_data = 0x5496
__PRETTY_FUNCTION__ = IA__g_closure_invoke
#7  0x73615598 in signal_emit_unlocked_R (node=0x1bae650, 
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 = 0x143d750
accumulator = 0x0
emission = {next = 0x0, instance = 0x1be93f0, ihint = {
signal_id = 324, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
  state = EMISSION_RUN, chain_type = 4}
class_closure = 0x1bae600
handler_list = 0x143d750
return_accu = value optimised out
accu = {g_type = 0, 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 = 324
max_sequential_handler_number = value optimised out
return_value_altered = 1
#8  0x73616a76 in IA__g_signal_emit_valist (instance=0x1be93f0, 
signal_id=value optimised out, detail=0, var_args=0x7fffd300)
at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2981
signal_return_type = 4
param_values = value optimised out
node = 0x1bae650
i = value optimised out
n_params = value optimised out
__PRETTY_FUNCTION__ = IA__g_signal_emit_valist
#9  0x73617033 in IA__g_signal_emit (instance=0x0, signal_id=0, 
detail=28462880) at /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3038
var_args = {{gp_offset = 24, fp_offset = 48, 
overflow_arg_area = 0x7fffd3e0, 
reg_save_area = 0x7fffd320}}
#10 0x7522b263 in _gtk_action_emit_activate (action=0x1be93f0)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkaction.c:755
group = 0xd5e800
#11 0x736015de in IA__g_closure_invoke (closure=0x95ae80, 
return_value=0x0, n_param_values=1, param_values=0x24de600, 
invocation_hint=0x7fffd530)
at /build/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
marshal = 0x2895000
marshal_data = 0x5496
__PRETTY_FUNCTION__ = IA__g_closure_invoke
#12 0x73614e61 in signal_emit_unlocked_R (node=0x95af20, 
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:3178
accumulator = 0x1baf688
emission = {next = 0x7fffda00, instance = 0x1b4f6d0, ihint = {
signal_id = 96, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
  state = EMISSION_RUN, chain_type = 29529424}
class_closure = 0x95ae80
handler_list = 0x0
return_accu = value optimised out
accu = {g_type = 0, 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,