GLIB and MinGW



I've built version 2.29.92 with MinGW's gcc version 4.6.1 and binutils
version 2.21.53.20110804.  I'm seeing a SIGSEGV error caused from an
infinite loop at line 732 of glib/gatomic.c (as seen by the bt from
gdb).  The calling program dbus-glib-tool calls g_type_init () and
never returns.  The relative bt is below.  I'm trying to build Xiphos
which still has a requirement for dbus-glib-1.  I'm currently doing a
rebuild with CFLAGS set with -O0 instead of -O2 to see if it helps but
are there other suggestions?

Thanks,
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)


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