Problems getting ChemDraw 13 to work

Questions about Wine on Linux
Locked
dominikw-92
Level 1
Level 1
Posts: 5
Joined: Fri Aug 09, 2013 9:58 am

Problems getting ChemDraw 13 to work

Post by dominikw-92 »

Hey at all,

I'm very new to wine and linux in general and i have some trouble getting ChemDraw 13 to work.
My university owns a licenes fpr all students and so i can download it for free at their website.

So i got a VB6.0-KB290887-X86.exe executable file which i started with

Code: Select all

wine VB6.0-KB290887-X86.exe 
simmalarly as i found on http://www-co.ch.cam.ac.uk/software/che ... /wine.html I used

Code: Select all

wine msiexec /i CambridgeSoft_ChemBioDraw_Ultra_13.0.msi
to start the installtion dialog
everything looked very fine so far but when i try to start Chemdraw with

Code: Select all

wine ChemDraw.exe
i get an error message

Code: Select all

Unhandled exception: page fault on write access to 0xc0cb6d61 in 32-bit code (0x7eb2cb8d).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7eb2cb8d ESP:0032f6ec EBP:0032f724 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:01dff870 EBX:7eb91ff4 ECX:c0cb6d49 EDX:00000000
 ESI:c0cb6d49 EDI:00000000
Stack dump:
0x0032f6ec:  00155190 0032f778 00000000 01dff840
0x0032f6fc:  6d67d5e1 0032f788 00000000 0032f7f8
0x0032f70c:  6d67d5e1 0000000e 01dff808 7eb91ff4
0x0032f71c:  c0cb6d49 0032f8fc 0032f764 7eb2db93
0x0032f72c:  c0cb6d49 00000000 00000000 00000000
0x0032f73c:  00000000 00000000 00000000 00000000
Backtrace:
=>0 0x7eb2cb8d basic_string_char_tidy+0x4d() in msvcp90 (0x0032f724)
  1 0x7eb2db93 MSVCP_basic_string_char_copy_ctor+0x72() in msvcp90 (0x0032f764)
  2 0x01dff870 (0x0032f7a8)
  3 0x01dff2ac (0x0032f7f8)
  4 0x02090120 (0x0032f834)
  5 0x00431f40 in chemdraw (+0x31f3f) (0x0032fa28)
  6 0x00f7da87 in chemdraw (+0xb7da86) (0x0032fab8)
  7 0x01df0d0c (0x0032fae8)
  8 0x01dff219 (0x0032fb18)
  9 0x6d50bc26 mono_jit_runtime_invoke+0xb5(method=0x19fcf0, obj=0x0(nil), params=0x32fbcc, exc=(nil)) [/home/meh/work/wine-mono-0.0.8/build-cross-x86/mono/mini/../../../mono/mono/mini/mini.c:5957] in libmono-2.0-x86 (0x00000000)
  10 0x6d65549f mono_runtime_invoke+0x3e(method=0x19fcf0, obj=0x0(nil), params=0x32fbcc, exc=(nil)) [/home/meh/work/wine-mono-0.0.8/build-cross-x86/mono/metadata/../../../mono/mono/metadata/object.c:2823] in libmono-2.0-x86 (0x01f26f20)
  11 0x6d657256 mono_runtime_exec_main+0xd5(method=0x19fcf0, args=0x1a39e20, exc=(nil)) [/home/meh/work/wine-mono-0.0.8/build-cross-x86/mono/metadata/../../../mono/mono/metadata/object.c:4027] in libmono-2.0-x86 (0x01f26f20)
  12 0x7dbd79c1 _CorExeMain+0x390() in mscoree (0x0032fe58)
  13 0x7b85f22c call_process_entry+0xb() in kernel32 (0x0032fe78)
  14 0x7b8604ab in kernel32 (+0x504aa) (0x0032feb8)
  15 0x7bc78e30 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  16 0x7bc7be3d call_thread_func+0x7c() in ntdll (0x0032ffa8)
  17 0x7bc78e0e RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  18 0x7bc4e0ce call_dll_entry_point+0x33d() in ntdll (0x0032ffe8)
  19 0xf75f166d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  20 0xf75f172b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffe18b78)
  21 0x7bc53f30 LdrInitializeThunk+0x3af() in ntdll (0xffe18be8)
  22 0x7b866a82 __wine_kernel_init+0xa21() in kernel32 (0xffe19d98)
  23 0x7bc546eb __wine_process_init+0x25a() in ntdll (0xffe19e28)
  24 0xf75eebcc wine_init+0x2db() in libwine.so.1 (0xffe19e98)
  25 0x7bf00d0b main+0x8a() in <wine-loader> (0xffe1a2e8)
  26 0xf7419935 __libc_start_main+0xf4() in libc.so.6 (0x00000000)
0x7eb2cb8d basic_string_char_tidy+0x4d in msvcp90: movl	$0xf,0x18(%esi)
Modules:
Module	Address			Debug info	Name (127 modules)
PE	  330000-  33e000	Deferred        boost_date_time-vc90-mt-1_44
PE	  400000- 180f000	Export          chemdraw
PE	 1b60000- 1de4000	Deferred        mscorlib
PE	10000000-1000e000	Deferred        boost_thread-vc90-mt-1_44
PE	6d500000-6df26000	Dwarf           libmono-2.0-x86
PE	783f0000-78433000	Deferred        msvcm90
ELF	7b800000-7ba5b000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba5b000	\               kernel32
ELF	7bc00000-7bcd9000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcd9000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7d041000-7d05f000	Deferred        fusion<elf>
  \-PE	7d050000-7d05f000	\               fusion
ELF	7d05f000-7d08a000	Deferred        msacm32<elf>
  \-PE	7d060000-7d08a000	\               msacm32
ELF	7d08a000-7d144000	Deferred        winmm<elf>
  \-PE	7d090000-7d144000	\               winmm
ELF	7d144000-7d17a000	Deferred        ws2_32<elf>
  \-PE	7d150000-7d17a000	\               ws2_32
ELF	7d2c0000-7d2d7000	Deferred        libresolv.so.2
ELF	7d2d7000-7d321000	Deferred        libdbus-1.so.3
ELF	7d321000-7d3a5000	Deferred        libgcrypt.so.11
ELF	7d3a5000-7d473000	Deferred        libkrb5.so.3
ELF	7d473000-7d538000	Deferred        libgnutls.so.26
ELF	7d59d000-7d5a2000	Deferred        libgpg-error.so.0
ELF	7d5a2000-7d5c1000	Deferred        libp11-kit.so.0
ELF	7d5c1000-7d5d3000	Deferred        libtasn1.so.3
ELF	7d5d3000-7d5dc000	Deferred        libkrb5support.so.0
ELF	7d5dc000-7d604000	Deferred        libk5crypto.so.3
ELF	7d604000-7d616000	Deferred        libavahi-client.so.3
ELF	7d616000-7d653000	Deferred        libgssapi_krb5.so.2
ELF	7d653000-7d6b2000	Deferred        libcups.so.2
ELF	7d6b6000-7d6cb000	Deferred        mswsock<elf>
  \-PE	7d6c0000-7d6cb000	\               mswsock
ELF	7d6cb000-7d701000	Deferred        uxtheme<elf>
  \-PE	7d6d0000-7d701000	\               uxtheme
ELF	7d701000-7d708000	Deferred        libxfixes.so.3
ELF	7d708000-7d713000	Deferred        libxcursor.so.1
ELF	7d713000-7d723000	Deferred        libxi.so.6
ELF	7d723000-7d727000	Deferred        libxcomposite.so.1
ELF	7d727000-7d732000	Deferred        libxrandr.so.2
ELF	7d732000-7d73c000	Deferred        libxrender.so.1
ELF	7d73c000-7d742000	Deferred        libxxf86vm.so.1
ELF	7d742000-7d746000	Deferred        libxinerama.so.1
ELF	7d746000-7d74d000	Deferred        libxdmcp.so.6
ELF	7d74d000-7d751000	Deferred        libxau.so.6
ELF	7d751000-7d773000	Deferred        libxcb.so.1
ELF	7d773000-7d779000	Deferred        libuuid.so.1
ELF	7d779000-7d793000	Deferred        libice.so.6
ELF	7d793000-7d8ca000	Deferred        libx11.so.6
ELF	7d8ca000-7d8dc000	Deferred        libxext.so.6
ELF	7d8dc000-7d8e5000	Deferred        libsm.so.6
ELF	7d8e5000-7d8e9000	Deferred        libkeyutils.so.1
ELF	7d8e9000-7d8ee000	Deferred        libcom_err.so.2
ELF	7d8ee000-7d8fc000	Deferred        libavahi-common.so.3
ELF	7d8fe000-7d990000	Deferred        winex11<elf>
  \-PE	7d910000-7d990000	\               winex11
ELF	7da3f000-7da67000	Deferred        libexpat.so.1
ELF	7da67000-7daa2000	Deferred        libfontconfig.so.1
ELF	7daa2000-7db3d000	Deferred        libfreetype.so.6
ELF	7db56000-7dbbe000	Deferred        dbghelp<elf>
  \-PE	7db60000-7dbbe000	\               dbghelp
ELF	7dbbe000-7dbf4000	Dwarf           mscoree<elf>
  \-PE	7dbc0000-7dbf4000	\               mscoree
ELF	7dbf4000-7dcb0000	Deferred        windowscodecs<elf>
  \-PE	7dc00000-7dcb0000	\               windowscodecs
ELF	7dcb0000-7dcd4000	Deferred        imm32<elf>
  \-PE	7dcc0000-7dcd4000	\               imm32
ELF	7dcd4000-7dd0e000	Deferred        oledlg<elf>
  \-PE	7dce0000-7dd0e000	\               oledlg
ELF	7dd0e000-7dd35000	Deferred        mpr<elf>
  \-PE	7dd10000-7dd35000	\               mpr
ELF	7dd35000-7dd4e000	Deferred        libz.so.1
ELF	7dd53000-7dd67000	Deferred        psapi<elf>
  \-PE	7dd60000-7dd67000	\               psapi
ELF	7dd67000-7dde2000	Deferred        wininet<elf>
  \-PE	7dd70000-7dde2000	\               wininet
ELF	7dde2000-7de6e000	Deferred        gdiplus<elf>
  \-PE	7ddf0000-7de6e000	\               gdiplus
ELF	7de6e000-7dfa2000	Deferred        oleaut32<elf>
  \-PE	7de80000-7dfa2000	\               oleaut32
ELF	7dfa2000-7e023000	Deferred        rpcrt4<elf>
  \-PE	7dfb0000-7e023000	\               rpcrt4
ELF	7e023000-7e15f000	Deferred        ole32<elf>
  \-PE	7e040000-7e15f000	\               ole32
ELF	7e15f000-7e19f000	Deferred        winspool<elf>
  \-PE	7e170000-7e19f000	\               winspool
ELF	7e19f000-7e2a7000	Deferred        comctl32<elf>
  \-PE	7e1b0000-7e2a7000	\               comctl32
ELF	7e2a7000-7e321000	Deferred        shlwapi<elf>
  \-PE	7e2b0000-7e321000	\               shlwapi
ELF	7e321000-7e554000	Deferred        shell32<elf>
  \-PE	7e330000-7e554000	\               shell32
ELF	7e554000-7e640000	Deferred        comdlg32<elf>
  \-PE	7e560000-7e640000	\               comdlg32
ELF	7e640000-7e65a000	Deferred        version<elf>
  \-PE	7e650000-7e65a000	\               version
ELF	7e65a000-7e6c9000	Deferred        advapi32<elf>
  \-PE	7e670000-7e6c9000	\               advapi32
ELF	7e6c9000-7e7e7000	Deferred        gdi32<elf>
  \-PE	7e6e0000-7e7e7000	\               gdi32
ELF	7e7e7000-7e942000	Deferred        user32<elf>
  \-PE	7e800000-7e942000	\               user32
ELF	7e942000-7e961000	Deferred        libtinfo.so.5
ELF	7e961000-7e983000	Deferred        libncurses.so.5
ELF	7e983000-7e9bc000	Deferred        msvcr100<elf>
  \-PE	7e990000-7e9bc000	\               msvcr100
ELF	7e9bc000-7e9e9000	Deferred        msvcr90<elf>
  \-PE	7e9c0000-7e9e9000	\               msvcr90
ELF	7e9e9000-7ea91000	Deferred        msvcrt<elf>
  \-PE	7ea00000-7ea91000	\               msvcrt
ELF	7ea91000-7ebd2000	Dwarf           msvcp90<elf>
  \-PE	7ead0000-7ebd2000	\               msvcp90
ELF	7ef69000-7ef76000	Deferred        libnss_files.so.2
ELF	7ef76000-7ef82000	Deferred        libnss_nis.so.2
ELF	7ef82000-7ef9b000	Deferred        libnsl.so.1
ELF	7ef9b000-7efa4000	Deferred        libnss_compat.so.2
ELF	7efa4000-7efe7000	Deferred        libm.so.6
ELF	7efec000-7f000000	Deferred        msimg32<elf>
  \-PE	7eff0000-7f000000	\               msimg32
ELF	f73f1000-f73fa000	Deferred        librt.so.1
ELF	f73fb000-f7400000	Deferred        libdl.so.2
ELF	f7400000-f75b3000	Dwarf           libc.so.6
ELF	f75b4000-f75cf000	Deferred        libpthread.so.0
ELF	f75e8000-f779e000	Dwarf           libwine.so.1
ELF	f77a0000-f77c2000	Deferred        ld-linux.so.2
ELF	f77c2000-f77c3000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\CambridgeSoft\ChemOffice2012\ChemDraw\ChemDraw.exe
	00000024    0
	00000009    0 <==
0000000e services.exe
	0000001e    0
	0000001d    0
	00000019    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000018    0
	00000017    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000021 explorer.exe
	00000023    0
	00000022    0
System information:
    Wine build: wine-1.6
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.8.0-27-generic
does anyone know anything about it?
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems getting ChemDraw 13 to work

Post by dimesio »

So i got a VB6.0-KB290887-X86.exe executable file
Why?

Code: Select all

=>0 0x7eb2cb8d basic_string_char_tidy+0x4d() in msvcp90 (0x0032f724)
  1 0x7eb2db93 MSVCP_basic_string_char_copy_ctor+0x72() in msvcp90 (0x0032f764)
Try winetricks vcrun2008.
dominikw-92
Level 1
Level 1
Posts: 5
Joined: Fri Aug 09, 2013 9:58 am

Re: Problems getting ChemDraw 13 to work

Post by dominikw-92 »

Thanks fpr the reply!

This is the chemdrraw installation file.

Code: Select all

chocosarah@chocosarah-notebook:~$ winetricks vcrun2008
Executing w_do_call vcrun2008
vcrun2008 already installed, skipping
chocosarah@chocosarah-notebook:~$
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems getting ChemDraw 13 to work

Post by dimesio »

The backtrace also has wine-mono errors, so you could try installing whatever version of .NET this app requires. But before you do that: have you tried this without any native dlls installed? That's really where you should start.
dominikw-92
Level 1
Level 1
Posts: 5
Joined: Fri Aug 09, 2013 9:58 am

Re: Problems getting ChemDraw 13 to work

Post by dominikw-92 »

Well the installation is totally new. All i installed was just for getting ChemDraw work. I'll install .NET and try ChemDraw again :) Thx for your reply
dominikw-92
Level 1
Level 1
Posts: 5
Joined: Fri Aug 09, 2013 9:58 am

Re: Problems getting ChemDraw 13 to work

Post by dominikw-92 »

Hmm i had no success yet.... i found out some new error messages maybe these are helpful. I hd .NET 4 already installed (don't know why....????)

Code: Select all

chocosarah@chocosarah-notebook:~$ WINEPREFIX=/home/chocosarah/.wine/drive_c/Program\ Files\ \(x86\)/CambridgeSoft/ChemOffice2012/ChemDraw/ wine .wine/drive_c/Program\ Files\ \(x86\)/CambridgeSoft/ChemOffice2012/ChemDraw/ChemDraw.exe 
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
fixme:msvcm:CrtImplementationDetails_DoDllLanguageSupportValidation stub
fixme:msvcm:CrtImplementationDetails_RegisterModuleUninitializer 0x1f7af50: stub
wine: Unhandled page fault on write access to 0xf72afcde at address 0x7eb22b8d (thread 0009), starting debugger...
chocosarah@chocosarah-notebook:~$ 
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Problems getting ChemDraw 13 to work

Post by lahmbi5678 »

This may not be the cause of the crash, but you probably should install the 32bit gnome-keyring package.

If it still wouldn't work, file a bug.

http://appdb.winehq.org/objectManager.p ... &iId=24320
indicates that ChemDraw 12 is running well, would downgrading be an option?
dominikw-92
Level 1
Level 1
Posts: 5
Joined: Fri Aug 09, 2013 9:58 am

Re: Problems getting ChemDraw 13 to work

Post by dominikw-92 »

I think im only able to doenload the most recent version... gnome-keyring is installed (already tried to reinstall it but no success)...
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Problems getting ChemDraw 13 to work

Post by lahmbi5678 »

If you are using a 64bit linux, you'd have to make sure, that you installed the 32bit version of gnome-keyring, too, since wine needs it.

Another thing you could try (if you are on 64bit linux) would be to create a new, pure 32bit wineprefix. Some applications still won't work with wine's x64 implementation, a 32bit wineprefix forces wine to run completely in 32bit. A wineprefix is basically your .wine folder, you can create and use alternative ones. The easiest way to do that is to move/rename your ".wine" folder to e.g. ".wineold". Then run "WINEARCH=win32 winecfg", this will create a new default .wine folder. Once it is created, it will stay a 32bit wineprefix, you won't have to use the WINEARCH variable anymore. Then install Chemdraw again. AppDB mentions "winetricks gdiplus" might be necessary (for Chemdraw 12 at least).

If necessary, you can still run applications from your old wineprefix using environment variables, e.g. "WINEPREFIX=~/.wineold wine yourapp.exe". If you want to restore the original configuration, you can simply move your .wineold folder back to .wine (after renaming the current .wine folder).

If it still won't work, file a bug report.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Problems getting ChemDraw 13 to work

Post by DanKegel »

This looks interesting:

fixme:msvcm:CrtImplementationDetails_DoDllLanguageSupportValidation stub

You're using Wine's msvcm, which is rather stubby. Native would be better.
Which winetricks are you using? Recent ones set that to native when you do 'winetricks vcrun2008' etc.
Locked