This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: dl test program segfaults
- To: "Jack Howarth" <howarth@bromo.med.uc.edu>
- Subject: Re: dl test program segfaults
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 04 Nov 1998 19:15:42 -0800
- Cc: aj@arthur.rhein-neckar.de, libc-alpha@cygnus.com
- References: <9811042025.ZM11167@bromo.med.uc.edu>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
"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 `------------------------