https://bugs.winehq.org/show_bug.cgi?id=36444
Bug ID: 36444 Summary: ICQ 7.x crashes during post-install step Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
as the summary says...
The post-install step can be simulated by passing 'postinstall=1 hWnd=393292 PackageId=geo49 flags=48 language=en-US lspid=0' to 'icq.exe'
Trace log:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine ./install_icq77.exe >>log.txt 2>&1 ... 0046:Call msvcr90._wctime64(0046c78c) ret=31fba6fe 0046:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e5e79dc ip=7e5e79dc tid=0046 0046:trace:seh:raise_exception info[0]=00000000 0046:trace:seh:raise_exception info[1]=00000000 0046:trace:seh:raise_exception eax=00000000 ebx=7e61d000 ecx=00b5e970 edx=00000385 esi=00b5e970 edi=00b5e994 0046:trace:seh:raise_exception ebp=00b5e8f8 esp=00b5e8a0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210216 0046:trace:seh:call_stack_handlers calling handler at 0x31fd165c code=c0000005 flags=0 0046:trace:seh:call_stack_handlers handler at 0x31fd165c returned 1 0046:trace:seh:call_stack_handlers calling handler at 0x31077272 code=c0000005 flags=0 0046:trace:seh:call_stack_handlers handler at 0x31077272 returned 1 0046:trace:seh:call_stack_handlers calling handler at 0x7bc9ec0f code=c0000005 flags=0 ... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7e5e79dc). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7e5e79dc ESP:00b5e8d0 EBP:00b5e928 EFLAGS:00210216( R- -- I -A-P- ) EAX:00000000 EBX:7e61d000 ECX:00b5e9a0 EDX:00000385 ESI:00b5e9a0 EDI:7e5e859d ... Backtrace: =>0 0x7e5e79dc asctime_buf+0x17(buf="F", mstm=(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/msvcr90/../msvcrt/time.c:1266] in msvcr90 (0x00b5e928) 1 0x7e5e8056 MSVCRT__wasctime+0x70(mstm=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/msvcr90/../msvcrt/time.c:1340] in msvcr90 (0x00b5e988) 2 0x7e5e85c5 MSVCRT__wctime64+0x27(time=0x46c574) [/home/focht/projects/wine/wine.repo/src/dlls/msvcr90/../msvcrt/time.c:1445] in msvcr90 (0x00b5e9b4) 3 0x31fba6fe in mcore (+0xba6fd) (0x0046c574) 0x7e5e79dc asctime_buf+0x17 [/home/focht/projects/wine/wine.repo/src/dlls/msvcr90/../msvcrt/time.c:1266] in msvcr90: movl 0x0(%eax),%eax 1266 if (mstm->tm_sec<0 || mstm->tm_sec>59 ... --- snip ---
MSVCRT__localtime64() can return NULL 'MSVCRT_tm' (_localtime64_s -> MSVCRT_EINVAL) which gets passed down to MSVCRT__wasctime() -> asctime_buf() *boom*
Source: http://source.winehq.org/git/wine.git/blob/beeea28a5336f3a55e137070e55978a70...
$ sha1sum install_icq77.exe 7997623f1389c51f1ceee1d770d0798dbe68b4a1 install_icq77.exe
$ du -sh install_icq77.exe 16M install_icq77.exe
$ wine --version wine-1.7.18-92-gb01fc1a
Regards
https://bugs.winehq.org/show_bug.cgi?id=36444
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.oldapps.com/icq. | |php?old_icq=6824?download
https://bugs.winehq.org/show_bug.cgi?id=36444
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c18d52d346898be56239976c1b7 | |3007a06d2f38d Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/c18d52d346898be56239976c1b7...
Thanks Piotr
Regards
https://bugs.winehq.org/show_bug.cgi?id=36444
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.
https://bugs.winehq.org/show_bug.cgi?id=36444
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/icq. |https://web.archive.org/web |php?old_icq=6824?download |/20121010085836/http://down | |load.oldapps.com/ICQ/instal | |l_icq77.exe
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20121010085836/http://download.oldapps.com/ICQ/i...
https://www.virustotal.com/gui/file/b5a7df1bce14af47db87f45e2ee5c2f53408d181...
$ sha1sum install_icq77.exe 7997623f1389c51f1ceee1d770d0798dbe68b4a1 install_icq77.exe
$ du -sh install_icq77.exe 16M install_icq77.exe
Regards