BZ #86: JSR166 TCK gets Real-time signal 28 with CACAO/OpenJDK on powerpc64

Status fields:

creation_ts:2008-07-03 14:50
component:threads
version:default branch
rep_platform:All
op_sys:Linux
bug_status:RESOLVED
resolution:FIXED
reporter:twisti@complang.tuwien.ac.at
Running the JSR166 TCK with CACAO/OpenJDK on powerpc64 results in:

$ java -cp /usr/share/java/junit4.jar:. JSR166TestCase
............Real-time signal 28

Comment #1 by twisti@complang.tuwien.ac.at on 2008-07-22 10:20:25

This also happens on x86_64 and I think it's this changeset:

http://mips.complang.tuwien.ac.at/hg/cacao/rev/46a4658ce761

Comment #2 by twisti@complang.tuwien.ac.at on 2008-07-26 17:42:45

Fixed:

http://mips.complang.tuwien.ac.at/hg/cacao/rev/4be64e6be1ec

Comment #3 by twisti@complang.tuwien.ac.at on 2008-08-06 15:59:05

It took me some time to think about it and fix other stuff, but Stefan's patch was
actually correct.  The following changeset is nearly like the original with the
difference we use the real-time signal on all Linux configurations:

http://mips.complang.tuwien.ac.at/hg/cacao/rev/62a52deb3bac

Comment #4 by stefan@complang.tuwien.ac.at on 2008-08-06 16:10:10

Ahh - I like it much better this way ;)

Unfortunately, my patch touched only one half of the equation. It sent the RT signal but
installed the handler for the previously used signal (the wrong one).