Subject: Re: strange ld.so error
To: None <netbsd-help@netbsd.org>
From: Tim Rightnour <root@garbled.net>
List: netbsd-help
Date: 10/06/1998 18:47:57
#  Tim Rightnour wrote:
# > 
# > I'm writing some code (which possibly has pointer errors) and when I run
# > it, I
# > get:
# > 
# > /usr/libexec/ld.so: Call to binder from unknown location: 0x4007a4b4

So with a suggestion from someone, I compiled it staticly, and fed it to ktrace:

 16373 ktrace   RET   ktrace 0
 16373 ktrace   CALL  execve(0xefbfdbbb,0xefbfdb30,0xefbfdb44)
 16373 ktrace   NAMI  "./dsh"
 16373 dsh      EMUL  "netbsd"
 16373 dsh      RET   execve JUSTRETURN
 16373 dsh      CALL  __sysctl(0xefbfd838,0x2,0xa954,0xefbfd840,0,0)
 16373 dsh      RET   __sysctl 0
 16373 dsh      CALL  break(0xa988)
 16373 dsh      RET   break 0
 16373 dsh      CALL  break(0xaffc)
 16373 dsh      RET   break 0
 16373 dsh      CALL  break(0xbffc)
 16373 dsh      RET   break 0
 16373 dsh      PSIG  SIGSEGV SIG_DFL
 16373 dsh      NAMI  "dsh.core"

Hrmm.. is ktrace just not showing me the last call made before it SIGSEGV's or
am I going nuts here?  (that is the *whole* output of ktrace)


---
Tim Rightnour  -  root@garbled.net
Free Multi-Platform Operating System: http://www.netbsd.org
Get your official NetBSD-1.3.2 CDROM set today! http://www.netbsd.com/