bonobo-text-plain crash



Program received signal SIGSEGV, Segmentation fault.
0x20000b46138 in g_list_remove (list=0x30, data=0x120171e40) at
../glist.c:276
276	      if (tmp->data != data)

(gdb) up
#1  0x1200021d4 in destroy_view (view_data=0x120171e40)
    at ../../../components/text-plain/bonobo-text-plain.c:96
96		view_data->bonobo_object_data->views =
(gdb) list
91	 * Utility functions.
92	 */
93	static void
94	destroy_view (view_data_t *view_data)
95	{
96		view_data->bonobo_object_data->views =
97			g_list_remove
(view_data->bonobo_object_data->views,
98				       view_data);
99	
100		g_free (view_data);
(gdb) print *view_data->bonobo_object_data
$2 = {bonobo_object = 0x20001f1b0e0, text = 0x120168710 "", text_len = 0,
progressive_data = 0, 
  total_size = 0, views = 0x30}

My guess is that the bonobo_object_data is getting destroyed before the
view, but I don't know enough about this component to comment. Anyone
else?

-- Elliot
If imprinted foil seal under cap is broken or missing when purchased, do not use. 





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