Subject: bin/11785: and ld.elf_so crash when called directly
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/19/2000 19:36:14
>Number:         11785
>Category:       bin
>Synopsis: and ld.elf_so crash when called directly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 19 19:36:00 PST 2000
>Originator:     Matthias Buelow
>Release:        1.5

System: NetBSD 1.5 NetBSD 1.5 (ALTAIR) #0: Mon Dec 4 18:48:50 CET 2000 i386


When /usr/libexec/ (or ld.elf_so) is invoked with a file argument,
it simply will crash with memory fault ( or an abort (the latter),
in both cases a very unclean exit which generally involves writing a
In the light of promoting clean executables which will never crash
but gracefully exit with an error message, however they are invoked or
what data they are being fed, the dynamic linker should be made to exit
cleanly aswell.


$ /usr/libexec/
Memory fault (core dumped) 
$ /usr/libexec/ld.elf_so
assertion "pAUX_base != NULL
" failed: file "rtld.c", line 376
Abort (core dumped)