http://bugs.winehq.org/show_bug.cgi?id=30839
--- Comment #3 from Dmitry Timoshkov dmitry@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?