xfce-mcs-manager segfault

Brian J. Tarricone bjt23 at cornell.edu
Thu Sep 29 13:13:29 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg Bell wrote:
> hi guys,
> 
> can anyone explain why xfce-mcs-manager is looking for libXcursor in a 
> bunch of directories that aren't in /etc/ld.so.conf, and not in 
> /usr/X11R6/lib which *is* in ld.so.conf?

Because your system/compiler is broken?  Actually, all those locations
look like builtin defualts (i.e., you don't need to put them in
ld.so.conf).  Anyway, did you try running ldconfig after installing the
libraries?  Though that shouldn't be necessary, assuming you have a
toolchain that supports rpath...

> strace:
> 
> open("/lib/tls/i686/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/lib/tls/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/lib/i686/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/lib/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/usr/lib/tls/i686/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/usr/lib/tls/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/usr/lib/i686/libXcursor.so.1.0") = -1 ENOENT (No such file)
> open("/usr/lib/libXcursor.so.1.0") = -1 ENOENT (No such file)
> munmap(0xb7c1e000, 56438)               = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---

<random-rant>
I've always wondered about this... why does dlopen() send sigsegv when
it fails to load a module's dependencies?  Seems kinda lame to me.  I'd
think you'd just get a relocation error and the equivalent of an abort().
</random-rant>

	-b

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDO8xY6XyW6VEeAnsRAtLJAKDOeym5oBh1hcIWT71MKx4W+8/f3QCgxqc4
ZG5Vm8QXhfcLvnXRjw/rHzs=
=6QQf
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list