Hello

I'm running DOSEMU on Ubuntu 10.10 (AMD64). One of my application I use
crashes with an "Invalid Opcode at..." when loaded. DOSEMU and "strace"
reports the following:

!!! Illegal op f0 ff 07
==============================================================
CPU exception 0x06 err=0x00000000 cr2=0009ce54 eip=0000c02b
==============================================================
SIGILL while in vm86(): 11fe:a04b

write(4, "!!! Illegal op f0 ff 07\n", 24) = 24
write(4, "================================"..., 63) = 63
write(4, "CPU exception 0x06 err=0x0000000"..., 60) = 60
write(4, "================================"..., 63) = 63
write(4, "SIGILL while in vm86(): 11fe:a04"..., 34) = 34

DEBUG tells me, that the instruction "f0 ff 07" is "LOCK INC WORD PTR
[BX]". If I replace the LOCK prefix with a NOOP (-> "90 ff 07"), the
illegal op and SIGILL don't occurs, but the application crashes (which has
been foreseeable).

I tried every combination with "$_cpu" and "$_cpu_emu". Because I'm on
AMD64, I can't disable the CPU emulation. But even with "fullsim", the
illegal op occurs.

I tried this with the package from Ubuntu and a self compiled version from
"1.4.0.1".

Why is the LOCK prefix generating an illegal op, even in "fullsim" mode ?
Is this op not supported by design ?

If someone like to try it out, I can provide more information like
download link and install instructions for the application I use.

Andreas

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to