[Bug 13666] TurboCAD v14 fails to start

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 17 02:35:23 CDT 2011


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |focht at 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 at 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 ***

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list