[RFC] Fix for GIO detection/VFS fallback (TCK7 failure)

Andrew Hughes ahughes at redhat.com
Tue May 1 17:49:35 PDT 2012


----- Original Message -----
> Hi,
> 
> Attached patch fixes a TCK failure seen on systems with older libgio.
> 
> The way the code works is that it first tries to load libgio-2.0.so
> and
> then verify that all necessary functions are available. If they are
> not,
> it dlcloses the library and falls back to vfs.
> 
> In the forest, we have modified this part to wire in system libs and
> there is a bug in how it is done. If functions are not found and the
> library handle is closed, the caller ignores it and tries to call a
> function (g_type_init) via the ptr anyway, causing a SIGSEGV.
> 
> OK to apply this to HEAD, 2.0 and 2.1?
> 
> Thanks,
> Deepak
> 

I saw this earlier and was going to commit it to HEAD.

Fine by me.  I tested with and without system GIO enabled, but I can't
really emulate the library being missing without deleting chunks of my
system... ;-)

We need to find time to get these patches upstreamed.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list