[kaffe] [crash] Jython 2.1 Installer vs. jthread_disable_stop

Dalibor Topic robilad@yahoo.com
Fri Jan 10 11:46:01 2003


Hi Tim,

--- Timothy Stack <stack@cs.utah.edu> wrote:

> 
> There are quite a few nested internal locks, which
> causes the assert to
> fire...  So, technically, increasing the number
> should be fine.  A
> "better" fix would be to either get rid of support
> for stop(), handle
> unlocking internal locks when a thread is stopped,
> or reduce the amount of
> nesting.

the thing that's bugging me, though, is that it
doesn't crash there in interpreter mode. Does jit3
stop threads somewhere where interpreter doesn't ?
 
> > Finally, increasing the
> > limit to 1000 leads to a core dump because of a
> stack
> > over flow exception.
> 
> A lame guess is that this is due to a cycle in the
> serialized objects and
> kaffe not being smart enough to notice.  But, I
> don't know that much about
> the serialization code (pat touched it last if we go
> the hot potato
> route).

Sound like as good guess as any. I'll see what I can
find.
 
> Btw, for me, jython takes _forever_ to open the
> installer window at 
> startup.  I don't see this behavior in the JanosVM,
> but it has some other 
> bugs when painting the window (i haven't updated to
> the current cvs yet).

Well, for me too ;) It seems to hang on a thread
trying to load some images, but it never quite
succeeds and gives up loading them eventually. Weird.

best regards,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com