BZ #124: Unknown illegal instruction on x86_64

Status fields:

creation_ts:2009-03-20 00:47
component:vm
version:0.99.4
rep_platform:All
op_sys:Linux
bug_status:RESOLVED
resolution:INVALID
reporter:thebohemian@gmx.net
Hi,
when compiling some Java code with ECJ 3.4.1 as the compiler running on Cacao 0.99.4 and
GNU Classpath 0.98 I get the following error message.

| javac -sourcepath src/java -cp
/home/rob/oe/chinook/tmp/staging/x86_64-linux/usr/share/java/oro.jar -d build `find
src/java/org -name '*.java'`
| LOG: [0x00007fe1a505c950] md_signal_handler_sigill: Unknown illegal instruction at
0x7fe1a5072903
| LOG: [0x00007fe1a505c950] Aborting...

At this time I can only say that it does not happen if I switch to Cacao 0.99.3.

I will provide disassembler output and traces tomorrow evening.

Comment #1 by michi@complang.tuwien.ac.at on 2009-03-20 14:23:08

That is strange, it surely looks like the trap race condition we were having (Bug #85),
but that is (still) fixed in the stable branch.

I am really interested in the disassembler output of the failing illegal instruction.
Another reason for me to finish the new-trap-decoding branch.

Comment #2 by michi@complang.tuwien.ac.at on 2009-03-21 17:26:32

I have added 0.99.4 to the list of available versions in our Bugzilla and adapted this
bug accordingly.

Comment #3 by thebohemian@gmx.net on 2009-03-22 23:47:59

I tried to reproduce the problem with a VM that was build with --enable-disassembler.

The initial problem happened as part of a larger build inside an OpenEmbedded operation.

Unfortunately I was not able to get the error to occur again. ECJ (on Cacao+Classpath)
does the compilation just fine.

As such I mark this PR as INVALID. If it the problem occurs again I will reopen this and
provide disassembly output immediately.