[Bug 28712] winhttp/notification.ok: invalid read in check_notification

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 14 08:30:22 CDT 2011


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

--- Comment #2 from Dan Kegel <dank at kegel.com> 2011-10-14 08:30:22 CDT ---
Looks like it's because the Sleep(2000) is insufficient when
running under valgrind.  
If I comment out the part before the sleep, the error goes away.
If I comment out the part after the sleep, the error goes away.
If I change it to Sleep(20000), the error goes away.

Is there a more reliable way to wait for the entry to be evicted from the
cache?

This isn't quite a valgrind-only issue; the same race condition could happen
on a system that is slow or busy for other reasons.

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