More examples (the next invocation worked fine..):

SIGSEGV   11*  segmentation violation
        stackbase=BF9FFD5C, stackpointer=BF9FF454

Full thread dump:
    "AsyncConnector" (TID:0x40663900, sys_thread_t:0x8204e00, state:R,
thread_t: t@4100, sp:0x0 threadID:0x4668, stack_base:0xbf3ffd68,
stack_size:0x200000) prio=5
        java.lang.ThreadGroup.remove(ThreadGroup.java)
        java.lang.Thread.exit(Thread.java)
    "SIGQUIT handler" (TID:0x4065f2a0, sys_thread_t:0x81c24a8, state:R,
thread_t: t@3075, sp:0x0 threadID:0x4667, stack_base:0x0,
stack_size:0x0) prio=10
    "Finalizer thread" (TID:0x4065f088, sys_thread_t:0x81c2420,
state:CW, thread_t: t@2050, sp:0x0 threadID:0x4666,
stack_base:0xbf7ffd68, stack_size:0x200000) prio=10
    "main" (TID:0x4065f0b0, sys_thread_t:0x81b6c00, state:R, thread_t:
t@1025, sp:0x0 threadID:0x4665, stack_base:0xbf9ffd5c,
stack_size:0x200000) prio=0 *current thread*
       
java.net.PlainSocketImpl.getInputStream(PlainSocketImpl.java:386)
        java.net.Socket.getInputStream(Socket.java:282)
        sun.rmi.transport.tcp.TCPChannel.openSocket(TCPChannel.java:271)
       
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:125)
        sun.rmi.server.UnicastRef.newCall(UnicastRef.java:67)
       
sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
        java.rmi.Naming.lookup(Naming.java:53)
        GetTeamnumTest.main(GetTeamnumTest.java:8)
Monitor Cache Dump:
    java.net.PlainSocketImpl@1080441328/1080826752: owner "main"
(0x81b6c00, 1 entry)
    java.lang.ThreadGroup@1080441080/1080825048: owner "AsyncConnector"
(0x8204e00, 1 entry)
    java.lang.Class@1080422736/1080684672: owner "AsyncConnector"
(0x8204e00, 1 entry)
    java.lang.Class@1080441424/1080826200: owner "main" (0x81b6c00, 1
entry)
Registered Monitor Dump:
    Thread queue lock: <unowned>
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: owner "main" (0x81b6c00, 1 entry)
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
        Waiting to be notified:
            "Finalizer thread" (0x81c2420)
    Monitor registry: owner "main" (0x81b6c00, 1 entry)
Abort


Christopher Rowan wrote:
> 
> I have been getting various seemingly spurious errors using rmi.
> 
> Sometimes it works, sometimes it doesn't.
> 
> Here is one of them (below):
> 
> (I also had thread and finalization problems)
> 
> It seems that the first few invocations are problematic, then things
> smooth out.
> 
> Does anyone have any positive or negative experience using rmi?
> 
> chris: /export/home1/bmb/src/rmi % java GetTeamnumTest
> /usr/java/lib/i686/native_threads/libnet.so: undefined symbol:
> java_net_PlainSocketImpl_socketCreate (libnet.so)
> java.lang.UnsatisfiedLinkError: no net in shared library path
>         at java.lang.Runtime.loadLibrary(Runtime.java)
>         at java.lang.System.loadLibrary(System.java)
>         at
>         at
>         at
> sun.rmi.registry.RegistryHandler.registryStub(RegistryHandler.java:50)
>         at
> java.rmi.registry.LocateRegistry.getRegistry(LocateRegistry.java:107)
>         at java.rmi.Naming.getRegistry(Naming.java:149)
>         at java.rmi.Naming.lookup(Naming.java:48)
>         at GetTeamnumTest.main(GetTeamnumTest.java:8)
> chris: /export/home1/bmb/src/rmi % java GetTeamnumTest
> 881
> chris: /export/home1/bmb/src/rmi % java GetTeamnumTest
> 882
> chris: /export/home1/bmb/src/rmi % java GetTeamnumTest
> 883
> chris: /export/home1/bmb/src/rmi %


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to