[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gtk crash



inside gtk.c
	static int gtk_initialize(struct frontend *obj, struct configuration *conf)

before the following is reached;
	obj->data = NEW(struct frontend_data);
(gdb) p *(struct frontend_data *)obj.data
$42 = {window = 0x0, target_box = 0x0, info_box = 0x0, menu_box = 0x0, button_next = 0x0, button_prev = 0x0, 
  progress_bar = 0x0, progress_bar_menubox = 0x0, progress_bar_frame = 0x0, setters = 0x0, button_val = 0, 
  ask_jump_confirmation = false, dummy_main_menu = false, jump_target = '\0' <repeats 39 times>, 
  q_main = 0x0}

after the call to NEW()
p *(struct frontend_data *)obj.data
$46 = {window = 0x4015b11c, target_box = 0x4015b11c, info_box = 0x6564632f, menu_box = 0x6e6f6362, 
  button_next = 0x72662f66, button_prev = 0x65746e6f, progress_bar = 0x672f646e, 
  progress_bar_menubox = 0x6b74, progress_bar_frame = 0x0, setters = 0x0, button_val = 0, 
  ask_jump_confirmation = false, dummy_main_menu = false, jump_target = '\0' <repeats 39 times>, 
  q_main = 0x0}

as you can see
progress_bar_menubox = 0x6b74

and it is never changed until the crash

hope this helps,

ciao

Davide

Attachment: signature.asc
Description: Digital signature


Reply to: