Subject: Re: Apache & ld.elf_so
To: None <tsubai@iri.co.jp, port-pmax@NetBSD.ORG>
From: Toru Nishimura <nisimura@is.aist-nara.ac.jp>
List: port-pmax
Date: 06/16/1998 10:23:50
>>After much tracing through the code, I found out why the Apache DSO
>>support doesn't work on NetBSD/pmax.
>> ...
>>I've written a simple test program which shows the same behavior.  All it
>>does is dlopen() a library, dlclose() it, and tries to dlopen() it again.  It
>>locks up on the second dlopen(). Is this a known behavior, or should I send a
>>pr on it?
>
> It sounds interesting.  Check PR database and if not found, submit
> yours with, probably, "port-mips" tag. 

NetBSD/newsmips (and macppc) guy, Masanori Tsubai, reported me
privately that he could reproduce the symptom and found that the
problem was around;

	_rtld_load_object()::src/libexec/ld.elf_so/load.c

He tracked down there was something wrong in updating _rtld_objlist
linked list, but failed to fix it.  Probably things are worse and
deeper than they look like.  So, please submit this rt_ld trouble to
PR database, with high severity.  The report/query PR page in
www.netbsd.org is very handy to use. 

I'm suspecting how large the impact is.  Apache, only?  Or, more common
(== boresome)? 

Tohru Nishimura
Nara Institute of Science and Technology