[Bug 9742] EngineSite segfaults (Segmentation fault)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 12 16:18:42 CDT 2008


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


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #6 from Anastasius Focht <focht at gmx.net>  2008-03-12 16:18:41 ---
Hello,

the app contains brain damaged code which conflicts with wine's handling of
DIBs.
Another case of ESP being abused while accessing DIB regions (see
http://bugs.winehq.org/show_bug.cgi?id=10503 for similar problem).

With the current DIB handling, wine can't recover from X11DRV_DIB_FaultHandler
if the fault was raised while ESP being abused.

--- snip brain damage ---
push    ebp
mov     ebp, esp
..
mov     ds:esp_save, esp
mov     ds:ebp_save, ebp
..
mov     esp, esi
mov     ecx, ecx
mov     eax, [ebp]
mov     edi, [esp]
mov     ebx, eax
and     eax, 0FF00FF00h
and     ebx, 0FF00FFh
..
mov     esp, ds:esp_save
mov     ebp, ds:ebp_save
pop     ebp
..
--- snip brain damage ---

Ask Jesse Allen or whoever is working on the new DIB code for timeline of
getting the engine into official wine tree ...

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list