Yard sale windows app fun: Lotus SmartSuite '96. 1-2-3 works, WordPro doesn't.

Dan Kegel dank at kegel.com
Sat Jul 17 17:23:21 CDT 2004


Alexandre Julliard wrote:
> Dan Kegel <dank at kegel.com> writes:
> 
>> ...
>>That failed immediately, so quickly that
>>   WINEDEBUG=+all wine wordpro.exe
>>was practical to run.  Here's part of its output.  It looks as if
>>the very first instruction accesses a null pointer in a strange
>>way.
> 
> 
> Most likely the dll was corrupted during install. Try with current
> CVS, there's a bug with SetEndOfFile in 20040615 that probably
> explains the problem.

WordPro '97 gets further now (with CVS as of 17 July), so I guess
that's progress.  It still crashes before putting up a UI.
Here's the (possibly) interesting bit of +all.  It looks
like it's trying to load resource 0xfa4 of type 10 (RT_RCDATA) from wpENc70.dll,
failing, and crashing.  Looking at that DLL with Resource Hacker, I see
RCData resources of id fa0 and fa1 (4000 and 4001), but not fa4 (4004).
However, looking at that DLL *on the CD-ROM* with Resource Hacker, I see
RCData resources of id 4002 - 4009!  So perhaps the installer still isn't
running properly.

I suspect the installer decompresses the dll's while copying (but then,
why would Resource Hacker be able to read them?), but oddly
wpenc70.dll is smaller after installation.  Here are the sizes:

[dank at dual wordpro]$ for a in wp*.dll; do ls -l $a /mnt/cdrom/lotus/wordpro/$a; done
-r-xr-xr-x    1 root     root         5120 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wp12enn1.dll
-rw-rw-r--    1 dank     dank         2560 Jun 19 15:43 wp12enn1.dll
-r-xr-xr-x    1 root     root         4096 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wpamienn.dll
-rw-rw-r--    1 dank     dank        10752 Jun 19 15:42 wpamienn.dll
ls: /mnt/cdrom/lotus/wordpro/wpbdrc70.dll: No such file or directory
-rw-rw-r--    1 dank     dank       589312 Jun 19 15:42 wpbdrc70.dll
ls: /mnt/cdrom/lotus/wordpro/wpbenc70.dll: No such file or directory
-rw-rw-r--    1 dank     dank       336896 Jun 19 15:42 wpbenc70.dll
-r-xr-xr-x    1 root     root         3584 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wpdcaenn.dll
-rw-rw-r--    1 dank     dank        10752 Jun 19 15:42 wpdcaenn.dll
-r-xr-xr-x    1 root     root        16384 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wpdren70.dll
-rw-rw-r--    1 dank     dank        24064 Jun 19 15:42 wpdren70.dll
-r-xr-xr-x    1 root     root      1606144 Jan 28  1997 /mnt/cdrom/lotus/wordpro/wpenc70.dll
-rw-rw-r--    1 dank     dank       760832 Jun 19 15:42 wpenc70.dll
-r-xr-xr-x    1 root     root        11776 Jan 15  1997 /mnt/cdrom/lotus/wordpro/wphtmenn.dll
-rw-rw-r--    1 dank     dank         3584 Jun 19 15:43 wphtmenn.dll
-r-xr-xr-x    1 root     root         2560 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wporgenn.dll
-rw-rw-r--    1 dank     dank         3584 Jun 19 15:43 wporgenn.dll
-r-xr-xr-x    1 root     root         7168 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wpregchn.dll
-rw-rw-r--    1 dank     dank       150016 Jun 19 15:43 wpregchn.dll
-r-xr-xr-x    1 root     root         6144 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wpwpenn.dll
-rw-rw-r--    1 dank     dank        13312 Jun 19 15:42 wpwpenn.dll
-r-xr-xr-x    1 root     root         8192 Jan  9  1997 /mnt/cdrom/lotus/wordpro/wpwwenn.dll
-rw-rw-r--    1 dank     dank        14848 Jun 19 15:42 wpwwenn.dll

So something strange is still going on.
- Dan

FWIW, here's the bit of the log I looked at to deduce the above.
I suppose now the interesting thing to do would be to log the run
of the installer.

0009:Call kernel32.LoadLibraryA(40224360 "C:\\lotus\\wordpro\\wpENc70.dll") ret=00481593
...
0009:Ret  kernel32.LoadLibraryA() retval=02a00000 ret=00481593
...
0009:Call kernel32.FindResourceA(02a00000,00000fa4,0000000a) ret=0049a38a
0009:trace:resource:FindResourceExA 0x2a00000 #000a #0fa4 0000
0009:Call ntdll.LdrFindResource_U(02a00000,4070fb0c,00000003,4070fa48) ret=403696bc
0009:trace:resource:LdrFindResource_U module 0x2a00000 type #000a name #0fa4 lang 0000 level 3
0009:trace:resource:find_entry_by_id root 0x2a01000 dir 0x2a01000 id 000a ret 0x2a01fd0
0009:trace:resource:find_entry_by_id root 0x2a01000 dir 0x2a01fd0 id 0fa4 not found
0009:Ret  ntdll.LdrFindResource_U() retval=c000008b ret=403696bc
0009:Call ntdll.RtlNtStatusToDosError(c000008b) ret=40369674
0009:Ret  ntdll.RtlNtStatusToDosError() retval=00000716 ret=40369674
0009:Ret  kernel32.FindResourceA() retval=00000000 ret=0049a38a
0009:trace:seh:EXC_RtlRaiseException code=c0000005 flags=0 addr=0x49a99a
...
0009:Call user32.MessageBoxA(00000000,4070f3d0 "Unhandled page fault on read access to 0x00000000 at address 0x0049a99a.\nDo you wish to debug it ?",403ce528 "Exception raised",00000014) ret=4033f3e7

- Dan

-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change



More information about the wine-devel mailing list