EccoPro only works on Wine 1.6.2

Questions about Wine on Linux
Locked
JavaScriptDude
Newbie
Newbie
Posts: 4
Joined: Mon Feb 08, 2016 9:10 pm

EccoPro only works on Wine 1.6.2

Post by JavaScriptDude »

I have spent quite a bit of time getting Ecco Pro PIM working on wine and came up with a method that seems to work but for some reason, It will not work on any version later than wine 1.6.2.

My installation instructions are here: http://nixplayground.blogspot.ca/2015/0 ... using.html

Can I get some advice on how to troubleshoot this as I would rather use a more modern version of wine and update my installation instructions accordingly.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: EccoPro only works on Wine 1.6.2

Post by dimesio »

What exactly is the problem in current Wine? Post terminal output from 1.9.4.
JavaScriptDude
Newbie
Newbie
Posts: 4
Joined: Mon Feb 08, 2016 9:10 pm

Re: EccoPro only works on Wine 1.6.2

Post by JavaScriptDude »

Here is the output from 1.9.3 on Ubuntu when I run eccoext.exe:

Code: Select all

xxx@ubuntu:~/.wine32_eccopro/drive_c/apps/eccopro$ wine eccoext.exe 
xxx@ubuntu:~/.wine32_eccopro/drive_c/apps/eccopro$ wine: Unhandled page fault on read access to 0xc0250002 at address 0xc0250002 (thread 0027), starting debugger...
Unhandled exception: page fault on read access to 0xc0250002 in 32-bit code (0xc0250002).
fixme:dbghelp_msc:pe_load_debug_directory This guy has FPO information
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:c0250002 ESP:0033fd7c EBP:0033fdbc EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:c0250002 EBX:7e3b8000 ECX:0033fdb8 EDX:00000000
 ESI:00716008 EDI:00716000
Stack dump:
0x0033fd7c:  7e338112 00000000 00000000 0033fe28
0x0033fd8c:  0033fe24 00000000 7e3b8000 0033fdb8
0x0033fd9c:  7b8c1000 7ffdf000 00713df0 0033fe60
0x0033fdac:  7e3926ab 7b8c1000 7ffdf000 00713df0
0x0033fdbc:  0033fe60 00713ecd 00716000 00716008
0x0033fdcc:  00713df0 7ffdf000 7b8c1000 0033fe78
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0xc0250002 (0x0033fdbc)
  1 0x00713ecd in ecco32 (+0x313ecc) (0x0033fe60)
  2 0x7b86336c call_process_entry+0xb() in kernel32 (0x0033fe78)
  3 0x7b86462b in kernel32 (+0x5462a) (0x0033feb8)
  4 0x7bc83a60 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  5 0x7bc86c7d call_thread_func+0x7c() in ntdll (0x0033ffa8)
  6 0x7bc83a3e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  7 0x7bc54bde call_dll_entry_point+0x36d() in ntdll (0x0033ffe8)
  8 0xf75502bd wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf755037b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffd8dbb8)
  10 0x7bc5afa1 LdrInitializeThunk+0x240() in ntdll (0xffd8dc08)
  11 0x7b86b050 __wine_kernel_init+0xbcf() in kernel32 (0xffd8ed28)
  12 0x7bc5bf13 __wine_process_init+0x182() in ntdll (0xffd8edb8)
  13 0xf754df5a wine_init+0x299() in libwine.so.1 (0xffd8ee18)
  14 0x7bf00d7b main+0x8a() in <wine-loader> (0xffd8f268)
  15 0xf736c73e __libc_start_main+0xdd() in libc.so.6 (0x00000000)
0xc0250002: addb	%al,0x0(%eax)
Modules:
Module	Address			Debug info	Name (110 modules)
PE	  340000-  34f000	Deferred        protll32
PE	  350000-  363000	Deferred        tdlir32
PE	  400000-  8d0000	Export          ecco32
PE	10000000-10023000	Deferred        datzap32
PE	10350000-10369000	Deferred        nmecutn
PE	10400000-1040d000	Deferred        nmeccln
PE	10430000-10443000	Deferred        nmecsvn
PE	10500000-1052d000	Deferred        nmecctn
PE	12000000-1200f000	Deferred        ecoutln
PE	5f400000-5f4f2000	Deferred        mfc42
ELF	7b800000-7ba6b000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba6b000	\               kernel32
ELF	7bc00000-7bcf1000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf1000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7d331000-7d346000	Deferred        libgpg-error.so.0
ELF	7d346000-7d364000	Deferred        libgcc_s.so.1
ELF	7d364000-7d413000	Deferred        libgcrypt.so.20
ELF	7d413000-7d439000	Deferred        liblzma.so.5
ELF	7d439000-7d442000	Deferred        librt.so.1
ELF	7d442000-7d4ce000	Deferred        libsystemd.so.0
ELF	7d4ce000-7d4d8000	Deferred        libffi.so.6
ELF	7d4d8000-7d4f0000	Deferred        libresolv.so.2
ELF	7d4f0000-7d4f5000	Deferred        libkeyutils.so.1
ELF	7d4f5000-7d54f000	Deferred        libdbus-1.so.3
ELF	7d54f000-7d5db000	Deferred        libgmp.so.10
ELF	7d5db000-7d60f000	Deferred        libhogweed.so.4
ELF	7d60f000-7d64b000	Deferred        libnettle.so.6
ELF	7d64b000-7d65f000	Deferred        libtasn1.so.6
ELF	7d65f000-7d6c3000	Deferred        libp11-kit.so.0
ELF	7d6c3000-7d6d0000	Deferred        libkrb5support.so.0
ELF	7d6d0000-7d6d5000	Deferred        libcom_err.so.2
ELF	7d6d5000-7d706000	Deferred        libk5crypto.so.3
ELF	7d706000-7d7dd000	Deferred        libkrb5.so.3
ELF	7d7dd000-7d7f1000	Deferred        libavahi-client.so.3
ELF	7d7f1000-7d7ff000	Deferred        libavahi-common.so.3
ELF	7d7ff000-7d942000	Deferred        libgnutls-deb0.so.28
ELF	7d942000-7d994000	Deferred        libgssapi_krb5.so.2
ELF	7d994000-7da1b000	Deferred        libcups.so.2
ELF	7da1b000-7da54000	Deferred        uxtheme<elf>
  \-PE	7da20000-7da54000	\               uxtheme
ELF	7da54000-7da5b000	Deferred        libxfixes.so.3
ELF	7da5b000-7da66000	Deferred        libxcursor.so.1
ELF	7db66000-7db78000	Deferred        libxi.so.6
ELF	7db78000-7db7c000	Deferred        libxcomposite.so.1
ELF	7db7c000-7db89000	Deferred        libxrandr.so.2
ELF	7db89000-7db95000	Deferred        libxrender.so.1
ELF	7db95000-7db9c000	Deferred        libxxf86vm.so.1
ELF	7db9c000-7dba0000	Deferred        libxinerama.so.1
ELF	7dba0000-7dba7000	Deferred        libxdmcp.so.6
ELF	7dba7000-7dbcc000	Deferred        libxcb.so.1
ELF	7dbcc000-7dd17000	Deferred        libx11.so.6
ELF	7dd17000-7dd2c000	Deferred        libxext.so.6
ELF	7dd46000-7dddb000	Deferred        winex11<elf>
  \-PE	7dd50000-7dddb000	\               winex11
ELF	7de1f000-7de23000	Deferred        libxau.so.6
ELF	7de23000-7de48000	Deferred        imm32<elf>
  \-PE	7de30000-7de48000	\               imm32
ELF	7de79000-7dea2000	Deferred        libexpat.so.1
ELF	7dea2000-7dee5000	Deferred        libfontconfig.so.1
ELF	7dee5000-7df11000	Deferred        libpng12.so.0
ELF	7df11000-7df2c000	Deferred        libz.so.1
ELF	7df2c000-7dfd9000	Deferred        libfreetype.so.6
ELF	7dff3000-7e01b000	Deferred        mpr<elf>
  \-PE	7e000000-7e01b000	\               mpr
ELF	7e01b000-7e046000	Deferred        msacm32<elf>
  \-PE	7e020000-7e046000	\               msacm32
ELF	7e046000-7e101000	Deferred        winmm<elf>
  \-PE	7e050000-7e101000	\               winmm
ELF	7e101000-7e13c000	Deferred        oledlg<elf>
  \-PE	7e110000-7e13c000	\               oledlg
ELF	7e13c000-7e1c2000	Deferred        rpcrt4<elf>
  \-PE	7e150000-7e1c2000	\               rpcrt4
ELF	7e1c2000-7e309000	Deferred        ole32<elf>
  \-PE	7e1e0000-7e309000	\               ole32
ELF	7e309000-7e3c2000	Deferred        msvcrt<elf>
  \-PE	7e320000-7e3c2000	\               msvcrt
ELF	7e3c2000-7e405000	Deferred        winspool<elf>
  \-PE	7e3d0000-7e405000	\               winspool
ELF	7e405000-7e511000	Deferred        comctl32<elf>
  \-PE	7e410000-7e511000	\               comctl32
ELF	7e511000-7e58c000	Deferred        shlwapi<elf>
  \-PE	7e520000-7e58c000	\               shlwapi
ELF	7e58c000-7e7d8000	Deferred        shell32<elf>
  \-PE	7e5a0000-7e7d8000	\               shell32
ELF	7e7d8000-7e8c9000	Deferred        comdlg32<elf>
  \-PE	7e7e0000-7e8c9000	\               comdlg32
ELF	7e8c9000-7e8dd000	Deferred        lz32<elf>
  \-PE	7e8d0000-7e8dd000	\               lz32
ELF	7e8dd000-7e8f7000	Deferred        version<elf>
  \-PE	7e8e0000-7e8f7000	\               version
ELF	7e8f7000-7e971000	Deferred        advapi32<elf>
  \-PE	7e900000-7e971000	\               advapi32
ELF	7e971000-7ea93000	Deferred        gdi32<elf>
  \-PE	7e980000-7ea93000	\               gdi32
ELF	7ea93000-7ebf3000	Deferred        user32<elf>
  \-PE	7eab0000-7ebf3000	\               user32
ELF	7ebf3000-7ec01000	Deferred        libnss_files.so.2
ELF	7ec01000-7ec0e000	Deferred        libnss_nis.so.2
ELF	7ec0e000-7ec29000	Deferred        libnsl.so.1
ELF	7ef99000-7efe6000	Deferred        libm.so.6
ELF	7efeb000-7f000000	Deferred        ctl3d32<elf>
  \-PE	7eff0000-7f000000	\               ctl3d32
ELF	f7344000-f734e000	Deferred        libnss_compat.so.2
ELF	f734f000-f7354000	Deferred        libdl.so.2
ELF	f7354000-f750f000	Dwarf           libc.so.6
ELF	f7510000-f752d000	Deferred        libpthread.so.0
ELF	f7547000-f76fe000	Dwarf           libwine.so.1
ELF	f7700000-f7724000	Deferred        ld-linux.so.2
ELF	f7726000-f7727000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001e    0
	0000001d    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000018    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000021 explorer.exe
	00000025    0
	00000024    0
	00000023    0
	00000022    0
00000026 (D) C:\apps\eccopro\ecco32.exe
	00000027    0 <==
System information:
    Wine build: wine-1.9.3
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.2.0-16-generic
JavaScriptDude
Newbie
Newbie
Posts: 4
Joined: Mon Feb 08, 2016 9:10 pm

Re: EccoPro only works on Wine 1.6.2

Post by JavaScriptDude »

When I run % wine ecco32.exe, I get nothing in the console and just get a dialog showing "An application error has occurred. Please exit Ecco and restart"

I ran % winedbg ecco32.exe and here is the output:

Code: Select all

xxx@ubuntu:~/.wine32_eccopro/drive_c/apps/eccopro$ winedbg ecco32.exe
WineDbg starting on pid 0023
0x7b86461f: movl	%edi,0x4(%esp)
Wine-dbg>cont
Unhandled exception: page fault on write access to 0x0067ecb7 in 32-bit code (0x7e92a4ad).
fixme:dbghelp_msc:pe_load_debug_directory This guy has FPO information
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7e92a4ad ESP:0033e380 EBP:0033e528 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:0033f57c EBX:7e96b000 ECX:00000000 EDX:0033f73c
 ESI:0033f6e4 EDI:0033e40c
Stack dump:
0x0033e380:  0033f57c 0033f73c 0033f6e4 0033e438
0x0033e390:  0000000e 7cb01db8 00000057 00000208
0x0033e3a0:  7ea414a0 7ea37000 7e98d775 7cb01d04
0x0033e3b0:  00000180 00000000 007676e0 00000000
0x0033e3c0:  0033e3e0 7ea37000 0033f73c 00000000
0x0033e3d0:  0033f6f0 0101af3d 0033f6dc 0033f6fc
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x7e92a4ad RegQueryInfoKeyA+0x46d() in advapi32 (0x0033e528)
  1 0x004ac8b6 in ecco32 (+0xac8b5) (0x0033f71c)
  2 0x006b255d in ecco32 (+0x2b255c) (0x0033f804)
  3 0x00482c54 in ecco32 (+0x82c53) (0x0033f8b0)
  4 0x0043ce90 in ecco32 (+0x3ce8f) (0x0033f9a8)
0x7e92a4ad RegQueryInfoKeyA+0x46d in advapi32: movb	$0x0,0xffffffff(%eax,%edx,1)
Wine-dbg>
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: EccoPro only works on Wine 1.6.2

Post by dimesio »

File a bug.
JavaScriptDude
Newbie
Newbie
Posts: 4
Joined: Mon Feb 08, 2016 9:10 pm

Re: EccoPro only works on Wine 1.6.2

Post by JavaScriptDude »

Done. Bug 40201 logged here: https://bugs.winehq.org/show_bug.cgi?id=40201

Thanks for your help.
- Tim
Locked