Sorry for the late response, but in regards to the fact that an infinite
loop would overflow the stack, I would accept this except it is not
consistent at all. At times my program will run without the error
appearing, while other times it occurs almost immediately after beginning
the thread. Syrus, to answer some of your questions, I was able to tell,
when I moved my program over to one of our Windows98 machines. When the
error occurs on it, the box that appears gives you the 'details' option
containing the stack overflow message. Currently I am running on a single
processor Windows2k box with jdk1.3 and java3d1.2.1beta2. Today I plan on
getting the newest version of java and seeing what happens, else I'll
continue to debug my code. Thanks to both Kyle and Syrus for the feedback.
Shaun
----- Original Message -----
From: "Syrus Mesdaghi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 24, 2001 12:04 PM
Subject: Re: [JAVA3D] Program error
> Hello Shaun,
>
> What makes you believe that this is a stack overflow problem? Are you
using
> some kind of tool, or you were able to tell from the log file? The reason
> why I'm asking this is because we have came across:
>
> > Program Error
> > java.exe has generated errors and
> > will be closed by Windows.
> > You will need to restart the program. ...
> Of course there are many things that could cause an app to crash, but we
may
> be able to find some thing in common. Are you using a dual processor
> machine? If so, can you try it on a single processor machine? Have you
tried
> different versions of j3d? You should try jdk1.3.1beta. Kelvin Chung has
> forward a bug to the JDK team and they are working on a crash that we had
> submitted to them. Please post more info about the crash and what your app
> is doing (that's if j3d team hasn't got all those info from you already
> :) ).
>
>
> Take Care,
> --------------------------------------------------------------------------
> Syrus Mesdaghi Fullsail Real World Education
> 3D Gaming Instructor Winter Park, FL
> [EMAIL PROTECTED] www.fullsail.com
> --------------------------------------------------------------------------
>
> ----- Original Message -----
> From: "Kyle Wayne Kelly" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 24, 2001 2:05 AM
> Subject: Re: [JAVA3D] Program error
>
>
> > Any infinite recursive loop will overflow the stack, no matter how large
> the
> > stack is.
> >
> > Kyle Wayne Kelly
> > Computer Science Student
> > University of New Orleans
> > http://www.cs.uno.edu/~kkelly
> > ----- Original Message -----
> > From: "Shaun Shepherd" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 23, 2001 10:02 AM
> > Subject: [JAVA3D] Program error
> >
> >
> > > Hi,
> > > I'm currently running a driving program in a loop that updates the
> > scene
> > > every 10 milliseconds via a thread. In this loop I am updating
several
> > > transform3D's as well as a few counters and trig calculations. I run
the
> > > (driving) program using the mainframe class and it works just fine.
> The
> > > problem is, as I am driving around my course, the program will freeze
> and
> > a
> > > warning box will appear with the following:
> > >
> > > Program Error
> > > java.exe has generated errors
> and
> > > will be closed by Windows.
> > > You will need to restart the
> > > program.
> > >
> > > An error log is being created.
> > >
> > > It then terminates the application. The only thing I can find about
> this
> > is
> > > it's a stack overflow problem. I use the following params:
> > > java -Xmx128M -ss1000k filename but changing the stack allocation
> > doesn't
> > > solve the problem. I am running on windows2000 but have been able to
> > > reproduce the error on Windows98. If anyone has experienced this
before
> > or
> > > knows anything I could try, I would greatly appreciate it.
> > >
> > >
> > > Shaun
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff JAVA3D-INTEREST". For general help, send
email
> to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> >
> >
>
===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff JAVA3D-INTEREST". For general help, send email
to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".