Hi everyone,

I'm trying to move some of our Java apps to run on linux boxes.  I 
downloaded jdk1.1.6 and installed it (untarred in /usr/local and set my 
path to find /usr/local/jdk1.1.6/bin).

Well.. I was able to compile a hello world java app.  So I believe I'm 
correctly installed.  But any code hitting java.net causes a VM crash.  The 
output's attached to this message, but looking at the stack trace it looks 
like it's trying to load a library.

When I try and run jdb, I get a file not found for libnet_g.so.  But it's 
there, in .../lib/i586/green_threads

I'd appreciate any help, I'm running SuSE linux on an AMD 233 chip with a 
2.0.35 kernel.

Thanks!

-rj


  

urltest.java

SIGSEGV   11*  segmentation violation
        stackbase=0xbffff7f0, stackpointer=0xbffff6f4

Full thread dump:
    "Finalizer thread" (TID:0x4065f208, sys_thread_t:0x413a3f04, state:R) prio=1
    "Async Garbage Collector" (TID:0x4065f250, sys_thread_t:0x41382f04, state:R) prio=1
    "Idle thread" (TID:0x4065f298, sys_thread_t:0x41361f04, state:R) prio=0
    "Clock" (TID:0x4065f088, sys_thread_t:0x41340f04, state:CW) prio=12
    "main" (TID:0x4065f0b0, sys_thread_t:0x81acfe0, state:R) prio=5 *current thread*
        java.lang.Runtime.loadLibrary(Runtime.java)
        java.lang.System.loadLibrary(System.java)
        java.net.InetAddress.<clinit>(InetAddress.java)
        sun.net.www.http.HttpClient.<init>(HttpClient.java:201)
        sun.net.www.http.HttpClient.<init>(HttpClient.java:219)
        sun.net.www.http.HttpClient.New(HttpClient.java:230)
        sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:326)
        
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:407)
        java.net.URL.openStream(URL.java)
        urltest.main(urltest.java:7)
Monitor Cache Dump:
    sun.net.www.protocol.http.HttpURLConnection@1080439664/1080800248: owner "main" 
(0x81acfe0, 1 entry)
    java.lang.Runtime@1080439840/1080804208: owner "main" (0x81acfe0, 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: <unowned>
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me 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" (0x41340f04)
    Monitor registry: owner "main" (0x81acfe0, 1 entry)
Thread Alarm Q:

Reply via email to