BZ #120: Java_java_lang_VMThread_isInterrupted(JNIEnv*, java_handle_t*): Assertion `t != __null' failed.

Status fields:

creation_ts:2009-01-05 19:42
component:threads
version:unspecified
rep_platform:All
op_sys:All
bug_status:RESOLVED
resolution:FIXED
reporter:stefan@complang.tuwien.ac.at
The assertion is quite new -- since
<http://mips.complang.tuwien.ac.at/hg/cacao/rev/fbdc0faba7fc>. Before that it would just
crash. I have finally produced a fairly minimal testcase.

Comment #1 by stefan@complang.tuwien.ac.at on 2009-01-05 19:43:06

Created an attachment (id=56)
Testcase

Comment #2 by stefan@complang.tuwien.ac.at on 2009-01-05 19:44:10

(From update of attachment 56)
text/plain is more convenient...

Comment #3 by stefan@complang.tuwien.ac.at on 2009-01-05 19:45:13

CACAO doesn't like querying isInterrupted & friends during thread startup.

Comment #4 by stefan@complang.tuwien.ac.at on 2009-01-06 13:34:32

Created an attachment (id=57)
Testcase

getState() alone is enough...

Comment #5 by stefan@complang.tuwien.ac.at on 2009-01-06 15:22:57

This seems to only happen with the classpath build. Not too surprising because thread
creation in openjdk works very differently.

Comment #6 by stefan@complang.tuwien.ac.at on 2009-02-20 21:36:28

I will take this oneā€¦

Comment #7 by stefan@complang.tuwien.ac.at on 2009-02-22 18:51:01

Fixed for GNU classpath (at least I think so):
http://mips.complang.tuwien.ac.at/hg/cacao/rev/a62d7ef60606

Attachment id=56

date:2009-01-05 19:43
desc:Testcase
type:text/plain
download:crashCacao.java

Attachment id=57

date:2009-01-06 13:34
desc:Testcase
type:text/plain
download:crashCacao.java