[Bug 6361] New: inb, outb (and probably others) crash wine

Wine Bugs wine-bugs at winehq.org
Tue Oct 3 01:28:08 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=6361

           Summary: inb, outb (and probably others) crash wine
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-dos
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: satz at sprynet.com


I have a DOS/VM86 application that attempts to directly use the serial port's
I/O registers. Wine gets an unhandled page fault error. The fault appears to
happen on a pop %es instruction in the code winebuild adds to the dlls after the
call. It seems that that the pop %es is getting sent off into the VM86
INSTR_EmulateInstruction routine.

The failure is completely reproducible. I put together a small .exe to reproduce
the problem that simply does a few outb calls and attempts to read data via inb.
It fails on the first outb.

I have stared at this long enough to realize there is something I am missing on
how VM86 mode works how to interpret the debugging output.

Any help on aiming me in the "right" direction would be appreciated.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list