[Bug 30839] BSTR cache corrupts most of cached BSTR entries

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 13 10:35:48 CDT 2012


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

--- Comment #3 from Dmitry Timoshkov <dmitry at baikal.ru> 2012-06-13 10:35:48 CDT ---
(In reply to comment #1)
> As we discussed on wine-devel, this kind of tests aren't something we may
> consider a valid bug in the code. Do you want to keep it open and replace the
> test with fixing BSTR cache for the pattern used by your application or should
> we resolve it as INVALID?

An investigation shows that commenting out HeapFree() in SysFreeString()
fixes all the problems with corrupted strings in that large and complex
application I have here. So, it appears that the problem is not that BSTR
cache corrupts its entries, but that strings get corrupted because they
don't get cached.

Before closing this bug as invalid I'd like to ask: Jacek, do you have an idea
how BSTR cache could be improved so that older strings get replaced by newer
ones once the cache is full?

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