[Bug 30719] New: SmartFTP 4.0 crashes on startup (crypt32 CertCreateSelfSignCertificate failure)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 18 14:53:27 CDT 2012


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

             Bug #: 30719
           Summary: SmartFTP 4.0 crashes on startup (crypt32
                    CertCreateSelfSignCertificate failure)
           Product: Wine
           Version: 1.5.4
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: crypt32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

split off from bug 13487

--- snip ---
0024:Call crypt32.CertStrToNameW(00010001,0015c5ec L"CN=SmartFTP
Client",00000003,00000000,00000000,0032f9dc,00000000) ret=00723b8e
0024:trace:crypt:CertStrToNameW (00010001, L"CN=SmartFTP Client", 00000003,
(nil), (nil), 0x32f9dc, (nil))
0024:trace:crypt:CRYPT_KeynameKeeperFromTokenW Keyname is L"CN"
0024:trace:crypt:CryptFindOIDInfo (2, 0x32f8b4, 5)
0024:trace:crypt:CryptFindOIDInfo CRYPT_OID_INFO_NAME_KEY: L"CN" 
...
0024:trace:crypt:CRYPT_GetNextValueW (L"SmartFTP Client", L"+,;\r\n", 0x32f8ac,
(nil))
0024:trace:crypt:CRYPT_ValueToRDN OID "2.5.4.3", value L"SmartFTP Client" 
...
0024:trace:crypt:CryptEncodeObjectEx returning 1
...
0024:Ret  crypt32.CertStrToNameW() retval=00000001 ret=00723bf4 
...
0024:Call advapi32.CryptAcquireContextW(0032f9e0,0129d130
L"{51BD5987-103F-42DD-9AC0-E7C13D2B7491}",00841f90 L"Microsoft Enhanced
Cryptographic Provider v1.0",00000001,00000008) ret=00723dfc
0024:trace:crypt:CryptAcquireContextW (0x32f9e0,
L"{51BD5987-103F-42DD-9AC0-E7C13D2B7491}", L"Microsoft Enhanced Cryptographic
Provider v1.0", 1, 00000008)
0024:Call rsaenh.CPAcquireContext(00162608,001626e8
"{51BD5987-103F-42DD-9AC0-E7C13D2B7491}",00000008,00162688) ret=7ea3fd12
0024:trace:crypt:RSAENH_CPAcquireContext (phProv=0x162608,
pszContainer="{51BD5987-103F-42DD-9AC0-E7C13D2B7491}", dwFlags=00000008,
pVTable=0x162688)
0024:Call advapi32.RegOpenKeyExA(80000001,0032f4d8
"Software\\Wine\\Crypto\\RSA\\{51BD5987-103F-42DD-9AC0-E7C13D2B7491}",00000000,00020019,0032f620)
ret=7d482083
...
0024:Ret  rsaenh.CPAcquireContext() retval=00000001 ret=7ea3fd12
0024:Ret  advapi32.CryptAcquireContextW() retval=00000001 ret=00723dfc
0024:Call advapi32.CryptGenKey(001625f8,00000001,04000001,0032f9f0)
ret=00723eb3
0024:trace:crypt:CryptGenKey (0x1625f8, 1, 04000001, 0x32f9f0)
0024:Call rsaenh.CPGenKey(00000003,00000001,04000001,0015c988) ret=7ea41b3d
0024:trace:crypt:RSAENH_CPGenKey (hProv=00000003, aiAlgid=1, dwFlags=04000001,
phKey=0x15c988)
0024:trace:crypt:new_key alg = "RSA_KEYX", dwKeyLen = 1024 
...
0024:Call
crypt32.CertCreateSelfSignCertificate(001625f8,0032fa2c,00000000,0032fa10,00000000,00000000,0032fa54,00000000)
ret=0072405a
0024:trace:crypt:CertCreateSelfSignCertificate (001625f8, 0x32fa2c, 00000000,
0x32fa10, (nil), (nil), (nil), (nil))
0024:Ret  crypt32.CertCreateSelfSignCertificate() retval=00000000 ret=0072405a
0024:Call KERNEL32.GetLastError() ret=004096e6
0024:Ret  KERNEL32.GetLastError() retval=00000057 ret=004096e6 
...
0024:CALL MSVCR100._CxxThrowException(<unknown, check return>) ret=78812829
0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032f990)
ret=78ac872d
0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b8393ff
ip=7b8393ff tid=0024
0024:trace:seh:raise_exception  info[0]=19930520
0024:trace:seh:raise_exception  info[1]=0032f9b4
0024:trace:seh:raise_exception  info[2]=78874578
0024:trace:seh:raise_exception  eax=7b826429 ebx=7b8b06b0 ecx=19930520
edx=0032f894 esi=0032f97c edi=0032f8f0
0024:trace:seh:raise_exception  ebp=0032f8d8 esp=0032f874 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283 
...
--- snip ---

$ du -sh SFTPMSI.exe 
15M    SFTPMSI.exe

$ sha1sum SFTPMSI.exe 
b4d672c3fc0ca279790b8927e9d57930a1bbbb60  SFTPMSI.exe

$ wine --version
wine-1.5.4-185-g6c51c1b

Regards

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