Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb68db960 (LWP 31267)] 0xb77d577c in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0 (gdb) bt #0 0xb77d577c in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0 #1 0xb77c4eca in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0 #2 0xb77b86f9 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #3 0xb77ccc3d in ?? () from /usr/lib/libgobject-2.0.so.0 #4 0x08089f58 in ?? () #5 0x00000000 in ?? ()