This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dl test program segfaults


"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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]