[csw-maintainers] opening both 32bit and 64bit shared libs

Darin Perusich Darin.Perusich at cognigencorp.com
Fri Apr 23 21:50:32 CEST 2010


Hello,

I'm testing a new Amanda package and all the apps are core dumping and
for some reason they are opening both the 32 and 64bit
libgthread-2.0.so.0 libraries. Has anyone ever seen this or have any
idea why it might be happening?

When I truss execution you can see that both libs are being opened.

root at testing9s : grep open /tmp/truss.out | grep -v NOENT | grep gthread
open("/opt/csw/lib/libgthread-2.0.so.0", O_RDONLY) = 5
open("/opt/csw/lib/sparcv9/libgthread-2.0.so.0", O_RDONLY) = 5

The error I get just before it dumps core is:

ERROR:glib-util.c:48:glib_init: assertion failed: (!g_thread_supported())

Line 48 of glib-util.c is wrapped in a libcurl definition so I'm
wondering if this could be related to libcurl.

#ifdef HAVE_LIBCURL
# ifdef G_THREADS_ENABLED
    g_assert(!g_thread_supported());
# endif
    g_assert(curl_global_init(CURL_GLOBAL_ALL) == 0);
#endif


-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com


More information about the maintainers mailing list