java/lang/StackOverflowError Problem

"Arnaud Riess" <[email protected]> Mon, 5 May 2008 17:23:07 +0200
Newsgroups gmane.comp.java.vm.kaffe.general
Message-ID <[email protected]>
--===============1215635660==
Content-Type: multipart/alternative; 
	boundary="----=_Part_14629_27000181.1210000987999"

------=_Part_14629_27000181.1210000987999
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I successfully cross-compiled Kaffe 1.1.6 for the ARM9 (kernel 2.6.24 gcc
4.1.2) architecture in order to use Tomcat. It took me several days but now
almost everything is OK! My only problem is taht I'm not able to run a
simple Hello World (Kaffe abort with a java/lang/StackOverflowError). I know
that there are other posts on the list but nothing helped me.

# java -classpath . HelloWorld
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/StackOverflowError
This error may occur because the stack size is not sufficient.
Try to increase the stack size using 'ulimit -s' or with the '-ss'
option on kaffe.
Aborted


# java -fullversion
java full version "kaffe-1.4.2"

kaffe VM "1.1.6"

Copyright (c) 1996-2005 Kaffe.org project contributors (please see
  the source code for a full list of contributors).  All rights reserved.
Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.

The Kaffe virtual machine is free software, licensed under the terms of
the GNU General Public License.  Kaffe.org is a an independent, free
software
community project, not directly affiliated with Transvirtual Technologies,
Inc.  Kaffe is a Trademark of Transvirtual Technologies, Inc.  Kaffe comes
with ABSOLUTELY NO WARRANTY.

Engine: Interpreter   Version: 1.1.6   Java Version: 1.4
Heap defaults: minimum size: 5 MB, maximum size: unlimited
Stack default size: 64 KB
Configuration/Compilation options:
)  Compile date     : Wed Apr 30 16:17:59 CEST 2008
  Compile host     : linux-ek0j
  Install prefix   : /usr/local/kaffe-arm
  Thread system    : unix-pthreads
  Garbage Collector: kaffe-gc
  CC               : arm-v4t-linux-gnueabi-gcc
  CFLAGS           : -g -O2 -Wall -W -Wextra -fsigned-char
-fno-omit-frame-pointer -pthread -DENABLE_BINRELOC
  LDFLAGS          :
  ChangeLog head   : 2005-09-20  Dalibor Topic  <[email protected]>

Has anybody an idea?

Thanks a lot in advance,

Arnaud

------=_Part_14629_27000181.1210000987999
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,<br><br>I successfully cross-compiled Kaffe 1.1.6 for the ARM9 (kernel 2.6.24 gcc 4.1.2) architecture in order to use Tomcat. It took me several days but now almost everything is OK! My only problem is taht I&#39;m not able to run a simple Hello World (Kaffe abort with a java/lang/StackOverflowError). I know that there are other posts on the list but nothing helped me.<br>
<br># java -classpath . HelloWorld<br>Internal error: caught an unexpected exception.<br>Please check your CLASSPATH and your installation.<br>java/lang/StackOverflowError<br>This error may occur because the stack size is not sufficient.<br>
Try to increase the stack size using &#39;ulimit -s&#39; or with the &#39;-ss&#39;<br>option on kaffe.<br>Aborted<br><br><br># java -fullversion<br>java full version &quot;kaffe-1.4.2&quot;<br><br>kaffe VM &quot;1.1.6&quot;<br>
<br>Copyright (c) 1996-2005 Kaffe.org project contributors (please see<br>&nbsp; the source code for a full list of contributors).&nbsp; All rights reserved.<br>Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.<br><br>
The Kaffe virtual machine is free software, licensed under the terms of<br>the GNU General Public License.&nbsp; Kaffe.org is a an independent, free software<br>community project, not directly affiliated with Transvirtual Technologies,<br>
Inc.&nbsp; Kaffe is a Trademark of Transvirtual Technologies, Inc.&nbsp; Kaffe comes<br>with ABSOLUTELY NO WARRANTY.<br><br>Engine: Interpreter&nbsp;&nbsp; Version: 1.1.6&nbsp;&nbsp; Java Version: 1.4<br>Heap defaults: minimum size: 5 MB, maximum size: unlimited<br>
Stack default size: 64 KB<br>Configuration/Compilation options:<br>)&nbsp; Compile date&nbsp;&nbsp;&nbsp;&nbsp; : Wed Apr 30 16:17:59 CEST 2008<br>&nbsp; Compile host&nbsp;&nbsp;&nbsp;&nbsp; : linux-ek0j<br>&nbsp; Install prefix&nbsp;&nbsp; : /usr/local/kaffe-arm<br>&nbsp; Thread system&nbsp;&nbsp;&nbsp; : unix-pthreads<br>
&nbsp; Garbage Collector: kaffe-gc<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : arm-v4t-linux-gnueabi-gcc<br>&nbsp; CFLAGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : -g -O2 -Wall -W -Wextra -fsigned-char -fno-omit-frame-pointer -pthread -DENABLE_BINRELOC<br>&nbsp; LDFLAGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :<br>&nbsp; ChangeLog head&nbsp;&nbsp; : 2005-09-20&nbsp; Dalibor Topic&nbsp; &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; <br>
<br>Has anybody an idea?<br><br>Thanks a lot in advance,<br><br>Arnaud<br>

------=_Part_14629_27000181.1210000987999--


--===============1215635660==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

--===============1215635660==--