dl test program segfaults

Ulrich Drepper drepper@cygnus.com
Wed Nov 4 19:17:00 GMT 1998


"Jack Howarth" <howarth@bromo.med.uc.edu> writes:

> This glibc passed all the tests in make check. However now the
> dl test program you wrote (to emulate the problems linuxconf/pam have)
> segfaults under this new glibc. Is anyone else seeing this on other
> platforms?

The problem is that this program had a bug.  The flag parameter to
dlopen must have the RTLD_LAZY or the RTLD_NOW bit set.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-alpha mailing list