http://bugs.winehq.org/show_bug.cgi?id=12077
Summary: Can't load DIB followed by an unhandled page fault. Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: michael@mcdonnell.dk
Created an attachment (id=11447) --> (http://bugs.winehq.org/attachment.cgi?id=11447) Last 1000 lines of WINEDEBUG="trace+all,warn+all,fixme+all" wine OUTPOST.EXE
Wine receives an unhandled page fault after trying to load a DIB (driver?):
<snip> err:dc:CreateDCW no driver found for L"dib" wine: Unhandled page fault on write access to 0x008d25cc at address 0x7bc3f51e (thread 0012), starting debugger... Unhandled exception: page fault on write access to 0x008d25cc in 32-bit code (0x7bc3f51e). </snip>
The game stops responding and has to be killed with ctrl-c. It is caused because it tries to load dib.drv instead of DIB.DRV. It can be "fixed" by renaming the file DIB.DRV, that comes with the game, to dib.drv. This, though, will result in another error.
http://bugs.winehq.org/show_bug.cgi?id=12077
--- Comment #1 from Lei Zhang thestig@google.com 2008-03-17 10:22:10 --- You should tell us what game this is and if there's a demo that has the same problem.
http://bugs.winehq.org/show_bug.cgi?id=12077
Michael Mc Donnell michael@mcdonnell.dk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't load DIB followed by |Outpost: Can't load DIB |an unhandled page fault. |followed by an unhandled | |page fault.
--- Comment #2 from Michael Mc Donnell michael@mcdonnell.dk 2008-03-17 15:25:59 ---
You should tell us what game this is and if there's a demo that has the same problem.
Sure forgot it :-)
It's Outpost by Sierra.
http://bugs.winehq.org/show_bug.cgi?id=12077
Michael Mc Donnell michael@mcdonnell.dk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Outpost: Can't load DIB |Outpost: Can't load DIB.DRV |followed by an unhandled |followed by an unhandled |page fault. |page fault.
--- Comment #3 from Michael Mc Donnell michael@mcdonnell.dk 2008-03-23 15:18:27 --- (In reply to comment #0)
The game stops responding and has to be killed with ctrl-c. It is caused because it tries to load dib.drv instead of DIB.DRV. It can be "fixed" by renaming the file DIB.DRV, that comes with the game, to dib.drv. This, though, will result in another error.
Strike that, renaming doesn't work either. This is an old 16 bit game that uses DIB.DRV to draw with. See: http://www.herdsoft.com/ti/davincie/leon8k4j.htm
This bug is related, though not a complete duplicate of: http://bugs.winehq.org/show_bug.cgi?id=7333
Would it be possible to intercept a program trying to use DIB.DRV and draw with the normal winex11 functions instead?
http://bugs.winehq.org/show_bug.cgi?id=12077
Jonathan echidnaman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |echidnaman@gmail.com
--- Comment #4 from Jonathan echidnaman@gmail.com 2008-03-31 13:57:11 --- The SimTown demo also outputs this err. A popup window pops up complaining about a lack of memory. Hitting retry causes the application to crash, and hitting just prints out the err again and brings the popup back up.
http://bugs.winehq.org/show_bug.cgi?id=12077
Jeremiah Flerchinger flerchjj@ieee.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flerchjj@ieee.org
http://bugs.winehq.org/show_bug.cgi?id=12077
--- Comment #5 from Jeremiah Flerchinger flerchjj@ieee.org 2008-09-12 00:28:38 --- Created an attachment (id=16035) --> (http://bugs.winehq.org/attachment.cgi?id=16035) Math Workshop Output
Math Workshop also has a similar error & then crashes. The output is attached.
http://bugs.winehq.org/show_bug.cgi?id=12077
Ben Klein shacklein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shacklein@gmail.com
--- Comment #6 from Ben Klein shacklein@gmail.com 2009-03-21 22:58:53 --- The Incredible Toon Machine also exhibits a problem relating to a missing DIB.DRV. According to the reference page in Comment #3, DIB.DRV is only present on win16 systems, and is essentially replaced with CreateDIBSection on win32. Some sort of wrapper around CreateDIBSection for DIB.DRV might help ...
http://bugs.winehq.org/show_bug.cgi?id=12077
--- Comment #7 from Austin English austinenglish@gmail.com 2009-09-22 13:57:58 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=12077
--- Comment #8 from Michael Mc Donnell michael@mcdonnell.dk 2009-09-22 14:37:30 --- (In reply to comment #7)
Is this still an issue in current (1.1.29 or newer) wine?
Nope I don't get the error message any more, but wine still segfaults at the same spot. I guess I should open a new bug for that instead...
http://bugs.winehq.org/show_bug.cgi?id=12077
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com 2009-09-22 14:50:18 --- (In reply to comment #8)
(In reply to comment #7)
Is this still an issue in current (1.1.29 or newer) wine?
Nope I don't get the error message any more, but wine still segfaults at the same spot. I guess I should open a new bug for that instead...
Please.
http://bugs.winehq.org/show_bug.cgi?id=12077
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2009-09-25 12:24:13 --- Closing bugs fixed in 1.1.30.