[Bug 14827] Autocad 2005 : Multiline text edit crashes application

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 20 07:30:49 CDT 2009


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





--- Comment #9 from max at veneto.com  2009-04-20 07:30:45 ---
Just to summarize what I've found so far....
1) The problem is NOT due to richedit20. Using window's one hangs the
application about on the same way.
2) Putting some debugging message inside richedit20 code, I could see that the
problem arises only when this message gets printed :

 fixme:richedit:ME_StreamOutFlush Invalid returned written size *pcb: 0x1e5
 (485) instead of 460

The numbers can of course change.
The callback function reads some more bytes than asked ones and hangs
somewhere.
The strange stuff is that on windows it works, and the callback function is
(presumably) inside autocad code.....

3) If I make the function ME_StreamOutPrint() a no-op, the app works, of course
the rtf formatting is lost and is instead partially put inside the edited
string. No hangs anymore.

I guess it could be an OLE  problem somewhere, but not sure about. Autocad is
NOT runnable with relay enabled nor it runs under debugger because of copy
protection. I've still not found where exactly the application hangs, and
wether is inside wine or autocad itself.
If somebody could explain me how rtf editor is called by application via OLE I
could maybe find some more....
This is one of the last 3 bugs that keeps autocad away from being be a platinum
app, and the other 2 are non-blocking ones, so it would be nice to have it
solved.

Ciao

Max


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