[Bug 5671] qtracker crashes before first screen

Wine Bugs wine-bugs at winehq.org
Fri Aug 11 19:31:37 CDT 2006


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





------- Additional Comments From qingdao33122 at yahoo.com  2006-11-08 19:31 -------
Looks like stack corruption.

In dlls/gdi/dib.c search for GetDIBits.
Then search for '0x07e0'.
Comment out the following code.

#if 0
                case 16:
                    info->bmiHeader.biBitCount = 16;
                    info->bmiHeader.biCompression = BI_BITFIELDS;
                    ((PDWORD)info->bmiColors)[0] = 0xf800;
                    ((PDWORD)info->bmiColors)[1] = 0x07e0;
                    ((PDWORD)info->bmiColors)[2] = 0x001f;
                    break;
#endif    

Rebuild gdi32.dll.so and qtracker can show something ( before it crashes with a
division by zero ).

I don't know enough about dibs to fix this though.

-- 
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