[Bug 36444] New: ICQ 7.x crashes during post-install step

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 10 09:13:31 CDT 2014


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 at winehq.org
          Reporter: focht at 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/beeea28a5336f3a55e137070e55978a7082559ad:/dlls/msvcrt/time.c#l1260

$ 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list