Bug in bonobo-property?



  Hello!
  
  I am using:
  	Bonobo-0.33 (snapshot 200101191941)
  	ORBit-0.5.6
  	OAF-0.6.1	
  
  I have added a BonoboPropertyBag to an Bonobo::Unknown component. This
PropertyBag stores some properties, some containing a default value, as you
can see:
	
	pb = bonobo_property_bag_new (get_prop, set_prop, (void *) gnupg);
	
	[..]
	
	def = bonobo_arg_new (BONOBO_ARG_STRING);

	BONOBO_ARG_SET_STRING (def, "wwwkeys.us.pgp.net");

	bonobo_property_bag_add (pb, "DefaultServer", 3, BONOBO_ARG_STRING,
			 def, "Default Key Server",
			 BONOBO_PROPERTY_READABLE | BONOBO_PROPERTY_WRITEABLE);

	[..]
	
	bonobo_object_add_interface (BONOBO_OBJECT(gnupg), BONOBO_OBJECT(pb));



  When client calls Bonobo_Unknown_unref(server), I get this error in component:
  
ORBit-WARNING **: PortableServer_POA_destroy not yet fully implemented; ignoring flags

ORBit-ERROR **: file allocators.c: line 114 (ORBit_free): assertion failed: (block->magic == 0xdeadbeef)
aborting...
Abortado


  This happens before destructor for my object is called.
  If I don't assign any default value to the property all works fine.  

  Here is a backtrace:
#0  0x40680931 in kill () from /lib/libc.so.6
#1  0x40680618 in raise () from /lib/libc.so.6
#2  0x40681c71 in abort () from /lib/libc.so.6
#3  0x403f8a3e in g_logv () from /usr/lib/libglib-1.2.so.0
#4  0x403f8af1 in g_log () from /usr/lib/libglib-1.2.so.0
#5  0x40432ab0 in ORBit_free () from /usr/lib/libORBit.so.0
#6  0x40438098 in CORBA_free () from /usr/lib/libORBit.so.0
#7  0x404b188f in bonobo_arg_release () from /usr/lib/libbonobo.so.2
#8  0x404c0617 in bonobo_property_bag_new () from /usr/lib/libbonobo.so.2
#9  0x404c0656 in bonobo_property_bag_new () from /usr/lib/libbonobo.so.2
#10 0x403f3081 in g_hash_table_foreach_remove () from /usr/lib/libglib-1.2.so.0
#11 0x404c06d3 in bonobo_property_bag_new () from /usr/lib/libbonobo.so.2
#12 0x401d4d41 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#13 0x40202b33 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#14 0x40200bd3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x401e5f2b in gtk_object_destroy () from /usr/lib/libgtk-1.2.so.0
#16 0x401e5eca in gtk_object_destroy () from /usr/lib/libgtk-1.2.so.0
#17 0x404b917b in bonobo_object_bind_to_servant () from /usr/lib/libbonobo.so.2
#18 0x404b945e in bonobo_object_unref () from /usr/lib/libbonobo.so.2
#19 0x404b95d7 in bonobo_object_release_unref () from /usr/lib/libbonobo.so.2
#20 0x404a105b in _ORBIT_skel_Bonobo_Unknown_unref () from /usr/lib/libbonobo.so.2
#21 0x4043a935 in ORBit_POA_handle_request () from /usr/lib/libORBit.so.0
#22 0x4043cc12 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#23 0x4043ce61 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#24 0x40452494 in giop_main_handle_connection () from /usr/lib/libIIOP.so.0
#25 0x4046a730 in OAF_ActivationContext_ParseFailed__alloc () from /usr/lib/liboaf.so.0
#26 0x403f4bf0 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#27 0x403f62b9 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#28 0x403f68c3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#29 0x403f6a5c in g_main_run () from /usr/lib/libglib-1.2.so.0
#30 0x401d3457 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#31 0x404b654d in bonobo_main () from /usr/lib/libbonobo.so.2
#32 0x804c70b in main (argc=1, argv=0xbffffa84) at seahorse-factory.c:293

  




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