dbus-glib build error in examples module
Earnie Boyd
earnie at users.sourceforge.net
Sat Oct 8 10:31:02 PDT 2011
> Making all in examples
> make[3]: Entering directory
> `/mingw/src/dbus-glib-0.98/bld/dbus/examples' /bin/sh ../../libtool
> --mode=execute ../../dbus/dbus-binding-tool --prefix=some_object
> --mode=glib-server
> --output=example-service-glue.h ../../../dbus/examples/example-service.xml
> make[3]: *** [example-service-glue.h] Error 5
Using gdb I've determined this is a GLIB issue. dbus-binding-tool
calls g_type_init() and GLIB goes into an infinite loop causing a
SIGSEGV.
Earnie
#65127 0x685c2f4f in g_atomic_pointer_get (atomic=0x686ce020)
at ../../glib/gatomic.c:732
#65128 0x685c2f4f in g_atomic_pointer_get (atomic=0x686ce020)
at ../../glib/gatomic.c:732
#65129 0x685c2f4f in g_atomic_pointer_get (atomic=0x686ce020)
at ../../glib/gatomic.c:732
#65130 0x685c2f4f in g_atomic_pointer_get (atomic=0x686ce020)
at ../../glib/gatomic.c:732
#65131 0x685c2f4f in g_atomic_pointer_get (atomic=0x686ce020)
at ../../glib/gatomic.c:732
#65132 0x685c2fe7 in g_atomic_int_get (atomic=0x686ce040)
at ../../glib/gatomic.c:616
#65133 0x685c436a in g_bit_unlock (address=0x3e4930, lock_bit=0)
at ../../glib/gbitlock.c:340
#65134 0x6861127b in g_static_private_get (private_key=0x686ce444)
at ../../glib/gthread.c:1690
#65135 0x6861d59f in g_get_language_names () at ../../glib/gutils.c:3435
#65136 0x68611304 in g_thread_init_glib () at ../../glib/gthread.c:959
#65137 0x63a68348 in g_type_init_with_debug_flags (
debug_flags=G_TYPE_DEBUG_NONE) at ../../gobject/gtype.c:4266
#65138 0x63a68443 in g_type_init () at ../../gobject/gtype.c:4378
#65139 0x0040b479 in main (argc=1, argv=0x3e2ae0)
at ../../dbus/dbus-glib-tool.c:277
(gdb)
More information about the dbus
mailing list