https://bugs.winehq.org/show_bug.cgi?id=44115
Bug ID: 44115 Summary: vcrun2012's vcredist_arm.exe crashes in riched20::isurlneutral() Product: Wine Version: 2.21 Hardware: arm OS: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
Crashes on start, in riched20: Backtrace: =>0 0xad0b7c40 isurlneutral+0x14() in riched20 (0x00000000) 1 0xad0b7c38 isurlneutral+0xb() in riched20 (0x00000000) 2 0xad0baec4 ME_UpdateLinkAttribute+0x12b(editor=(nil), start=<is not available>, nChars=0xad0fa000) [/home/austin/wine-git/dlls/riched20/editor.c:5296] in riched20 (0x00000000) 3 0x00000002 (0x00000000) 0xad0b7c40 isurlneutral+0x14 in riched20: ldrh ip, [r2, r3]
https://bugs.winehq.org/show_bug.cgi?id=44115
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 59836 --> https://bugs.winehq.org/attachment.cgi?id=59836 backtrace
https://bugs.winehq.org/show_bug.cgi?id=44115
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 59837 --> https://bugs.winehq.org/attachment.cgi?id=59837 debug trace
https://bugs.winehq.org/show_bug.cgi?id=44115
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #3 from André H. nerv@dawncrow.de --- your debug trace has no crash, but another interesting failure:
002e:Call KERNEL32.CreateFileW(ab77ed28 L"F:\home\austin\vcredist_arm.exe",80000000,00000001,00000000,00000003,08000080,00000000) ret=0042410d 002e:Ret KERNEL32.CreateFileW() retval=00000068 ret=0042410d 002e:Call KERNEL32.ReadFile(00000068,ab37f780,00000040,ab37f738,00000000) ret=00424159 002e:Ret KERNEL32.ReadFile() retval=00000001 ret=00424159 002e:Call KERNEL32.SetFilePointerEx(00000068,ab3b4a9c,00000100,00000000,00000000) ret=004241b1 002e:Ret KERNEL32.SetFilePointerEx() retval=00000000 ret=004241b1 002e:Call KERNEL32.GetLastError() ret=004241b9 002e:Ret KERNEL32.GetLastError() retval=00000057 ret=004241b9 002e:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0040938c "Failed to seek to NT header.",ffffffff,00000000,00000000) ret=0043a3bf 002e:Ret KERNEL32.MultiByteToWideChar() retval=0000001d ret=0043a3bf 002e:Call ntdll.RtlAllocateHeap(ab750000,00000008,0000003a) ret=0043c235 002e:Ret ntdll.RtlAllocateHeap() retval=ab77e220 ret=0043c235 002e:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0040938c "Failed to seek to NT header.",ffffffff,ab77e220,0000001d) ret=0043a443
I also wonder why there is a SetFilePointerEx trace with 5 args...
https://bugs.winehq.org/show_bug.cgi?id=44115
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20160109084647/http://down | |load.microsoft.com/download | |/1/6/B/16B06F60-3B20-4FF2-B | |699-5E9B7962F9AE/VSU4/vcred | |ist_arm.exe Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce this with current Wine 5.9, assuming fixed. Reopen if still present.
@André
--- quote --- I also wonder why there is a SetFilePointerEx trace with 5 args... --- quote ---
That's more a secondary issue due to relay tracing, unrelated to original crash. The second parameter is int64/LARGE_INTEGER. Relay thunk parameter handling was partially rewritten in between Wine 2.22 and 3.0 release so it might have been fixed by one of following commits:
* https://source.winehq.org/git/wine.git/commitdiff/8c1bb2aa61abd8a6458c446efa... ("ntdll: Display floating point arguments in relay debugging on i386 and x86-64.")
* https://source.winehq.org/git/wine.git/commitdiff/5e3534ee411a8c5baea5022705... ("ntdll: Fix handling of floating point arguments in relay debugging on ARM.")
* https://source.winehq.org/git/wine.git/commitdiff/3e26caf0d85caa4256edb011a6... ("ntdll: Avoid the strd ARM instruction.")
--- snip --- hikey960:~$ uname -a Linux hikey960 4.20.0-rc4+ #1 SMP PREEMPT Mon Dec 3 12:01:56 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
hikey960:~$ file $(which wine) /home/focht/projects/wine/mainline-install-arm/bin/wine: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=4b81f6c087e8f3a1356432b003f7683506559e43, with debug_info, not stripped
hikey960:~$ wine ./vcredist_arm.exe
hikey960:~$ diff -rq wineprefix-arm32-clean/drive_c/ .wine/drive_c/
Only in .wine/drive_c/ProgramData: Package Cache Only in .wine/drive_c/users/focht/Temp: dd_vcredist_arm_20200525110102.log Only in .wine/drive_c/users/focht/Temp: dd_vcredist_arm_20200525110102_0_vcRuntimeMinimum_arm.log Only in .wine/drive_c/users/focht/Temp: dd_vcredist_arm_20200525110102_1_vcRuntimeAdditional_arm.log Only in .wine/drive_c/windows: Installer Files wineprefix-arm32-clean/drive_c/windows/system32/atl110.dll and .wine/drive_c/windows/system32/atl110.dll differ Files wineprefix-arm32-clean/drive_c/windows/system32/msvcp110.dll and .wine/drive_c/windows/system32/msvcp110.dll differ Files wineprefix-arm32-clean/drive_c/windows/system32/msvcr110.dll and .wine/drive_c/windows/system32/msvcr110.dll differ Only in .wine/drive_c/windows/system32: vcamp110.dll Only in .wine/drive_c/windows/system32: vccorlib110.dll Files wineprefix-arm32-clean/drive_c/windows/system32/vcomp110.dll and .wine/drive_c/windows/system32/vcomp110.dll differ --- snip ---
$ sha1sum vcredist_arm.exe dc9850bb24ca10160e33fc37590a2dc689827acf vcredist_arm.exe
$ du -sh vcredist_arm.exe 1.4M vcredist_arm.exe
$ wine --version wine-5.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=44115
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.10.