<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I have been attempting to get ECL to run under
Java</FONT></DIV>
<DIV><FONT size=2>but I keep getting the error message:</FONT></DIV>
<DIV><FONT size=2>"An unrecoverable stack overflow has occurred."</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The error occurs in GC_init(); in alloc_2.c.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I am running on Windows XP (SP2) and used MS VS C++
10beta to build ECL.</FONT></DIV>
<DIV><FONT size=2>The connection from Java to C (using JNI) works
correctly</FONT></DIV>
<DIV><FONT size=2>and calling directly from C to ECL (by building an exe) works
correctly.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I have tried modifying some of the obvious parameters but
nothing works.</FONT></DIV>
<DIV><FONT size=2>Memory shouldn't be a problem, a malloc of 10,000,000 (which
is then free'd)</FONT></DIV>
<DIV><FONT size=2>before calling ECL is successful.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Any suggestions would be appreciated.</FONT></DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2>David</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>