https://bugs.winehq.org/show_bug.cgi?id=46173
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e73f5782ff38dc69e0c16752c8c | |4a591340ac22d URL| |https://web.archive.org/web | |/20190315211027/https://www | |.e-sword.net/files/setup112 | |2.exe Component|-unknown |wininet Keywords| |download, regression Regression SHA1| |5b56624a1bc6d4ff7768f15700e | |f3ef00c073d65 Summary|Used e-Sword successfully a |e-Sword v11.x (VB6 app) |few months ago, but when I |crashes on startup with |try now I get a Program |Wine 1.8 |Error. | CC| |focht@gmx.net
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
completing some fields.
It was a regression caused by commit https://source.winehq.org/git/wine.git/commitdiff/5b56624a1bc6d4ff7768f15700... ("wininet: Handle secure proxy connections inside the main loop.").
Part of Wine 1.7.19 release.
It was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/e73f5782ff38dc69e0c16752c8... ("wininet: Moved more redirect URL handling to a helper function and get rid of its maximum size assumption.").
Part of Wine 1.9.11 release.
Thanks Jacek
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/e-Sword
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./e-Sword.exe >>log.txt 2>&1 ... 0027:Call ole32.CoCreateInstanceEx(00494704,00000000,00000005,00000000,00000004,0032e434) ret=660467b1 0027:trace:ole:CoCreateInstanceEx ({8c62eeb0-4ef2-40ce-aff7-1c899ef32cbe} (nil) 5 (nil) 4 0x32e434) 0027:trace:ole:CoGetTreatAsClass ({8c62eeb0-4ef2-40ce-aff7-1c899ef32cbe},0x32e390) ... 0027:trace:ole:CoGetClassObject CLSID: {8c62eeb0-4ef2-40ce-aff7-1c899ef32cbe},IID: {00000001-0000-0000-c000-000000000046} ... 0027:trace:ole:COMPOBJ_DllList_Add L"C:\Program Files\Common Files\EzTools\sqltp50.dll" 0027:Call KERNEL32.LoadLibraryExW(0032e056 L"C:\Program Files\Common Files\EzTools\sqltp50.dll",00000000,00000008) ret=7e637077 0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf7d70a4c ip=f7d70a4c tid=0027 0027:trace:seh:raise_exception info[0]=00000000 0027:trace:seh:raise_exception info[1]=00000001 0027:trace:seh:raise_exception eax=00000063 ebx=f7f0a000 ecx=f7eeb3e0 edx=00000202 esi=0032ddf0 edi=00000001 0027:trace:seh:raise_exception ebp=0032dc58 esp=0032dc20 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 0027:trace:seh:call_stack_handlers calling handler at 0x43c026 code=c0000005 flags=0 ... 0027:Call KERNEL32.UnhandledExceptionFilter(0032d790) ret=66040f64 wine: Unhandled page fault on read access to 0x00000001 at address 0xf7d70a4c (thread 0027), starting debugger... ... Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:f7d70a4c ESP:0032dc20 EBP:0032dc58 EFLAGS:00010206( R- -- I - -P- ) EAX:00000063 EBX:f7f0a000 ECX:f7eeb3e0 EDX:00000202 ESI:0032ddf0 EDI:00000001 ... Backtrace: =>0 0xf7d70a4c strcmpiW+0x3c(str1="C:\Program Files\Common Files\EzTools\sqltp50.dll", str2=*** invalid address 0x1 ***) [/home/focht/projects/wine/mainline-src-1.8/libs/wine/string.c:32] in libwine.so.1 (0x0032dc58) 1 0x7bc50e13 find_fullname_module+0x62(name="C:\Program Files\Common Files\EzTools\sqltp50.dll") [/home/focht/projects/wine/mainline-src-1.8/dlls/ntdll/loader.c:408] in ntdll (0x0032dc98) 2 0x7bc51a82 find_dll_file+0x1b1(load_path="C:\Program Files\Common Files\EzTools;.;C:\windows\system32;C:\windows\system;C:\windows;C:\windows\system32;C:\windows;C:\windows\system32\wbem", libname=<is not available>, filename="C:\Program Files\Common Files\EzTools\sqltp50.dll", size=0x32dd80, pwm=0x32debc, handle=0x32dd84) [/home/focht/projects/wine/mainline-src-1.8/dlls/ntdll/loader.c:2179] in ntdll (0x0032dd48) 3 0x7bc550e0 load_dll+0xff(load_path="C:\Program Files\Common Files\EzTools;.;C:\windows\system32;C:\windows\system;C:\windows;C:\windows\system32;C:\windows;C:\windows\system32\wbem", libname="C:\Program Files\Common Files\EzTools\sqltp50.dll", flags=0x8, pwm=0x32debc) [/home/focht/projects/wine/mainline-src-1.8/dlls/ntdll/loader.c:2225] in ntdll (0x0032de88) 4 0x7bc56c29 LdrLoadDll+0x63(path_name=<couldn't compute location>, flags=<couldn't compute location>, libname=<couldn't compute location>, hModule=<couldn't compute location>) [/home/focht/projects/wine/mainline-src-1.8/dlls/ntdll/loader.c:2325] in ntdll (0x0032ded8) 5 0x7b854b06 load_library+0xb5(libname=0x32df58, flags=0x8) [/home/focht/projects/wine/mainline-src-1.8/dlls/kernel32/module.c:947] in kernel32 (0x0032df38) 6 0x7b854c79 LoadLibraryExW+0xc3(libnameW=<couldn't compute location>, hfile=<couldn't compute location>, flags=<couldn't compute location>) [/home/focht/projects/wine/mainline-src-1.8/dlls/kernel32/module.c:1004] in kernel32 (0x0032df78) 7 0x7bc683ae relay_call+0x39() in ntdll (0x0032dfa8) 8 0x7b82570d in kernel32 (+0x1570c) (0x0032e018) 9 0x7e637077 apartment_getclassobject+0x306(apt=0x143b88, dllpath="C:\Program Files\Common Files\EzTools\sqltp50.dll", apartment_threaded=0x1, rclsid=0x32e390, riid=0x7e6ff618, ppv=0x32e38c) [/home/focht/projects/wine/mainline-src-1.8/dlls/ole32/compobj.c:511] in ole32 (0x0032e018) 10 0x7e63a24f get_inproc_class_object+0x6e(apt=0x143b88, regdata=0x32e2c0, rclsid=0x32e390, riid=0x7e6ff618, hostifnecessary=<is not available>, ppv=0x32e38c) [/home/focht/projects/wine/mainline-src-1.8/dlls/ole32/compobj.c:2929] in ole32 (0x0032e278) 11 0x7e63cc11 CoGetClassObject+0x5bb(rclsid=<couldn't compute location>, dwClsContext=<couldn't compute location>, pServerInfo=<couldn't compute location>, iid=<couldn't compute location>, ppv=<couldn't compute location>) [/home/focht/projects/wine/mainline-src-1.8/dlls/ole32/compobj.c:3067] in ole32 (0x0032e328) 12 0x7e63e25a CoCreateInstanceEx+0x124(rclsid=<couldn't compute location>, pUnkOuter=<couldn't compute location>, dwClsContext=<couldn't compute location>, pServerInfo=<couldn't compute location>, cmq=<couldn't compute location>, pResults=<couldn't compute location>) [/home/focht/projects/wine/mainline-src-1.8/dlls/ole32/compobj.c:3304] in ole32 (0x0032e3b8) 13 0x7bc683ae relay_call+0x39() in ntdll (0x0032e3f8) 14 0x7e628ad9 in ole32 (+0x8ad8) (0x0032e478) 15 0x660467b1 in msvbvm60 (+0x467b0) (0x0032e478) 16 0x6602452e in msvbvm60 (+0x2452d) (0x0032e4b0) 17 0x009492b6 in e-sword (+0x5492b5) (0x0032e570) 18 0x0090c61e in e-sword (+0x50c61d) (0x0032e7fc) 19 0x008c8374 in e-sword (+0x4c8373) (0x0032e8d4) 20 0x007ee07a in e-sword (+0x3ee079) (0x0032f8b0) 21 0x6602ad73 in msvbvm60 (+0x2ad72) (0x0032f8bc) 22 0x004730aa in e-sword (+0x730a9) (0x0032f8cc) 23 0x6602ad50 in msvbvm60 (+0x2ad4f) (0x0032f918) 24 0x66023023 in msvbvm60 (+0x23022) (0x0032f9ec) ... 200 0x7bf01426 _start+0x35() in <wine-loader> (0x00000000) 0xf7d70a4c strcmpiW+0x3c [/home/focht/projects/wine/mainline-src-1.8/libs/wine/string.c:32] in libwine.so.1: movzwl 0x0(%edi),%eax 32 int ret = tolowerW(*str1) - tolowerW(*str2); Modules: Module Address Debug info Name (139 modules) PE 360000- 369000 Deferred tx26_wnd PE 390000- 3f7000 Deferred tx26_tls PE 400000- b8a000 Export e-sword PE 14e0000- 1614000 Deferred tx26 PE 1760000- 1a6d000 Deferred codejock.controls.unicode.v18.6.C:\windows\system32\Codejock.Controls.Unicode.v18.6.0.ocx PE 29d0000- 2bdc000 Deferred codejock.dockingpane.unicode.v18C:\windows\system32\Codejock.DockingPane.Unicode.v18.6.0.ocx PE 2cf0000- 2d03000 Deferred vsthes6 PE 2e20000- 2e57000 Deferred vsspell6 PE 10000000-1006d000 Deferred tx4ole26 PE 27580000-27685000 Deferred mscomctl PE 277b0000-27850000 Deferred mscomct2 PE 31ac0000-31aed000 Deferred combolist PE 5f400000-5f4f2000 Deferred mfc42 PE 66000000-66153000 Export msvbvm60 ELF 7b800000-7ba63000 Dwarf kernel32<elf> -PE 7b810000-7ba63000 \ kernel32 ELF 7bc00000-7bcec000 Dwarf ntdll<elf> -PE 7bc10000-7bcec000 \ ntdll ELF 7bf00000-7bf05000 Dwarf <wine-loader> ... --- snip ---
The crash was the result of heap corruption.
$ sha1sum setup1122.exe 3ac9b722312847a1dc257af9ea5b0295326c05d3 setup1122.exe
$ du -sh setup1122.exe 58M setup1122.exe
$ wine --version wine-1.9.10-116-ge73f5782ff3
Regards