http://bugs.winehq.org/show_bug.cgi?id=16792
Summary: BaseHead 1.7 crashes while moving window around Product: Wine Version: 1.1.12 Platform: Other URL: http://www.baseheadinc.com/downloads/47?task=download OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://www.winehq.org/pipermail/wine-devel/2009-January/071730.html was a post from an ISV who mentioned that his app "runs pretty chunky" in Wine, so I tried it out. He mentioned that it needed flash, so I did 'winetricks flash' first.
First problem: The installer uses a tiny, tiny font, which looks like bug 16264.
Second problem: playing around with the app's window, trying to position it right on my laptop's 1024x768 screen, I got the following crash:
Unhandled exception: page fault on read access to 0x00000148 in 32-bit code (0x7 eb1e72b). Backtrace: =>0 0x7eb1e72b PEN_SelectObject+0x2b(handle=0x64, hdc=0x26f8) [dlls/gdi32/pen.c:238] in gdi32 (0x0032f9d4) 1 0x7eb09d8c SelectObject+0xac(hdc=0x26f8, hObj=?) [dlls/gdi32/gdiobj.c:1129] in gdi32 (0x0032fa04) 2 0x734759fb in msvbvm60 (+0x559fb) (0x00b9410c) 0x7eb1e72b PEN_SelectObject+0x2b [dlls/gdi32/pen.c:238] in gdi32: movl 0x148(%eax),%edx 238 if (dc->funcs->pSelectPen && !dc->funcs->pSelectPen( dc->physDev, ha ndle ))
http://bugs.winehq.org/show_bug.cgi?id=16792
--- Comment #1 from Dan Kegel dank@kegel.com 2009-01-04 11:42:40 --- And if I add dc->funcs && to line 238 of gdi32/pen.c, it eventually crashes with
=>0 X11DRV_SelectPen+0x3c(physDev=(nil), hpen=0x64) [dlls/winex11.drv/pen.c:66] in winex11 (0x0032f9b4) 1 PEN_SelectObject+0x48(handle=0x64, hdc=0x163c) [dlls/gdi32/pen.c:238] in gdi32 2 SelectObject+0xac(hdc=0x163c, hObj=?) [dlls/gdi32/gdiobj.c:1129] in gdi32
so I added dc->funcs && dc->physDev &&. Seems to avoid the crash. I'll attach the patch. No idea if it's right, or why those would be null.
http://bugs.winehq.org/show_bug.cgi?id=16792
--- Comment #2 from Dan Kegel dank@kegel.com 2009-01-04 11:43:54 --- Created an attachment (id=18474) --> (http://bugs.winehq.org/attachment.cgi?id=18474) Trivial patch to avoid crash
http://bugs.winehq.org/show_bug.cgi?id=16792
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2010-06-19 10:17:54 --- I can't get BaseHead 2.2 to crash in gdi32. Do you still retain a copy of BaseHead 1.7?
http://bugs.winehq.org/show_bug.cgi?id=16792
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #4 from Austin English austinenglish@gmail.com 2012-08-29 13:57:58 CDT --- Nor can I with 2.8, marking WORKSFORME.
http://bugs.winehq.org/show_bug.cgi?id=16792
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2012-09-18 19:07:48 CDT --- Closing.