http://bugs.winehq.org/show_bug.cgi?id=20418
Summary: MetaTrader 5 beta installer silently exits when spawned Product: Wine Version: 1.1.31 Platform: PC URL: http://www.metaquotes.ru/files/mt5setup.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
Created an attachment (id=24225) --> (http://bugs.winehq.org/attachment.cgi?id=24225) MetaTrader 5 +crypt,+relay,+seh log (lzma compressed)
With wine-1.1.31-272-g8c743cb, when trying to starting the MetaTrader 5 beta installer, the installer silently exits. From +crypt,+relay,+seh log:
0009:Call crypt32.CryptImportPublicKeyInfo(001678e0,00010001,001680a0,0032f4fc) ret=0040b32f ... 0009:Call advapi32.CryptImportKey(001678e0,00168b88,00000114,00000000,00000000,0032f4fc) ret=7edf5578 0009:trace:crypt:CryptImportKey (0x1678e0, 0x168b88, 276, 0x0, 00000000, 0x32f4fc) 0009:Call rsaenh.CPImportKey(00000001,00168b88,00000114,00000000,00000000,00166d0c) ret=7eb9c333 0009:trace:crypt:RSAENH_CPImportKey (hProv=00000001, pbData=0x168b88, dwDataLen=276, hPubKey=00000000, dwFlags=00000000, phKey=0x166d0c) 0009:Ret rsaenh.CPImportKey() retval=00000000 ret=7eb9c333 0009:Ret advapi32.CryptImportKey() retval=00000000 ret=7edf5578 ... 0009:Ret crypt32.CryptImportPublicKeyInfo() retval=00000000 ret=0040b32f
It looks like the key import operation in rsaenh fails for some reason, causing crypt32 to fail and the installer to silently exit. The complete compressed +crypt,+relay,+seh is attached.
http://bugs.winehq.org/show_bug.cgi?id=20418
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
http://bugs.winehq.org/show_bug.cgi?id=20418
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-10-19 15:12:42 --- Confirming. The problem is that the RSA key being imported has a bit length of 2048, and the currently supported maximum is 1024.
Debugging it is harder than it needs to be due to a paucity of traces, I'll add a few and submit a patch at least for that. Fixing the other should be pretty easy, but I may leave it as an exercise for the reader depending on my time.
http://bugs.winehq.org/show_bug.cgi?id=20418
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2009-10-19 15:40:20 --- Actually, I believe the problem is that the default provider is the base provider, rather than the enhanced provider. The base provider is also limited to importing 1024 bit keys, see e.g.: http://www.vistax64.com/attachments/drivers/10741d1236816562-acos5-smart-car...
That would make this a dup of bug 11760. I'll send a patch.
*** This bug has been marked as a duplicate of bug 11760 ***
http://bugs.winehq.org/show_bug.cgi?id=20418
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2009-10-19 15:41:11 --- Rats, wrong bug number. I meant 17760 of course.
*** This bug has been marked as a duplicate of bug 17760 ***
http://bugs.winehq.org/show_bug.cgi?id=20418
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-10-19 21:25:26 --- Closing dup.
http://bugs.winehq.org/show_bug.cgi?id=20418
dino dyvazar@numericable.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dyvazar@numericable.fr
--- Comment #5 from dino dyvazar@numericable.fr 2009-10-25 11:38:15 --- here is the output when i try to install mt5 with wine 1.1.32 on jaunty64:
fixme:system:SetProcessDPIAware stub! fixme:dwmapi:DwmIsCompositionEnabled 0x33cee4 fixme:iphlpapi:NotifyAddrChange (Handle 0x241e908, overlapped 0x241e910): stub fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses fixme:shell:DllCanUnloadNow stub wine: configuration in '/home/oem/.wine' has been updated.