http://bugs.winehq.org/show_bug.cgi?id=13666
Summary: Cannot start TurboCAD v14 Product: Wine Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole AssignedTo: wine-bugs@winehq.org ReportedBy: louie928@gmail.com
Created an attachment (id=13655) --> (http://bugs.winehq.org/attachment.cgi?id=13655) Returned when starting TurboCAD v14 with WINEDEBUG=+loaddll
OS is Linux Mandriva 2008.1 Spring x86_64 Wine version 1.-rc3
Windows program IMSI TurboCAD v14 Pro Free trial of TCv15 is available at http://activate.imsisoft.com/freeen.aspx?Product=TCP15
Problem: TurboCAD installs normally but will not start.
Starting from terminal shows an ole error of not loading IMSICTRL.TLB
Wine is using all builtin DLLs.
I find this statement from the Wine Users Guide confusing.
++++++++++++++ 3.1.2.1. DLL Overrides
It's not always possible to run an application on builtin DLL's. Sometimes native DLL's simply work better. After you've located a native DLL on a Windows system, you'll need to put it in suitable place for Wine to find it and then configure it to be used. Generally the place you need to put it is in the directory you've configured to be c:\windows\system32 (more on that in the drives section). There are four DLL's you should never try to use the native versions of: kernel32.dll, gdi32.dll, user32.dll, and ntdll.dll. These libraries require low-level Windows kernel access that simply doesn't exist within Wine +++++++++++++++ On one hand it says to use native (Windows) DLLs for some DLLs, presumably these 4 DLLs, but then says to never try to use native DLLs for these 4, but also says the builtin DLLs aren't adequate either. Which is it for these DLLs?
This is my first bug report. If I did not get it correct, please educate me. The log file for trying to start TC14 with WINEDEBUG=+loaddll is attached.
http://bugs.winehq.org/show_bug.cgi?id=13666
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2008-06-03 19:38:24 --- (In reply to comment #0)
I find this statement from the Wine Users Guide confusing.
Off-topic for this bug, but I'll answer anyway. I believe the section is perfectly clear. Reread this statement:
"There are four DLL's you should never try to use the native versions of: kernel32.dll, gdi32.dll, user32.dll, and ntdll.dll."
By implication, the only DLLs for which a native replacement can be considered is any DLL not among those 4.
http://bugs.winehq.org/show_bug.cgi?id=13666
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ole |-unknown
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2008-06-03 19:40:58 --- Now to the regularly scheduled program:
Please don't attach logs if we don't ask for them, they can be rather distracting. The default logs would have been fine. From your log:
err:ole:TLB_ReadTypeLib Loading of typelib L"C:\Program Files\IMSIDesign\TCWP14\Program\IMSICTRL.TLB" failed with error 2
Error 2 is ERROR_FILE_NOT_FOUND. If the file mentioned doesn't exist (please check), it's likely a problem with the program's installation, not an OLE bug.
http://bugs.winehq.org/show_bug.cgi?id=13666
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://activate.imsisoft.com | |/freeen.aspx?Product=TCP15 Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2008-06-03 19:52:46 --- Confirming bug from trial version.
http://bugs.winehq.org/show_bug.cgi?id=13666
--- Comment #4 from Luke Bratch l_bratch@yahoo.co.uk 2008-06-04 14:14:43 --- Louis, do not reply to wine-bugs, please post in Bugzilla. Email read:
"Some more information on this problem. I installed VirtualBox on this same Linux Mandriva computer with Windows XP as a VM. I installed the same TurboCAD on the VM WinXP. TurboCAD starts and runs normally on the virtual WinXP. That file IMSICTRL.TLB does not exist in that installation either , but causes no error."
http://bugs.winehq.org/show_bug.cgi?id=13666
Louis Ott louie928@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |louie928@gmail.com
--- Comment #5 from Louis Ott louie928@gmail.com 2008-06-08 12:29:35 --- I installed wine-1.0-0.rc4.mdv2008.1.i586.rpm (I had rc3 before) this morning and tried to start TurboCAD v14 again. This time I got through the dialog boxes that ask for the registration code number. When the main program tried to load, it quit. It still gives an error 2 on not finding the IMSICTRL.TLB file, but that doesn't seem to bother it. I get a couple hundred lines of fixme: like this.
fixme:atl:AtlModuleInit SEMI-STUB (0x576d280 0x576d030 0x5760000) fixme:ole:OLEPictureImpl_QueryInterface () : asking for un supported interface {7fd52380-4e07-101b-ae2d-08002b2ec713}
Also, down near the end.
err:ole:ITypeInfo_fnInvoke did not find member id 0, flags 0x2! err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=3d0000003c, oid=e
What next? Is this just a hopeless case, or is there a solution somewhere?
http://bugs.winehq.org/show_bug.cgi?id=13666
--- Comment #6 from Austin English austinenglish@gmail.com 2008-12-08 04:17:52 --- Is this still an issue in current (1.1.10 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13666
--- Comment #7 from Louis Ott louie928@gmail.com 2008-12-08 13:08:04 --- I don't know. I gave up on WINE and went to VirtualBox and XP. All I wanted WINE for was to run some drawing programs such as TurboCAD, SolidWorks, and Quicken. WINE wouldn't work with any of those. I do everything else in Linux. Maybe the latest version would work and I should give it a try.
http://bugs.winehq.org/show_bug.cgi?id=13666
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #8 from Austin English austinenglish@gmail.com 2008-12-08 16:24:21 --- TurboCAD v15 demo works fine in 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=13666
--- Comment #9 from red team redteam316@gmail.com 2009-06-15 22:36:16 --- Created an attachment (id=21819) --> (http://bugs.winehq.org/attachment.cgi?id=21819) DoubleCAD Install and FirstRun log
This bug apparently affects DoubleCAD XT 1.1 also, which is also made by IMSIsoft.
DoubleCAD XT 1.1 appears to install fine on WINE 1.1.21, yet when firing up the program the first time after activation, it completely hangs and has to be terminated.
err:ole:TLB_ReadTypeLib Loading of typelib L"C:\Program Files\IMSIDesign\DoubleCAD XT\Program\IMSICTRL.TLB" failed with error 2
I've also attached a log of the install and first run.
http://bugs.winehq.org/show_bug.cgi?id=13666
red team redteam316@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |redteam316@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13666
denis bonnenfant denis.bonnenfant@diderot.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |denis.bonnenfant@diderot.or | |g
--- Comment #10 from denis bonnenfant denis.bonnenfant@diderot.org 2010-11-05 05:29:18 CDT --- Sorry, it is comdlg32, not comctl32.
http://bugs.winehq.org/show_bug.cgi?id=13666
--- Comment #11 from denis bonnenfant denis.bonnenfant@diderot.org 2010-11-05 05:31:27 CDT --- sorry, it not the good bug
http://bugs.winehq.org/show_bug.cgi?id=13666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Version|unspecified |1.0-rc3 Resolution| |DUPLICATE Summary|Cannot start TurboCAD v14 |TurboCAD v14 fails to start
--- Comment #12 from Anastasius Focht focht@gmx.net 2011-07-17 02:35:22 CDT --- Hello,
found IMSI.TurboCAD.Deluxe.v14.0 and looked into it...
This is a dupe of bug 5402
--- snip --- ... Unhandled exception: page fault on read access to 0x000000c0 in 32-bit code (0x004806e0). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:004806e0 ESP:0032d2e0 EBP:0032d31c EFLAGS:00210246( R- -- I Z- -P- ) EAX:0032d2f0 EBX:0052aa54 ECX:00000000 EDX:0018fc70 ESI:00003802 EDI:518d1878 Stack dump: 0x0032d2e0: 0032d2f0 00003802 0032d320 00f1b4f9 0x0032d2f0: 0007036e 518eb120 518eb1f0 518eb1f0 0x0032d300: 00000000 00000035 0000006c 00000000 0x0032d310: 00000000 00000690 0000041a 0032d550 0x0032d320: 00480a99 0032d478 00000037 00000000 0x0032d330: 00000000 00762bb8 00000000 00110080 Backtrace: =>0 0x004806e0 in tcw14 (+0x806e0) (0x0032d31c) 1 0x00480a99 in tcw14 (+0x80a98) (0x0032d550) 2 0x00447cd7 in tcw14 (+0x47cd6) (0x0032d618) 3 0x00444e0c in tcw14 (+0x44e0b) (0x0032d630) 4 0x00443843 in tcw14 (+0x43842) (0x0032d84c) 5 0x004802e2 in tcw14 (+0x802e1) (0x0032d934) 6 0x0052adc1 in tcw14 (+0x12adc0) (0x0032dd4c) 7 0x5f401f1b in mfc42 (+0x1f1a) (0x0032ddc8) 8 0x00656cdb in tcw14 (+0x256cda) (0x0032de2c) 9 0x5f401cea in mfc42 (+0x1ce9) (0x0032de4c) 10 0x5f401c73 in mfc42 (+0x1c72) (0x0032deac) 11 0x5f401bfb in mfc42 (+0x1bfa) (0x0032dec8) 12 0x5f401bba in mfc42 (+0x1bb9) (0x0032def4) 13 0x74c6fc3a WINPROC_wrapper+0x19() in user32 (0x0032df24) 14 0x74c6fd8f call_window_proc+0xcd(hwnd=0x30276, msg=0x1, wp=0, lp=0x32e53c, result=0x32e018, arg=0x5f401b81) [/opt/projects/wine/wine-git/dlls/user32/winproc.c:242] in user32 (0x0032df74) 15 0x74c7211b WINPROC_call_window+0x211(hwnd=0x30276, msg=0x1, wParam=0, lParam=0x32e53c, result=0x32e018, unicode=0, mapping=WMCHAR_MAP_SENDMESSAGE) [/opt/projects/wine/wine-git/dlls/user32/winproc.c:908] in user32 (0x0032dfc4) 16 0x74c31513 call_window_proc+0xbf(hwnd=0x30276, msg=0x1, wparam=0, lparam=0x32e53c, unicode=0, same_thread=0x1, mapping=WMCHAR_MAP_SENDMESSAGE) [/opt/projects/wine/wine-git/dlls/user32/message.c:2211] in user32 (0x0032e024) 17 0x74c33df1 send_message+0x138(info=0x32e09c, res_ptr=0x32e0c8, unicode=0) [/opt/projects/wine/wine-git/dlls/user32/message.c:3084] in user32 (0x0032e084) 18 0x74c343b4 SendMessageA+0x5a(hwnd=0x30276, msg=0x1, wparam=0, lparam=0x32e53c) [/opt/projects/wine/wine-git/dlls/user32/message.c:3286] in user32 (0x0032e0d4) 19 0x74c62770 WIN_CreateWindowEx+0xf6d(cs=0x32e53c, className="Afx:400000:8:300f0:0:3023e", module=0x400000, unicode=0) [/opt/projects/wine/wine-git/dlls/user32/win.c:1448] in user32 (0x0032e314) 20 0x74c62c83 CreateWindowExA+0xd0(exStyle=0, className="Afx:400000:8:300f0:0:0", windowName="TurboCAD Deluxe 14", style=0xcf8000, x=0x80000000, y=0x80000000, width=0x80000000, height=0x80000000, parent=(nil), menu=0x30242, instance=0x400000, data=0x0(nil)) [/opt/projects/wine/wine-git/dlls/user32/win.c:1550] in user32 (0x0032e574) 21 0x5f40ddcc in mfc42 (+0xddcb) (0x0032e5e4) 22 0x5f40c376 in mfc42 (+0xc375) (0x0032e624) 23 0x5f40c12d in mfc42 (+0xc12c) (0x0032e664) 24 0x5f412167 in mfc42 (+0x12166) (0x0032e6a8) 25 0x005a8a61 in tcw14 (+0x1a8a60) (0x0032fda0) 26 0x5f40b4f3 in mfc42 (+0xb4f2) (0x0032fe60) ... 0x004806e0: movl 0xc0(%ecx),%edx --- snip ---
App is MFC based, ECX should contain a window class instance ptr at this point.
The app first creates a splash screen and does a lengthy init sequence (loading and init of many plugins). After finishing that sequence it creates the main frame window. The app seems to expect that the main frame window is *active* immediately upon creation. It uses user32.GetActiveWindow() to translate to C++ window class instance data. GetActiveWindow() obviously returns NULL at this point (see bug 5402) hence the class instance data can't be resolved leading to crash (pThis deref).
Regards
*** This bug has been marked as a duplicate of bug 5402 ***
http://bugs.winehq.org/show_bug.cgi?id=13666
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #13 from André H. nerv@dawncrow.de 2011-07-22 12:07:40 CDT --- Closing duplicate.