Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA08551; Sat, 2 Dec 95 02:25:00 EST
Received: from [198.30.92.127] by MIT.EDU with SMTP
	id AA14075; Sat, 2 Dec 95 02:23:58 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id BAA14503; Sat, 2 Dec 1995 01:57:18 -0500
Resent-Date: Sat, 2 Dec 1995 01:57:18 -0500
From: David Hopwood <david.hopwood@lady-margaret-hall.oxford.ac.uk>
Message-Id: <199512020717.HAA07410@sable.ox.ac.uk>
Subject: jdk-pre1 segfault
To: java-linux@java.blackdown.org
Date: Sat, 2 Dec 1995 07:17:53 +0000 (GMT)
In-Reply-To: <Pine.OSF.3.91l.951126075836.13854V-100000@saul2.u.washington.edu> from "Randy Chapman" at Nov 26, 95 08:07:07 am
X-Mailer: ELM [version 2.4 PL23]
Content-Length:       2384
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Resent-Message-Id: <"gOzlX3.0.AY3.XY_lm"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/600
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

Hi,

I'm using the JDK pre-beta 1, static motif version, with ld.so.1.7.11
(from ftp.ods.com), libc.5.0.9, libgmalloc on a Slackware 3.0 ELF system 
with kernel version 1.2.13.

I've checked the following things:
- link bin/i486 to bin/i586, and lib/i486 to lib/i586
- permissions on /dev/zero and /dev/null are ok
- using 8 bpp display
- use /bin/sh, remove 'whence' and fix paths in .java_wrapper

But it still segfaults. Here's what happens (I added echos for 
the environment variables):

/usr/local/pkg/jdk.pre1.static-motif/bin# javac MyAwtApp.java
JAVA_HOME=/usr/local/pkg/jdk.pre1.static-motif
CLASSPATH=.:/usr/local/pkg/jdk.pre1.static-motif/classes:/usr/local/pkg/jdk.pre
1.static-motif/classes.zip
LD_LIBRARY_PATH=/lib:/usr/X11/lib:/usr/local/pkg/jdk.pre1.static-motif/lib/i486
prog=/usr/local/pkg/jdk.pre1.static-motif/bin/i486/javac
opts=

SIGSEGV   11*  Segmentation violation

Full thread dump:

and then it hangs, busy-looping (it never actually prints a thread dump).
Ctrl-C gets back to a prompt. All the other programs called by 
.java_wrapper do the same thing.

So, what did I miss?

David Hopwood
david.hopwood@lmh.ox.ac.uk

/lib# ldconfig -v
ldconfig: version 1.7.3
/usr/local/lib:
/usr/X11R6/lib:
	libXtst.so.6 => libXtst.so.6.0
	libXmu.so.6 => libXmu.so.6.0
	libXi.so.6 => libXi.so.6.0
	libXext.so.6 => libXext.so.6.0
	libSM.so.6 => libSM.so.6.0
	libXt.so.6 => libXt.so.6.0
	libXaw.so.6 => libXaw.so.6.0
	libICE.so.6 => libICE.so.6.0
	libXIE.so.6 => libXIE.so.6.0
	libX11.so.6 => libX11.so.6.0
	libXpm.so.4 => libXpm.so.4.3
[snip]
/lib:
	libgmalloc.so.0 => libgmalloc.so.0.0.0
	libm.so.4 => libm.so.4.6.27
	libcurses.so.0 => libcurses.so.0.1.2
	libc.so.4 => libc.so.4.7.2
	libm.so.5 => libm.so.5.0.0
	libtermcap.so.2 => libtermcap.so.2.0.0
	libcurses.so.1 => libcurses.so.1.0.0
	libc.so.5 => libc.so.5.0.9
	libdl.so.1 => libdl.so.1.7.3
	libe2p.so.1 => libe2p.so.1.0
	libe2fs.so.1 => libe2fs.so.1.0
	libet.so.1 => libet.so.1.0
	libss.so.1 => libss.so.1.0

/lib# ls -l ld*
lrwxrwxrwx   1 root   root     13 [..] ld-linux.so -> ld-linux.so.1*
lrwxrwxrwx   1 root   root     17 [..] ld-linux.so.1 -> ld-linux.so.1.7.3*
-rwxr-xr-x   1 root   root  20722 [..] ld-linux.so.1.7.3*
lrwxrwxrwx   1 root   root      7 [..] ld.so -> ld.so.1*
lrwxrwxrwx   1 root   root     18 [..] ld.so.1 -> ld.so.1.7.11-1.deb*
-rwxr-xr-x   1 root   root  24580 [..] ld.so.1.7.11-1.deb*

