Hi,
I am trying to write a libecal program , when I use it in a standalone program the code works fine but when the code is put as a plugin to another gtk program (kiba-dock) the dock crashes(SEGV) on exit .
ESource *source = NULL;
ESourceList *sources = NULL;
GError *gerror = NULL;
e_cal_get_sources(&sources,E_CAL_SOURCE_TYPE_TODO,&gerror)
ECal *abcd;
abcd = e_cal_new_system_tasks();
GDB backtrace:
(gdb) where
#0 0x044b16a0 in ?? ()
#1 0x0414843c in ?? () from /usr/lib/libbonobo-2.so.0
#2 0x009fc500 in ?? () from /usr/lib/libORBit-2.so.0
#3 0x00c446c6 in g_hash_table_foreach () from /lib/libglib-2.0.so.0
#4 0x009ffe20 in ORBit_POA_deactivate () from /usr/lib/libORBit-2.so.0
#5 0x00a0008e in ?? () from /usr/lib/libORBit-2.so.0
#6 0x00a00153 in ?? () from /usr/lib/libORBit-2.so.0
#7 0x00a002ac in PortableServer_POA_destroy () from /usr/lib/libORBit-2.so.0
#8 0x009eb556 in CORBA_ORB_shutdown () from /usr/lib/libORBit-2.so.0
#9 0x009eb6cd in CORBA_ORB_destroy () from /usr/lib/libORBit-2.so.0
#10 0x009ecdef in ?? () from /usr/lib/libORBit-2.so.0
#11 0x00277c5e in exit () from /lib/libc.so.6
#12 0x00261f78 in __libc_start_main () from /lib/libc.so.6
#13 0x08053a81 in _start ()
Any pointers as to how to fix this ?
Thanks,
sandic