Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 1998 11:06:58 -0800 (PST)
From:      Mika Illouz <mika@sdna2.ucsd.edu>
To:        undisclosed-recipients:;
Message-ID:  <199802051906.LAA27887@sdna2.ucsd.edu>

next in thread | raw e-mail | index | archive | help
Hi

I'm trying to use JDK 1.1.5 on FreeBSD.  I've installed the package,
which I downloaded last week from ftp://ftp.freebsd.org/pub/incoming.
I've installed it at /usr/local/jdk, which is a symbolic link to
/usr/local/jdk1.1.5.  This directory has the usual subdirectories
(bin, demo, include, lib).

When I invoke appletviewer, I get.

% appletviewer http://real-host
/usr/libexec/ld.so: Undefined symbol "__select" called from java:/usr/local/jdk/
bin/../lib/i386/green_threads/libjava.so.1.5 at 0x8075560

.. where "real-host" is a host that exists.  When I invoke it on a
fake host, I get

% appletviewer http://fake-host
SIGSEGV   11*  segmentation violation

Full thread dump:
    "Finalizer thread" (TID:0x85e0c48, sys_thread_t:0x93e1f00, state:R) prio=1
    "Async Garbage Collector" (TID:0x85e0c90, sys_thread_t:0x93c0f00, state:R) p
rio=1
    "Idle thread" (TID:0x85e0a08, sys_thread_t:0x939ff00, state:R) prio=0
    "Clock" (TID:0x85dd088, sys_thread_t:0x937ef00, state:CW) prio=12
    "main" (TID:0x85dd0b0, sys_thread_t:0x4b00, state:R) prio=5 *current thread*
        java.net.InetAddress.getAllByName0(InetAddress.java)
        java.net.InetAddress.getByName(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.ja
va:326)
        sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:407)
        sun.applet.AppletViewer.parse(AppletViewer.java:919)
        sun.applet.AppletViewer.parse(AppletViewer.java:904)
        sun.applet.AppletViewer.main(AppletViewer.java:1081)
Monitor Cache Dump:
    sun.net.www.protocol.http.HttpURLConnection@85E4FF0/864C7B8: owner "main" (0
x4b00, 1 entry)
    java.util.Hashtable@85E5078/864D490: owner "main" (0x4b00, 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" (0x937ef00)
    _malloc: <unowned>
    Monitor registry: owner "main" (0x4b00, 1 entry)
Thread Alarm Q:
Abort trap

Similar thread dumps follow:

% appletviewr ftp://fake-host/fake-file.html
% appletviewr file://fake-file.html

% java -version
java version "jdk1.1-root:1997/12/28-17:07"

% uname -a
FreeBSD lira.frob.com 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Fri Jan 30 12:00:0
4 PST 1998     root@lira.frob.com:/usr/src/sys/compile/LIRA  i386

What to do?  Whom should I ask?

-- Mika



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802051906.LAA27887>