Subject: Re: ldd coredump
To: None <current-users@sun-lamp.cs.berkeley.edu, pink@fsz.bme.hu>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 04/25/1994 22:25:04
> 
> 	ldd /usr/libexec/ld.so generates a ld.so.core with signal 11.
> 	Why is that? Why is the core from ld.so, not ldd?
> 	Strange that the same thing happens under sunos 4.1. An exact 
> 	implementation of the sunos shared libs, one might say :-).
> 
This is because the argument(s) to ldd are actually exec(2)'ed with
some magic set in the environment to produce the shared library maps
in stead of going to the prog's `main()' routine (see rtld.c for the
gory details).

This particular core-dumping no longer occurs in NetBSD-current, btw
(unlike SunOS-current, one might say...).

------------------------------------------------------------------------------