[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/35283] New: ServerSocket.bind() crashing on a gumstix (ar
From: |
peter_iai at yahoo dot com |
Subject: |
[Bug classpath/35283] New: ServerSocket.bind() crashing on a gumstix (arm processor) |
Date: |
21 Feb 2008 21:48:29 -0000 |
I'm running classpath 0.96 on a gumstix, which uses an arm processor. The code
run just fine on my x86 desktop, but crashes when I run it on the gumstix. The
VM I'm using is jamvm 1.5.0 .
It is crashing inside of gnu_java_net_VMPlainSocketImpl.c in the function
Java_gnu_java_net_VMPlainSocketImpl_bind() on this line:
elems = (*env)->GetByteArrayElements (env, addr, NULL);
Below I have pasted the java code which crashes on the gumstix along with
parameters passed to classpath and jamvm at compile time.
------------------ BEGIN output from java code ----------------
jamvm ChecksForJamVM
ENTER bind test
before bind to a specific port
Illegal instruction
------------------ BEGIN JAVA SOURCE ----------------
public void checkBind() throws IOException
{
System.out.println("ENTER bind test");
ServerSocket socket = new ServerSocket();
System.out.println("before bind to a specific port");
socket.bind(new InetSocketAddress((InetAddress)null,0xFFF1));
socket.close();
socket = new ServerSocket();
System.out.println("before bind to any port");
socket.bind(null);
socket.close();
System.out.println("EXIT bind test");
}
----------------- BEGIN CLASSPATH ./configure ------------------
./configure --prefix=/home/pabeles/gumstix/tmp
--host=arm-angstrom-linux-gnueabi --build=i686-linux
--target=arm-angstrom-linux-gnueabi --disable-alsa --disable-dssi
--disable-qt4-peer --disable-gconf-peer --disable-gtk-peer --disable-examples
--disable-plugin --with-glibj --with-ecj
----------------- BEGIN jamvm ./configure ---------------------
./configure --prefix=/home/pabeles/gumstix/tmp
--host=arm-angstrom-linux-gnueabi --build=i686-linux
--target=arm-angstrom-linux-gnueabi --disable-gtk-peer --disable-gconf-peer
--disable-plugin
--
Summary: ServerSocket.bind() crashing on a gumstix (arm
processor)
Product: classpath
Version: 0.96
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peter_iai at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35283
- [Bug classpath/35283] New: ServerSocket.bind() crashing on a gumstix (arm processor),
peter_iai at yahoo dot com <=