http://bugs.winehq.org/show_bug.cgi?id=17418
Summary: crypt32/encode tests fail with +heap enabled Product: Wine Version: 1.1.15 Platform: PC URL: http://test.winehq.org/data/6a1537c4b5037be5253c33021fda 3a02430533f7/wine_xp_ae-ub-810-heap/crypt32:encode.html OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: enhancement Priority: P2 Component: crypt32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=19486) --> (http://bugs.winehq.org/attachment.cgi?id=19486) backtrace
cert.c:227: Test failed: Expected failure cert.c:238: Test failed: Expected CRYPT_E_EXISTS, got 00000057 cert.c:295: Test failed: Expected CRYPT_E_EXISTS, got 80070005 cert.c:302: Test failed: CertAddCertificateContextToStore failed: 80070005 cert.c:308: Test failed: CertAddCertificateContextToStore failed: 80070005 cert.c:310: Test failed: Expected on output a non NULL copyContext cert.c:339: Test failed: CryptHashCertificate failed: 00000057 cert.c:342: Test failed: algID 00008004, propID 3: CertGetCertificateContextProperty failed: 00000057 cert.c:346: Test failed: CertGetCertificateContextProperty failed: 00000057 cert.c:350: Test failed: Unexpected length of hash for property: received 3341240 instead of 20 cert.c:509: Test failed: Expected 1 properties, got 0 cert.c:339: Test failed: CryptHashCertificate failed: 00000057 cert.c:342: Test failed: algID 00008003, propID 4: CertGetCertificateContextProperty failed: 00000057 cert.c:346: Test failed: CertGetCertificateContextProperty failed: 00000057 cert.c:350: Test failed: Unexpected length of hash for property: received 1617662572 instead of 20 cert.c:625: Test failed: CertGetCertificateContextProperty failed: 00000057 cert.c:626: Test failed: unexpected size 0 cert.c:1129: Test failed: CertFindCertificateInStore failed: 80092004 cert.c:1458: Test failed: Expected CERT_STORE_REVOCATION_FLAG | CERT_STORE_NO_CRL_FLAG, got 00010005 cert.c:1560: Test failed: CryptHashCertificate failed: 00000057 cert.c:1564: Test failed: CryptHashCertificate failed: 00000057 cert.c:1565: Test failed: Unexpected hash of nothing cert.c:1570: Test failed: CryptHashCertificate failed: 00000057 cert.c:1571: Test failed: Unexpected hash cert.c:1780: Test failed: CryptAcquireContext failed: 80090019 cert.c:1639: Test failed: Expected NTE_BAD_KEYSET or NTE_NO_KEY, got 00000057 cert.c:1643: Test failed: CryptGenKey failed: 00000057 fixme:crypt:CryptVerifyCertificateSignatureEx unimplemented for NULL signer cert.c:1749: Test failed: CryptExportKey failed: 00000057 wine: Unhandled page fault on read access to 0x00000001 at address 0x60967c6a (thread 0009), starting debugger... ... Backtrace: =>0 0x60967c6a CryptDestroyKey+0x2a(hKey=1) [/home/austin/wine-git/dlls/advapi32/crypt.c:928] in advapi32 (0x0032fb38) 1 0x6066f9cc testCertSigs+0xaec() [/home/austin/wine-git/dlls/crypt32/tests/cert.c:1786] in crypt32_test (0x0032fc88) 2 0x60677286 func_cert+0x1016() [/home/austin/wine-git/dlls/crypt32/tests/cert.c:1813] in crypt32_test (0x0032fdc8) 3 0x606b6b58 run_test+0x138(name="cert.c") [/home/austin/wine-git/dlls/crypt32/tests/../../../include/wine/test.h:454] in crypt32_test (0x0032fe18) 4 0x606b6d59 main+0x129(argc=<register ECX not in topmost frame>, argv=<register ECX not in topmost frame>) [/home/austin/wine-git/dlls/crypt32/tests/../../../include/wine/test.h:503] in crypt32_test (0x0032fed8) 5 0x606b7608 __wine_spec_exe_entry+0x88(peb=0x7ffdf000) [/home/austin/wine-git/dlls/winecrt0/exe_entry.c:36] in crypt32_test (0x0032ff08) 6 0x60470c98 start_process+0x98(arg=(nil)) [/home/austin/wine-git/dlls/kernel32/process.c:907] in kernel32 (0x0032ffe8) 0x60967c6a CryptDestroyKey+0x2a [/home/austin/wine-git/dlls/advapi32/crypt.c:928] in advapi32: movl 0x0(%edi),%ecx 928 if (!key->pProvider || key->pProvider->dwMagic != MAGIC_CRYPTPROV)
backtrace/output attached (+heap stripped out)
http://bugs.winehq.org/show_bug.cgi?id=17418
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|crypt32/encode tests fail |crypt32/cert tests fail with |with +heap enabled |+heap enabled
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-02-16 22:50:06 --- Adjusting summary so it doesn't look like a dup of bug 17411.
http://bugs.winehq.org/show_bug.cgi?id=17418
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2009-02-24 17:32:39 --- I'm not able to reproduce this here.
http://bugs.winehq.org/show_bug.cgi?id=17418
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #3 from Austin English austinenglish@gmail.com 2009-02-24 18:17:45 --- Hmm, can't seem to get it to reproduce either, and looking through the test data, don't see where it came from. Tried reproducing from prebuild winetest and in tree, and can't make it reappear.
Resolving worksforme, not sure if it's just well hidden or a misconfiguration on my part.
http://bugs.winehq.org/show_bug.cgi?id=17418
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2009-02-24 18:22:46 --- Closing worksforme.
FWIW, checked bug 17409, reproduced 3/3 times. Bug 17411, 3/3 times, and with your patch, 0/3 times :-).