[Bug 9178] "hello world" dos program hangs

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 19 19:00:03 CST 2007


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


Bamm Gabriana <bammzilla at gabriana.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bammzilla at gabriana.com




--- Comment #10 from Bamm Gabriana <bammzilla at gabriana.com>  2007-11-19 19:00:02 ---
I see this error in every real-mode DOS program I try to run. I have the ".exe"
extension mapped to wine in KDE. One day I downloaded a program and, thinking
it is win32 program, double-clicked it to run. Nothing happened. Tried again
several times with same result. Then to my surprise I found several instances
of the program in memory! So I killed all of them, and run the program in
Konsole, and saw this error:

Warning: unprotecting memory to allow real-mode calls.
         NULL pointer accesses will no longer be caught.

and it hangs, didn't even exit. Aha! It's a DOS program. This explains why it
is left in memory after double-clicking.

Turns out the program is fine; I ran it with no problems in DOSEmu. Would it be
possible for wine to redirect real mode DOS programs to DOSEmu? Problem is that
the ".exe" file extension is used by both DOS and Windows; I want to simply
double-click on an ".exe" file and it should just work.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list