[Bug 12458] Multiple apps fail due to RichEdit ITextDocument_fnRange stub (MySQL Workbench, BlitzMaxDemo137)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 23 05:18:19 CDT 2011


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
            Version|unspecified                 |0.9.59.
            Summary|MySQL Workbench 5 aborts    |Multiple apps fail due to
                   |with                        |RichEdit
                   |NotImplementedException     |ITextDocument_fnRange stub
                   |ITextDocument.Range(Int32   |(MySQL Workbench,
                   |cp1, Int32 cp2)             |BlitzMaxDemo137)

--- Comment #8 from Anastasius Focht <focht at gmx.net> 2011-07-23 05:18:18 CDT ---

BlitzMaxDemo137 also suffers from ITextDocument_fnRange being a stub.

--- snip ---
0021:trace:richedit:CreateIRichEditOle Created 0x8d3338
0021:trace:richedit:RichEditWndProc_common exit hwnd 0x100b8 msg 043c
(EM_GETOLEINTERFACE) 0 17fa1c, unicode 1 -> 1
0021:Call ole32.IIDFromString(001823a0
L"{8CC497C0-A1DF-11ce-8098-00AA0047BE5D}",00157bb8) ret=0044aa2f
0021:Ret  ole32.IIDFromString() retval=00000000 ret=0044aa2f
0021:trace:richedit:IRichEditOle_fnQueryInterface 0x8d3338
0021:trace:richedit:IRichEditOle_fnAddRef 0x8d3338 ref = 2 
0021:trace:richedit:RichEditWndProc_common enter hwnd 0x100b8 msg 045f
(EM_GETTEXTLENGTHEX) 157ca8 0, unicode 1 
0021:fixme:richedit:ITextDocument_fnRange stub 0x8d3338 
0021:fixme:richedit:ITextDocument_fnFreeze stub 0x8d3338 
0021:trace:richedit:ME_HandleMessage EM_EXGETSEL = (0,0)
0021:trace:richedit:RichEditWndProc_common exit hwnd 0x100b8 msg 0434
(EM_EXGETSEL) 0 157cd8, unicode 1 -> 0 
0021:trace:seh:raise_exception code=c0000005 flags=0 addr=0x44b2f9 ip=0044b2f9
0021:trace:seh:raise_exception  info[0]=00000000
0021:trace:seh:raise_exception  info[1]=00000000
0021:trace:seh:raise_exception  eax=00000000 ebx=0017fb2c ecx=00000000
edx=00000000 esi=0017f940 edi=0047a8f4
0021:trace:seh:raise_exception  ebp=008cfcec esp=008cfcd0 cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00010206
0021:trace:seh:call_vectored_handlers calling handler at 0x68e798c4
code=c0000005 flags=0
0021:trace:seh:call_vectored_handlers handler at 0x68e798c4 returned 0
0021:trace:seh:call_stack_handlers calling handler at 0x7093eb69 code=c0000005
--- snip ---

The app doesn't check the HRESULT and tries to directly access ITextRange

'winetricks richedit' doesn't help here because the app wants RichEdit 4.1

--- snip ---
0021:Call user32.CreateWindowExW(00000200,0017f0b0 L"RICHEDIT50W",0017eb10
0021:Ret  user32.CreateWindowExW() retval=00000000 ret=0044a9ad 
--- snip ---

(see MSDN: http://msdn.microsoft.com/en-us/library/bb787873.aspx for info about
different richedit versions)

If you fix that bug, the app starts fine.
Selecting, compiling and running examples works fine.

$ sha1sum BlitzMaxDemo137.exe 
c9080c62687da0ba6ce57afea4494d8a8e31d7f8  BlitzMaxDemo137.exe

$ wine --version


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