[Bug 2555] Lighthouse - setup fails in 16-bit code

Wine Bugs wine-bugs at winehq.org
Thu Oct 6 14:39:57 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2555





------- Additional Comments From markknecht at gmail.com  2005-06-10 14:39 -------
OK, this is an improvement. I'm using a completely celan directory. I did rm -rf
.wine and then wine --version to create the directory. When I start the install
I hear some music and an install dialog comes up. I choose install and the first
thing it does is ask me if I hear a voice, which I did so I answer yes. It then
fails saying it cannot find a cdrom device on my system.

This sounds like a config issue. How can I get around this?

Here's how it dies after saying it cannot find the cdrom:

mark at lightning /mnt/dvd $ wine setup.exe
err:x11drv:X11DRV_CreateWindow invalid window width -6532
wine: Unhandled exception (thread 000b), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: divide by zero in 16-bit code (1267:9de9).
In 16 bit mode.
Register dump:
 CS:1267 SS:12af DS:12af ES:12af FS:006b GS:0063
 IP:9de9 SP:520c BP:5332 FLAGS:0a47(   - 00     ROIZP1C)
 AX:0a00 BX:000d CX:04a9 DX:048d SI:001a DI:001a
Stack dump:
0x12af:0x520c:  1287 12af 6c53 1287 5d9a 0001 1420 3a43
0x12af:0x521c:  575c 4e49 4f44 5357 545c 4d45 5c50 4e53
0x12af:0x522c:  5444 5345 2e54 4157 0056 0000 0000 0000
0255: sel=12af base=55961530 limit=000067bf 16-bit rw-
Backtrace:
=>1 0x1267:0x9de9 (0x12af:0x5332)
  2 0x1287:0x5265 (0x12af:0x5342)
  3 0x1287:0x538f (0x12af:0x5358)
  4 0x1287:0x1c8b (0x12af:0x538c)
  5 0x1287:0x0243 (0x12af:0x53bc)
  6 0x126f:0x2d2a (0x12af:0x5406)
  7 0x101f:0x0458 in kernel32 (+0x6397c) (0x12af:0x5440)
  8 0x55a22a4c K32WOWCallback16Ex+0xbc in kernel32 (0x565f55f8)
  9 0x55c41be1 WINPROC_wrapper+0x671 in user32 (0x565f5934)
  10 0x55c48614 in user32 (+0x88614) (0x565f5974)
  11 0x55c488a9 CallWindowProcA+0x119 in user32 (0x565f59ac)
  12 0x55beb56a DefDlgProcA+0x8a in user32 (0x565f59dc)
  13 0x55c41587 WINPROC_wrapper+0x17 in user32 (0x565f5a00)
  14 0x55c419dc WINPROC_wrapper+0x46c in user32 (0x565f5a34)
  15 0x55c4849d __wine_call_wndproc_32A+0x7d in user32 (0x565f5a6c)
  16 0x55c4872f CallWindowProc16+0xdf in user32 (0x565f5a98)
  17 0x55bc8d0a in user32 (+0x8d0a) (0x565f5ab4)
  18 0x55a23592 in kernel32 (+0x63592) (0x565f5ae4)
  19 0x126f:0x17f6 (0x12af:0x545a)
  20 0x126f:0x1fc8 (0x12af:0x54a8)
  21 0x126f:0x11c7 (0x12af:0x54fc)
  22 0x126f:0x1318 (0x12af:0x5514)
  23 0x101f:0x0458 in kernel32 (+0x6397c) (0x12af:0x554e)
  24 0x55a22a4c K32WOWCallback16Ex+0xbc in kernel32 (0x565f5b28)
  25 0x55c41be1 WINPROC_wrapper+0x671 in user32 (0x565f5e64)
  26 0x55c48614 in user32 (+0x88614) (0x565f5ea4)
  27 0x55c488a9 CallWindowProcA+0x119 in user32 (0x565f5edc)
  28 0x55c18efd in user32 (+0x58efd) (0x565f5f3c)
  29 0x55c1d389 SendMessageTimeoutA+0x1b9 in user32 (0x565f5fa8)
  30 0x55c1d450 SendMessageA+0x50 in user32 (0x565f5fd4)
  31 0x55bf2941 in user32 (+0x32941) (0x565f60d8)
  32 0x55bf33f1 DialogBoxParam16+0xc1 in user32 (0x565f6108)
  33 0x55bf346c DialogBox16+0x3c in user32 (0x565f6128)
  34 0x55bc953e in user32 (+0x953e) (0x565f6144)
  35 0x55a23592 in kernel32 (+0x63592) (0x565f6174)
  36 0x126f:0x313f (0x12af:0x5566)
  37 0x1277:0xe726 (0x12af:0x5eb8)
  38 0x126f:0x3945 (0x12af:0x5ecc)
  39 0x126f:0x3a61 (0x12af:0x5ef2)
  40 0x126f:0x2e23 (0x12af:0x5f10)
  41 0x126f:0x203d (0x12af:0x5f32)
  42 0x126f:0x1c57 (0x12af:0x5f7e)
  43 0x126f:0x11c7 (0x12af:0x5fd2)
  44 0x126f:0x1318 (0x12af:0x5fea)
  45 0x101f:0x0458 in kernel32 (+0x6397c) (0x12af:0x6024)
  46 0x55a22a4c K32WOWCallback16Ex+0xbc in kernel32 (0x565f61b8)
  47 0x55c41be1 WINPROC_wrapper+0x671 in user32 (0x565f64f4)
  48 0x55c48bd9 CallWindowProcW+0x259 in user32 (0x565f69e4)
  49 0x55c18ec3 in user32 (+0x58ec3) (0x565f6a44)
  50 0x55c1931e SendMessageTimeoutW+0x18e in user32 (0x565f6aa8)
  51 0x55c19380 SendMessageW+0x50 in user32 (0x565f6ad4)
  52 0x55bd5a36 in user32 (+0x15a36) (0x565f6bc4)
  53 0x55bd6cd6 in user32 (+0x16cd6) (0x565f6be0)
  54 0x55c41587 WINPROC_wrapper+0x17 in user32 (0x565f6c04)
  55 0x55c419dc WINPROC_wrapper+0x46c in user32 (0x565f6c38)
  56 0x55c48ae4 CallWindowProcW+0x164 in user32 (0x565f7128)
  57 0x55c1e438 DispatchMessageW+0x148 in user32 (0x565f715c)
  58 0x55bef2e3 IsDialogMessageW+0x113 in user32 (0x565f72ac)
  59 0x55befc2c DIALOG_DoDialogBox+0x12c in user32 (0x565f7300)
  60 0x55bf3401 DialogBoxParam16+0xd1 in user32 (0x565f7330)
  61 0x55bf346c DialogBox16+0x3c in user32 (0x565f7350)
  62 0x55bc953e in user32 (+0x953e) (0x565f736c)
  63 0x55a23592 in kernel32 (+0x63592) (0x565f739c)
  64 0x126f:0x313f (0x12af:0x603c)
  65 0x1277:0x05a9 (0x12af:0x61fe)
  66 0x126f:0x1e92 (0x12af:0x624a)
  67 0x126f:0x11c7 (0x12af:0x629e)
  68 0x126f:0x1318 (0x12af:0x62b6)
  69 0x101f:0x0458 in kernel32 (+0x6397c) (0x12af:0x62f0)
  70 0x55a22a4c K32WOWCallback16Ex+0xbc in kernel32 (0x565f73e0)
  71 0x55c41be1 WINPROC_wrapper+0x671 in user32 (0x565f771c)
  72 0x55c48781 CallWindowProc16+0x131 in user32 (0x565f7748)
  73 0x55c2042b DispatchMessage16+0x11b in user32 (0x565f777c)
  74 0x55bc8d31 in user32 (+0x8d31) (0x565f778c)
  75 0x55a23592 in kernel32 (+0x63592) (0x565f77bc)
  76 0x126f:0x3f67 (0x12af:0x62fe)
  77 0x126f:0x3fdd (0x12af:0x630e)
  78 0x126f:0x2c78 (0x12af:0x6326)
  79 0x1267:0x00fb (0x12af:0x6338)
  80 0x1267:0x00c8 (0x12af:0x0000)
0x1267:0x9de9: divw     %bx,%ax
Modules:
Module  Address                 Debug info      Name (77 modules)
ELF     0x55555000-5556c000     Deferred        ld-linux.so.2
ELF     0x5556e000-55577000     Deferred        libnss_compat.so.2
ELF     0x55577000-55581000     Deferred        libnss_nis.so.2
ELF     0x55581000-55584000     Deferred        libxrandr.so.2
ELF     0x55585000-5559f000     Deferred        libwine.so.1
ELF     0x5559f000-555b2000     Deferred        libpthread.so.0
ELF     0x555b2000-556ca000     Deferred        libc.so.6
ELF     0x556ca000-556ce000     Deferred        libdl.so.2
ELF     0x556cf000-55735000     Deferred        ntdll<elf>
  \-PE  0x556e0000-55735000     \               ntdll
ELF     0x55735000-5582a000     Deferred        libwine_unicode.so.1
ELF     0x5582a000-5584d000     Deferred        libm.so.6
ELF     0x5584d000-55850000     Deferred        xlcdef.so.2
ELF     0x55852000-55863000     Deferred        libz.so.1
ELF     0x55865000-5587a000     Deferred        libnsl.so.1
ELF     0x5587a000-55884000     Deferred        libnss_files.so.2
ELF     0x55884000-5588d000     Deferred        libsm.so.6
ELF     0x559a0000-55a8a000     Export          kernel32<elf>
  \-PE  0x559c0000-55a8a000     \               kernel32
ELF     0x55a8a000-55a9f000     Deferred        winevdm<elf>
  \-PE  0x55a90000-55a9f000     \               setup
ELF     0x55ba0000-55ca7000     Export          user32<elf>
  \-PE  0x55bc0000-55ca7000     \               user32
ELF     0x55ca7000-55d24000     Deferred        gdi32<elf>
  \-PE  0x55cc0000-55d24000     \               gdi32
ELF     0x55d24000-55d58000     Deferred        advapi32<elf>
  \-PE  0x55d30000-55d58000     \               advapi32
ELF     0x55d58000-55d6f000     Deferred        msacm.drv<elf>
  \-PE  0x55d60000-55d6f000     \               msacm.drv
ELF     0x55d70000-55ddf000     Deferred        libfreetype.so.6
ELF     0x55ddf000-55e06000     Deferred        libfontconfig.so.1
ELF     0x55e06000-55e26000     Deferred        libexpat.so.0
ELF     0x55e26000-55e95000     Deferred        winex11.drv<elf>
  \-PE  0x55e40000-55e95000     \               winex11.drv
ELF     0x55e95000-55ead000     Deferred        libice.so.6
ELF     0x55ead000-55eb3000     Deferred        libxxf86dga.so.1
ELF     0x55eb3000-55eb8000     Deferred        libxxf86vm.so.1
ELF     0x55eb8000-55ec6000     Deferred        libxext.so.6
ELF     0x55ec6000-55f90000     Deferred        libx11.so.6
ELF     0x55f90000-5603c000     Deferred        libgl.so.1
ELF     0x5603c000-56044000     Deferred        libxrender.so.1
ELF     0x56044000-56061000     Deferred        ximcp.so.2
ELF     0x56061000-5607b000     Deferred        imm32<elf>
  \-PE  0x56070000-5607b000     \               imm32
ELF     0x5607b000-56084000     Deferred        libxcursor.so.1
ELF     0x560c8000-56113000     Deferred        winedos<elf>
  \-PE  0x560d0000-56113000     \               winedos
ELF     0x56113000-56187000     Deferred        winmm<elf>
  \-PE  0x56120000-56187000     \               winmm
ELF     0x56187000-561bc000     Deferred        wineoss.drv<elf>
  \-PE  0x561a0000-561bc000     \               wineoss.drv
ELF     0x561bc000-561da000     Deferred        msacm32<elf>
  \-PE  0x561c0000-561da000     \               msacm32
ELF     0x562f0000-56305000     Deferred        midimap<elf>
  \-PE  0x56300000-56305000     \               midimap
ELF     0x56419000-5642d000     Deferred        lz32<elf>
  \-PE  0x56420000-5642d000     \               lz32
ELF     0x56476000-5647f000     Deferred        libgcc_s.so.1
ELF     0x56609000-56696000     Deferred        comdlg32<elf>
  \-PE  0x56620000-56696000     \               comdlg32
ELF     0x56696000-5673e000     Deferred        shell32<elf>
  \-PE  0x566b0000-5673e000     \               shell32
ELF     0x5673e000-56789000     Deferred        shlwapi<elf>
  \-PE  0x56750000-56789000     \               shlwapi
ELF     0x56789000-567f7000     Deferred        ole32<elf>
  \-PE  0x567a0000-567f7000     \               ole32
ELF     0x567f7000-5682f000     Deferred        rpcrt4<elf>
  \-PE  0x56810000-5682f000     \               rpcrt4
ELF     0x5682f000-5684b000     Deferred        iphlpapi<elf>
  \-PE  0x56840000-5684b000     \               iphlpapi
ELF     0x5684b000-568e1000     Deferred        comctl32<elf>
  \-PE  0x56850000-568e1000     \               comctl32
ELF     0x568e1000-56905000     Deferred        winspool.drv<elf>
  \-PE  0x568f0000-56905000     \               winspool.drv
ELF     0x56964000-5697b000     Deferred        version<elf>
  \-PE  0x56970000-5697b000     \               version
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\mnt\dvd\setup.exe
        0000000b    0 <==
        0000000a    0
        00000009    0
WineDbg terminated on pid 0x8
mark at lightning /mnt/dvd $



NOw, I retry the install but do not let it test the syste, It comes up with a
dialog box sayign the system does not meet minimum requirements, but will allow
me to continue the install, which I try. It starts installing, asks if I want to
install DirectX. I say no and let it install. The file copy portion of the
install finiahes, appearently correctly. However a window pops up that says:

DdeConnect returned 0

The terminal says:

mark at lightning /mnt/dvd $ wine setup.exe
err:x11drv:X11DRV_CreateWindow invalid window width -6532
err:ddeml:DdeConnect Done with INITIATE, but no Server window available

I get another window that says:

Setup was unable to add a program group for Sierra

Again DdeConnect returned 0

This happens a few times for members of this group. The install then finishes.
Final results in the terminal are:

mark at lightning /mnt/dvd $ wine setup.exe
err:x11drv:X11DRV_CreateWindow invalid window width -6532
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
err:ddeml:DdeConnect Done with INITIATE, but no Server window available
mark at lightning /mnt/dvd $

I then attempt to run the game. A full screen window open and a dialog pops up
and says:

"We're sorry. You have encountered an internal game error. Please restart your
game."

and 

"Cannot find 999.pal resource.
If this is a CDROM game them please make sure the CDROM is loaded."

No messages in the terminal which is at least very clean:

mark at lightning ~/.wine/drive_c/SIERRA/LIGHTWIN $ wine SIERW5.EXE
mark at lightning ~/.wine/drive_c/SIERRA/LIGHTWIN $

I do not see anything with 999 in the program directory:

mark at lightning ~/.wine/drive_c/SIERRA/LIGHTWIN $ ls
11.CSC   380.CSC  800.CSC  A0030100.001  LIGHTHSE.ICO  RESOURCE.WIN  SIERRA.INF
16.CSC   480.CSC  820.CSC  A0030200.001  README.WRI    RESSCI.PAT    SIERW5.EXE
24.CSC   700.CSC  870.CSC  A0960Z00.001  RESMAP.PAT    RSTSG.000
270.CSC  765.CSC  9.CSC    LANGUAGE.INF  RESMDT.PAT    SIERRA.ERR
mark at lightning ~/.wine/drive_c/SIERRA/LIGHTWIN $

I'm impressed that it got this far. That's a really big improvement. Now, can we
go farther and make it work? This was a pretty fun game.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list