Subject: lib/22674: ld_elf.so unstability (it sometimes does not work right)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 09/03/2003 20:38:45
>Number:         22674
>Category:       lib
>Synopsis:       ld_elf.so unstability (it sometimes does not work right)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 03 11:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 1.6X (1.6.1 too)
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.6X NetBSD 1.6X (STARFRUIT) #343: Tue Sep 2 18:37:42 JST 2003 itojun@starfruit.itojun.org:/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
	ld_elf.so sometimes fail to load dynamic link library.

>How-To-Repeat:
	it is difficult to repeat the symptom.

yuo@pava:[121]> ssh sh1.iijlab.net
ssh: connect to address 2001:240:0:200:260:97ff:fe07:69ea port 22: No route to h
ost
Last login: Fri Aug  8 17:30:57 2003 from jc-sp.iij.ad.jp
NetBSD 1.6.1_STABLE (SH1) #0: Mon May 26 17:22:06 JST 2003

Welcome to NetBSD!

-tcsh: Undefined PLT symbol "__errno" (reloc type = 7, symnum = 15)

>Fix:
	i guess this has something to do with memory initialization (like
	garbage on stack, and ld_elf.so does not clear those regions).
>Release-Note:
>Audit-Trail:
>Unformatted: