https://bugs.winehq.org/show_bug.cgi?id=39690
Bug ID: 39690 Summary: MAXQDA 12.0.2 installer crashes on unimplemented function ADVAPI32.dll.RegCopyTreeA (Windows Vista+ API) Product: Wine Version: 1.8-rc2 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
split off from bug 33971 (https://bugs.winehq.org/show_bug.cgi?id=33971#c2 and https://bugs.winehq.org/show_bug.cgi?id=33971#c3).
Prerequisite: Windows version set to 'Windows 7' or higher.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+msi wine msiexec -i ./MAXQDA12_Setup.msi
log.txt 2>&1
... 002c:trace:msi:ACTION_LaunchConditions Checking launch conditions ... 002c:trace:msi:MSI_EvaluateConditionW L"VersionNT >= 601" ... 002c:trace:msi:MSI_EvaluateConditionW 0 <- L"VersionNT >= 601" ... 002c:trace:msi:msi_get_property returning L"MAXQDA 12.0.2 requires Windows 7, 2008 R2 or newer to run." for property L"WIN7_TXT" ... 002c:Call user32.MessageBoxW(00000000,00174498 L"MAXQDA 12.0.2 requires Windows 7, 2008 R2 or newer to run.",7ed09f72 L"Install Failed",00000000) ret=7ec81f40 ... 002c:err:msi:ITERATE_Actions Execution halted, action L"LaunchConditions" returned 1603 --- snip ---
The actual problem (crash in custom action):
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+msi wine msiexec -i ./MAXQDA12_Setup.msi
log.txt 2>&1
... 002e:trace:msi:ACTION_CustomAction Handling custom action L"SetDefaultCA" (41 L"ExternCADLL" L"SetDefaultF") 002e:trace:msi:HANDLE_CustomType1 Calling function L"SetDefaultF" from L"C:\users\focht\Temp\msid3ce.tmp" ... 003b:trace:msi:ACTION_CallDllFunction calling L"SetDefaultF" ... 003b:Call msi.MsiRecordSetStringA(00000005,00000000,005a9da0 "SetDefaultF: SetDefaultF Initialized.") ret=0055f977 ... 003b:Call advapi32.RegOpenKeyExA(80000001,00205230 "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mex",00000000,000f003f,00dbe474) ret=0055777c 003b:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=0055777c ... 003b:Call advapi32.RegOpenKeyExA(80000001,001ea4c0 "SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.",00000000,000f003f,00dbe474) ret=00557a62 003b:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=00557a62 ... 003b:Call advapi32.RegOpenKeyExA(80000001,001ea548 "Software\Classes",00000000,000f003f,00dbe424) ret=00557197 003b:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=00557197 003b:Call advapi32.RegDeleteKeyA(000000d0,00dbe4b8 ".mex_Bckp") ret=005571b5 003b:Ret advapi32.RegDeleteKeyA() retval=00000002 ret=005571b5 003b:Call advapi32.RegCreateKeyExA(000000d0,00dbe4b8 ".mex_Bckp",00000000,00000000,00000000,000f003f,00000000,00dbe420,00000000) ret=005571da 003b:Ret advapi32.RegCreateKeyExA() retval=00000000 ret=005571da 003b:trace:seh:raise_exception code=80000100 flags=1 addr=0x7bc64deb ip=7bc64deb tid=003b 003b:trace:seh:raise_exception info[0]=005a5e3c 003b:trace:seh:raise_exception info[1]=005a5de4 wine: Call from 0x7bc64deb to unimplemented function ADVAPI32.dll.RegCopyTreeA, aborting ... Unhandled exception: unimplemented function ADVAPI32.dll.RegCopyTreeA called in 32-bit code (0x7bc64deb). ... Backtrace: =>0 0x7bc64deb stub_entry_point+0x3f(dll="ADVAPI32.dll", name="RegCopyTreeA", ret_addr=0x5571fd) [/home/focht/projects/wine/wine.repo/src/dlls/ntdll/loader.c:214] in ntdll (0x00dbe3f4) 1 0x005c000f (0x00dbe444) 2 0x00557b16 in msid3ce.tmp (+0x7b15) (0x00dbe86c) 3 0x7ec925eb CUSTOMPROC_wrapper+0xa() in msi (0x00dbe878) 4 0x7ec9281c ACTION_CallDllFunction+0x22e(guid=0x1ea38c) [/home/focht/projects/wine/wine.repo/src/dlls/msi/custom.c:594] in msi (0x00dbe9c8) 5 0x7ec92a88 DllThread+0x7b(arg=0x1ea38c) [/home/focht/projects/wine/wine.repo/src/dlls/msi/custom.c:629] in msi (0x00dbea18) 6 0x7bc97b64 call_thread_func_wrapper+0xb() in ntdll (0x00dbea28) ... 0x7bc64deb stub_entry_point+0x3f [/home/focht/projects/wine/wine.repo/src/dlls/ntdll/loader.c:214] in ntdll: subl $4,%esp 214 for (;;) RtlRaiseException( &rec ); Modules: Module Address Debug info Name (80 modules) PE 550000- 5b8000 Export msid3ce.tmp PE 10000000-1002b000 Deferred msid3a5.tmp ELF 7b800000-7ba73000 Deferred kernel32<elf> -PE 7b820000-7ba73000 \ kernel32 ELF 7bc00000-7bd07000 Dwarf ntdll<elf> -PE 7bc30000-7bd07000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ... Threads: process tid prio (all id:s are in hex) ... 0000002d (D) C:\windows\system32\msiexec.exe 0000003b 0 <== 0000002e 0 --- snip ---
MSDN: https://msdn.microsoft.com/en-us/en-en/library/windows/desktop/aa379768%28v=...
$ sha1sum MAXQDA12_Setup.msi 150a4de47826de0a368f065a9436b85b5ec29e49 MAXQDA12_Setup.msi
$ du -sh MAXQDA12_Setup.msi 100M MAXQDA12_Setup.msi
$ wine --version wine-1.8-rc2
Regards
https://bugs.winehq.org/show_bug.cgi?id=39690
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://www.maxqda.com/downl | |oad/MAXQDA12_Setup.msi
https://bugs.winehq.org/show_bug.cgi?id=39690
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39690
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 53074 --> https://bugs.winehq.org/attachment.cgi?id=53074 stub
https://bugs.winehq.org/show_bug.cgi?id=39690
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=39690
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=39690
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/advapi32-RegCo | |pyTree
https://bugs.winehq.org/show_bug.cgi?id=39690
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6b7c576bc5abd8091ba6c41c28f | |92e91e380de4f Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com --- Fixed for me by https://source.winehq.org/git/wine.git/commitdiff/6b7c576bc5abd8091ba6c41c28....
There's a later crash when importing the license file, but that appears unrelated to this and should be a new issue.
https://bugs.winehq.org/show_bug.cgi?id=39690
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.5.
https://bugs.winehq.org/show_bug.cgi?id=39690
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.maxqda.com/downl |https://web.archive.org/web |oad/MAXQDA12_Setup.msi |/20200401203543/http://www. | |maxqda.de/updates/12/MAXQDA | |12_Setup.msi