http://bugs.winehq.org/show_bug.cgi?id=28038
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|wininet/tests/urlcache: |wininet/tests/urlcache: |CommitUrlCacheEntry fails |CommitUrlCacheEntry fails |sometimes |sometimes, crashes | |sometimes
--- Comment #1 from Dan Kegel dank@kegel.com 2011-09-08 10:01:51 CDT --- I ran the test overnight in a loop on a 64 bit system.
The first 36 runs were fine. The 37th run failed, but without a crash:
../../../tools/runtest -q -P wine -M wininet.dll -T ../../.. -p wininet_test.exe.so urlcache.c && touch urlcache.ok fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:wininet:GetUrlCacheEntryInfoExA Undocumented flag(s): 200 err:wininet:GetUrlCacheEntryInfoExA Reserved value was not 0 err:wininet:GetUrlCacheEntryInfoExA Reserved value was not 0 fixme:wininet:IsUrlCacheEntryExpiredA unknown flags 0xffffffff fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:wininet:URLCache_FindFirstFreeEntry Grow file err:wininet:CommitUrlCacheEntryInternal no free entries urlcache.c:598: Test failed: CommitUrlCacheEntry failed with error 112 urlcache.c:608: Test failed: DeleteUrlCacheEntryA failed with error 2 fixme:wininet:URLCache_FindFirstFreeEntry Grow file err:wininet:CommitUrlCacheEntryInternal no free entries urlcache.c:646: Test failed: CommitUrlCacheEntry failed with error 112 urlcache.c:651: Test failed: expected ERROR_INSUFFICIENT_BUFFER, got 2 urlcache.c:655: Test failed: GetUrlCacheEntryInfo failed with error 2 urlcache.c:659: Test failed: expected dwExemptDelta 864000, got 7143540 urlcache.c:666: Test failed: DeleteUrlCacheEntryA failed with error 2 fixme:wininet:URLCache_FindFirstFreeEntry Grow file err:wininet:CommitUrlCacheEntryInternal no free entries urlcache.c:678: Test failed: CommitUrlCacheEntry failed with error 112 urlcache.c:683: Test failed: expected ERROR_INSUFFICIENT_BUFFER, got 2 urlcache.c:687: Test failed: GetUrlCacheEntryInfo failed with error 2 urlcache.c:691: Test failed: expected dwExemptDelta 864000, got 7143540 urlcache.c:697: Test failed: SetUrlCacheEntryInfo failed: 2 urlcache.c:699: Test failed: GetUrlCacheEntryInfo failed with error 2 urlcache.c:712: Test failed: DeleteUrlCacheEntryA failed with error 2
The next six runs all failed with the earlier crash (but the wrong dwStructSize is a different garbage value):
../../../tools/runtest -q -P wine -M wininet.dll -T ../../.. -p wininet_test.exe.so urlcache.c && touch urlcache.ok fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:wininet:URLCache_FindFirstFreeEntry Grow file err:wininet:CommitUrlCacheEntryInternal no free entries urlcache.c:418: Test failed: CommitUrlCacheEntry failed with error 112 urlcache.c:424: Test failed: RetrieveUrlCacheEntryFile should have set last error to ERROR_INSUFFICIENT_BUFFER instead of 2 urlcache.c:429: Test failed: RetrieveUrlCacheEntryFile failed with error 2 urlcache.c:43: Test failed: RetrieveUrlCacheEntryFile: dwStructSize was 236128 urlcache.c:44: Test failed: RetrieveUrlCacheEntryFile: lpszSourceUrlName should be http://urlcachetest.winehq.org/index.html instead of <80>É^C wine: Unhandled page fault at address 0x2b486bce2cf8 (thread 01da), starting debugger... Backtrace: =>0 0x00002b486bce2cf8 in libc.so.6 (+0x133cf8) (0x000000000022f850) 1 check_cache_entry_infoA+0xd6(returnedfrom="RetrieveUrlCacheEntryFile", lpCacheEntryInfo=0x3c950) [dlls/wininet/tests/urlcache.c:45] 2 test_urlcacheA+0xa01() [dlls/wininet/tests/urlcache.c:431] 3 func_urlcache+0x8c() [dlls/wininet/tests/urlcache.c:782] 4 run_test+0x9c(name="urlcache.c") [dlls/wininet/tests/../../../include/wine/test.h:556]