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

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 14 09:09:37 CDT 2011


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

--- Comment #3 from Hans Leidekker <hans at meelstraat.net> 2011-10-14 09:09:37 CDT ---
(In reply to comment #2)
> 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?

I believe this is what Microsoft calls "keep-alive pooling of anonymous
connections across sessions". I remember looking for an option or registry
tweak to disable it but I came up empty.

Unloading winhttp between tests would work around the problem I guess,
but it's a bit heavy-handed. Using a different host for each test or
using authenticated connections to a single host should also work around it.

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