[18521] in Athena Bugs
sun4 8.4.15: sunsoft_v6.1 dbx
daemon@ATHENA.MIT.EDU (Nickolai Zeldovich)
Sun Nov 19 11:25:19 2000
Message-Id: <200011191625.LAA06694@pepsi-one.mit.edu>
To: bugs@MIT.EDU
Date: Sun, 19 Nov 2000 11:25:14 -0500
From: Nickolai Zeldovich <kolya@MIT.EDU>
System name: pepsi-one.mit.edu
Type and version: Ultra-1/64-bit 8.4.15 (with mkserv)
Display type: ffb
Shell: /bin/athena/tcsh
Window manager: ctwm -s
What were you trying to do?
Run dbx from the sunsoft_v6.1 locker on a 64-bit Solaris 7
machine (though unsupported, this still seems like a bug.)
What's wrong:
It crashed due to a SIGSEGV (more detailed information
further down).
What should have happened:
I shouldn't have needed to debug a debugger :)
Looking on sunsolve, patch 107358 seems like a possible
solution, since 107358-01 claims to fix "4193543 v9 dbx
randomly dies in licensing code". Would it be possible
to apply that?
pepsi-one~162> truss /mit/sunsoft_v6.1/SUNWspro/WS5.0/bin/sparcv9/dbx
[...]
time() = 974650595
sysinfo(SI_SRPC_DOMAIN, "", 1024) = 1
open("/etc/resolv.conf", O_RDONLY) = 4
fstat(4, 0xFFFFFFFF7FFFE140) = 0
ioctl(4, TCGETA, 0xFFFFFFFF7FFFE07C) Err#25 ENOTTY
read(4, " d o m a i n M I T . E".., 8192) = 36
Incurred fault #6, FLTBOUNDS %pc = 0x1002F1EDC
siginfo: SIGSEGV SEGV_MAPERR addr=0x0058E997
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x0058E997
*** process killed ***
pepsi-one~163> adb -Padb\>\ /mit/sunsoft_v6.1/SUNWspro/WS5.0/bin/sparcv9/dbx
adb> :r
SIGSEGV: Segmentation Fault (address not mapped to object)
stopped at:
ll_getdnsname+0x13c: clrb [%o0]
adb> $c
ll_getdnsname(1,100556100,400,7efefeff,4e,10058e990) + 13c
check_domain_info(100530f60,100597650,1005995c0,1005aa5b0,0,10058d998) + 100
flex_get_license(1005311a4,1005854a0,100530f60,0,100597650,1005995c0) + 440
actual_get_license(100583a78,10053118c,1,100530f60,1005559d8,0) + 74
get_license_and_update_info(7c4a,ffffffff808f5995,ffffffff7fffeff4,1005a2590,ffffffff7fffeff4,4014000000000000) + b0
mid_get_license(7c4a,9,0,1005a2590,1004f204c,0) + 6d4
get_license(1004f204c,100530288,0,0,1004f204c,0) + 130
valid_license(100582e58,10058d9f0,10058db78,10058ef88,100582e70,1004f2048) + 1b8
main(10059f120,100582b18,ffffffff7ffff598,1,0,100000000) + 4ac
adb> <o0=J
58e997
Renaming /etc/resolv.conf to something else generates a different
stack trace, though it still seems to crash.
SIGSEGV: Segmentation Fault (address not mapped to object)
stopped at:
strcpy+0x3c: lduh [%i1], %i3
adb> $c
strcpy(10058e990,7fffe32a,10058e990,2,0,0) + 3c
ll_getdnsname(1,1041067f,400,7efefeff,4e,10058e990) + 1b4
check_domain_info(100530f60,100597650,1005995c0,1005aa5b0,0,10058d998) + 100
flex_get_license(1005311a4,1005854a0,100530f60,0,100597650,1005995c0) + 440
[...]
adb> 10058e990/s
DNS_domain:
DNS_domain:
adb> 7fffe32a/s
data address not found
adb> <i1=J
7fffe32a