[2662] in java-interest
Wierd interactions of Java and NIS+?
daemon@ATHENA.MIT.EDU (Douglas Thomas)
Mon Oct 9 21:47:29 1995
Date: Mon, 9 Oct 1995 19:34:00 -0400
From: dthomas@engr.soltech.com (Douglas Thomas)
To: cmcmanis@java.sun.com, java-interest@java.sun.com, tball@java.sun.com
Does anyone out there run NIS+?
We seem to be getting the following access violation running jdb (among other things).
It looks like it occurs consistently on a machine which is
a NIS+ Client, but it doesn't occur on the NIS+ master running
as root.
We have single stepped the interpreter on both a machine which
is running NIS+ and one which is not and the only difference
occurs in nss_search() (an undocumented function in libc.so.1).
Java beta works fine on the machine which isn't running nis+.
Anyone have any ideas?
Thanks,
Douglas Thomas
P.S. please RSVP to me personally, as I am not on the java-interest list.
SIGSEGV 11: segmentation violation (address not mapped to object)
stopped at sysMonitorEnter+0x20: ld [%i0 + 0xc], %l2
$c
sysMonitorEnter(0x0,0x53598,0x0,0x53598,0x0,0x60118) + 20
putmsg(?) + 14
__t_get_str(0x100,0xefffcc04,0xefffcd6c,0x0,0x0,0x0) + 1617a
t_sndudata(?) + 240
__t_get_str(0x100,0xefffcd6c,0x24,0x71770,0x71728,0x71790) + 16402
clnt_dg_call(0x825e0,0x825b0,0xf4240,0x84614,0x0,0x0) + 2c8
__nis_finddirectory_r(?) + a0
__t_get_str(0xefffd008,0x72608,0xef737758,0xef737758,0x0,0xef737758) + 172ba
bindDir__12NisBindCacheFPcP13directory_obj(?) + 84
__t_get_str(0x6fb68,0xefffd09a,0xefffd008,0x71bb0,0xefffd008,0x0) + 17416
__nis_CacheBind(?) + 2c
__t_get_str(0xefffd09a,0xefffd008,0x6f,0x344,0x3,0x0) + 16e5e
__nis_make_binding(?) + b0
__t_get_str(0xefffd49c,0xefffd094,0xefffd008,0x0,0x0,0xefffd025) + 16ebe
__nis_core_lookup(?) + 164
__t_get_str(0x1,0xffffffef,0x0,0x0,0x0,0x1) + 16e76
nis_list(0xefffd598,0x10043,0x0,0x0,0x0,0x0) + 284
?(0x70ad8,0xefffdac0,0xef45465c,0xefffdcb0,0xef454664,0x0) at ef451900
?(0x70ad8,0xefffdac0,0x70ad8,0x71a98,0x0,0x1) at ef451e74
nss_search(?) + 100
__t_get_str(0x0,0x70ad8,0x4,0xefffdac0,0x0,0x2) + 16012
_switch_gethostbyname_r(?) + 48
__t_get_str(0xefffdcb0,0x6f354,0x6f368,0x520,0xef738338,0xffffffff) + 16042
_get_hostserv_inetnetdir_byname(?) + 344
__t_get_str(0x6fa40,0xefffdc30,0xefffdc28,0x68db0,0xefffdc34,0x0) + 15e86
gethostbyname_r(?) + 74
FLongMultiplier(0xefffdcb0,0x6f354,0x6f368,0x520,0xef738338,0x6fa40) + 11ba4
java_net_InetAddress_lookupHostAddr(0x0,0xee3007c8,0xefffdd0e,0x74756200,0x1,0x23e50) + a0
Java20_java_net_InetAddress_lookupHostAddr_stub(0x583e4,0xeffff5c8,0x0,0x0,0x7018f,0xefffdd0e) + 8
invokeNativeMethod(0xee300790,0x23e50,0x1,0xeffff5c8,0x583bc,0x583e4) + 60
ExecuteJava(0xd8,0xeffff5c8,0x6fc88,0x71525,0x707d8,0x71524) + 2738
etc.
jdb
Loading jdb ...
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xc]
stackbase=EFFFF5A4, stackpointer=EFFFC240
Full thread dump:
"Finalizer thread" (TID:0xee300620, sys_thread_t:0xef490de8) prio=1
"Async Garbage Collector" (TID:0xee3005d0, sys_thread_t:0xef4c0de8) prio=1
"Idle thread" (TID:0xee300558, sys_thread_t:0xef4f0de8) prio=0
"clock handler" (TID:0xee300098, sys_thread_t:0xef5b0de8) prio=11
"main" (TID:0xee300048, sys_thread_t:0x60150) prio=5 *current thread*
java.net.InetAddress.getByName(InetAddress.java)
java.net.InetAddress.<clinit>(InetAddress.java)
java.tools.ttydebug.TTY.main(TTY.java:1145)
Monitor Cache Dump:
unknown key (key=0x6fc88): monitor owner: "main"
unknown key (key=0xef4c0de8): unowned
Waiting to be notified:
"Async Garbage Collector"
unknown key (key=0x6ed30): monitor owner: "main"
unknown key (key=0x717d8): monitor owner: "main"
java.lang.Class@EE300790/6FC88 (key=0xee300790): monitor owner: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor IO lock: unowned
Child death monitor: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
sys_thread_t 0xef4c0de8 [Timeout in 922 ms]
--
_/ _/
_/ _/
_/ _/
_/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/
_/ _/ _/ _/
_/ _/ _/ _/
_/ _/ _/ _/ _/
_/ _/ _/ _/ _/
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'
douglas c thomas
soltech systems corporation
1180 sam rittenberg blvd. phone: 803-556-2500
suite 310 fax: 803-556-2596
charleston, sc 29407 email: dthomas@soltech.com
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com