[Bug 17813] New: Net unittests for chromium fail under Wine
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Mar 21 21:12:08 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=17813
Summary: Net unittests for chromium fail under Wine
Product: Wine
Version: 1.1.17
Platform: Other
URL: http://chromium.org
OS/Version: other
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
To reproduce, either build net_unittests.exe yourself given the sources
at chromium.org, or use my prebuilt executable:
wget http://kegel.com/wine/net_unittests.tgz
tar -tzvf net_unittests.tgz
wine chrome/Debug/net_unittests.exe
This crashes, and fails to complete, on two tests related to NTLM.
You can bypass the two crashy tests by giving the flag
--gtest_filter=-HttpNetworkTransactionTest.NTLMAuth1:HttpNetworkTransactionTest.NTLMAuth2:URLRequestTest.FileDirCancelTest
Then it runs to completion with 41 further failures:
[ FAILED ] DESTest.KnownAnswerTest1
[ FAILED ] DESTest.KnownAnswerTest2
[ FAILED ] Escape.UnescapeAndDecodeURLComponent
[ FAILED ] NetUtilTest.GetFileNameFromCD
[ FAILED ] NetUtilTest.IDNToUnicode
[ FAILED ] NetUtilTest.GetSuggestedFilename
[ FAILED ] SSLClientSocketTest.Connect
[ FAILED ] SSLClientSocketTest.ConnectExpired
[ FAILED ] SSLClientSocketTest.ConnectMismatched
[ FAILED ] SSLClientSocketTest.Read
[ FAILED ] SSLClientSocketTest.Read_SmallChunks
[ FAILED ] SSLClientSocketTest.Read_Interrupted
[ FAILED ] ProxyScriptFetcherTest.HttpMimeType
[ FAILED ] ProxyScriptFetcherTest.HttpStatusCode
[ FAILED ] ProxyScriptFetcherTest.ContentDisposition
[ FAILED ] ProxyScriptFetcherTest.TooLarge
[ FAILED ] ProxyScriptFetcherTest.Hang
[ FAILED ] URLRequestTest.ProxyTunnelRedirectTest
[ FAILED ] URLRequestTest.UnexpectedServerAuthTest
[ FAILED ] URLRequestTest.GetTest_NoCache
[ FAILED ] URLRequestTest.GetTest
[ FAILED ] URLRequestTest.QuitTest
[ FAILED ] URLRequestTest.CancelTest2
[ FAILED ] URLRequestTest.CancelTest3
[ FAILED ] URLRequestTest.CancelTest4
[ FAILED ] URLRequestTest.CancelTest5
[ FAILED ] URLRequestTest.PostTest
[ FAILED ] URLRequestTest.PostEmptyTest
[ FAILED ] URLRequestTest.PostFileTest
[ FAILED ] URLRequestTest.ResponseHeadersTest
[ FAILED ] URLRequestTest.BZip2ContentTest
[ FAILED ] URLRequestTest.BZip2ContentTest_IncrementalHeader
[ FAILED ] URLRequestTest.ContentTypeNormalizationTest
[ FAILED ] URLRequestTest.RestrictRedirects
[ FAILED ] URLRequestTest.NoUserPassInReferrer
[ FAILED ] URLRequestTest.CancelRedirect
[ FAILED ] URLRequestTest.VaryHeader
[ FAILED ] URLRequestTest.BasicAuth
[ FAILED ] URLRequestTest.Post302RedirectGet
[ FAILED ] URLRequestTest.Post307RedirectPost
[ FAILED ] HTTPSRequestTest.HTTPSGetTest
To dissect this into individual bugs, run with options like
wine chrome/Debug/net_unittests.exe --gtest_filter=DESTest.KnownAnswerTest1
That one seems to be in advapi32 and rsaenh:
000b:Call
advapi32.CryptAcquireContextW(0032fb7c,00000000,00000000,00000001,f0000000)
ret=005d7bff
...
000b:Call rsaenh.CPAcquireContext(00151e60,00000000,f0000000,00151ee0)
ret=7eb3bcaa
000b:Call advapi32.GetUserNameA(0032f7f4,0032f6ec) ret=7dcd7062
000b:Ret advapi32.GetUserNameA() retval=00000001 ret=7dcd7062
000b:Ret rsaenh.CPAcquireContext() retval=00000001 ret=7eb3bcaa
000b:Ret advapi32.CryptAcquireContextW() retval=00000001 ret=005d7bff
000b:Call
advapi32.CryptImportKey(00151e50,0032fb54,00000014,00000000,00000000,0032fb70)
ret=005d7c63
000b:Call
rsaenh.CPImportKey(00000001,0032fb54,00000014,00000000,00000000,00150ecc)
ret=7eb38f83
000b:Ret rsaenh.CPImportKey() retval=00000000 ret=7eb38f83
000b:Ret advapi32.CryptImportKey() retval=00000000 ret=005d7c63
000b:Call advapi32.CryptReleaseContext(00151e50,00000000) ret=005d7d1a
000b:Call rsaenh.CPReleaseContext(00000001,00000000) ret=7eb3a24d
000b:Ret rsaenh.CPReleaseContext() retval=00000001 ret=7eb3a24d
This looks like it might be a tidy little goldmine of new testcases.
--
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