http://bugs.winehq.org/show_bug.cgi?id=31976
Bug #: 31976 Summary: sdl-mir2 crash at start with builtin wininet Product: Wine Version: 1.5.15 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
sdl-mir2 is a downloader for the Chuanqi game of SDO. http://ou.sdo.com/download/gamesv2/sdl-mir2.exe
$ sha1sum sdl-mir2.exe 9e6c411aaf7ac268396d26a6be23882a1111506d sdl-mir2.exe
sdl-mir2.exe crash at start, with below backtrace:
Backtrace: =>0 0x004057ba in sdl-mir2 (+0x57ba) (0x0077a9a8) 1 0x0040b1be in sdl-mir2 (+0xb1bd) (0x0077e948) 2 0x0040ae87 in sdl-mir2 (+0xae86) (0x0077e978) 3 0x00423f42 in sdl-mir2 (+0x23f41) (0x0077e9b4) 4 0x004240cf in sdl-mir2 (+0x240ce) (0x0077ea08) 5 0x0040613d in sdl-mir2 (+0x613c) (0x0077ea1c) 6 0x00406000 in sdl-mir2 (+0x5fff) (0x0077ea28) 7 0x7bc811a0 call_thread_func_wrapper+0xb() in ntdll (0x0077ea38) 8 0x7bc811e9 call_thread_func+0x3e(entry=0x405ff4, arg=0x4fe8e0, frame=0x77eb38) [/home/fracting/wine-git/dlls/ntdll/signal_i386.c:2522] in ntdll (0x0077eb18) 9 0x7bc8117e call_thread_entry_point+0x11() in ntdll (0x0077eb38)
+seh,+tid,+relay log shows:
0035:Call wininet.InternetReadFile(00000003,0077a9e4,00003f38,0077e92c) ret=0040b18f 0035:Call KERNEL32.WriteFile(0000005c,0077a9e4,00003f38,0077a848,00000000) ret=7e4729bc 0035:Ret KERNEL32.WriteFile() retval=00000001 ret=7e4729bc 0035:Ret wininet.InternetReadFile() retval=00000001 ret=0040b18f 0035:trace:seh:raise_exception code=c0000094 flags=0 addr=0x4057ba ip=004057ba tid=0035 0035:trace:seh:raise_exception eax=09a57b80 ebx=00000000 ecx=00000000 edx=00000000 esi=7ffd0000 edi=003d0f00 0035:trace:seh:raise_exception ebp=0077a9a8 esp=0077a94c cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00010202
`winetricks -q wininet` works around