Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jul 1999 11:35:01 -0400
From:      Michael Oehler <mjo@tycho.ncsc.mil>
To:        freebsd-java@freebsd.org
Subject:   SIGSEG -- JDK 1.1.8 & 1.1.7 for FreeBSD
Message-ID:  <377F7F25.21B5D879@tycho.ncsc.mil>

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

--------------FC30FF6D755E93EA8973E4D0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am running   FreeBSD 3.2-RELEASE #2.
Whenever I use any of the JDK executables javac or javadoc,
                          I get an OS exception.

Has anyone encourntered this before?
Is it an ELF issue?
Missing a shared lib?
Does the JDK execute/been tested with FreeBSD 3.2?

1. I'm using: jdk1.1.8_ELF.V99-6-3.tar.gz
2. The JDK scripts work fine (/usr/local/jdk1.1.8/javac), the correct
environment
variables get exported, and
/usr/local/jdk1.1.8/bin/i386/green_threads/java
gets executed with the right arguments.
3. I also tried the ld-elf.so.1 as posted on the FreeBSD web page.
4. ldd is able to find all libraries...

I'm out of ideas.

An example and output is shown below:
% javac anySource.java
SIGSEGV   11*  segmentation violation

Full thread dump:
    NULL (TID:0x282fc0b0, sys_thread_t:0x8088700, state:R) prio=5
*current thread*
Monitor Cache Dump:
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>
    Memory allocation lock: <unowned>
    Monitor registry: owner NULL (0x8088700, 1 entry)
Thread Alarm Q:
Abort trap - core dumped


--
http://pgp5.ai.mit.edu:11371/pks/lookup?op=index&search=mjo@tycho.ncsc.mil



--------------FC30FF6D755E93EA8973E4D0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am running&nbsp;&nbsp; FreeBSD 3.2-RELEASE #2.
<br>Whenever I use any of the JDK executables javac or javadoc,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I get an OS exception.
<p>Has anyone encourntered this before?
<br>Is it an ELF issue?
<br>Missing a shared lib?
<br>Does the JDK&nbsp;execute/been tested with FreeBSD 3.2?
<p>1. I'm using: jdk1.1.8_ELF.V99-6-3.tar.gz
<br>2. The JDK scripts work fine (/usr/local/jdk1.1.8/javac), the correct
environment
<br>variables get exported, and /usr/local/jdk1.1.8/bin/i386/green_threads/java
<br>gets executed with the right arguments.
<br>3. I also tried the ld-elf.so.1 as posted on the FreeBSD web page.
<br>4. ldd is able to find all libraries...
<p>I'm out of ideas.
<p>An example and output is shown below:
<br>% javac anySource.java
<br>SIGSEGV&nbsp;&nbsp; 11*&nbsp; segmentation violation
<p>Full thread dump:
<br>&nbsp;&nbsp;&nbsp; NULL (TID:0x282fc0b0, sys_thread_t:0x8088700, state:R)
prio=5 *current thread*
<br>Monitor Cache Dump:
<br>Registered Monitor Dump:
<br>&nbsp;&nbsp;&nbsp; Thread queue lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Name and type hash table lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; String intern lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; JNI pinning lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; JNI global reference lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; BinClass lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Class loading lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Java stack lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Code rewrite lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Heap lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Has finalization queue lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Finalize me queue lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Monitor IO lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Child death monitor: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Event monitor: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; I/O monitor: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Alarm monitor: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Memory allocation lock: &lt;unowned>
<br>&nbsp;&nbsp;&nbsp; Monitor registry: owner NULL (0x8088700, 1 entry)
<br>Thread Alarm Q:
<br>Abort trap - core dumped
<br>&nbsp;
<pre>--&nbsp;
<A HREF="http://pgp5.ai.mit.edu:11371/pks/lookup?op=index&search=mjo@tycho.ncsc.mil">http://pgp5.ai.mit.edu:11371/pks/lookup?op=index&amp;search=mjo@tycho.ncsc.mil</A></pre>;
&nbsp;</html>

--------------FC30FF6D755E93EA8973E4D0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?377F7F25.21B5D879>