http://bugs.winehq.org/show_bug.cgi?id=17697
--- Comment #24 from Kenneth Robinette support@securenetterm.com 2010-02-02 16:52:14 --- (In reply to comment #23)
Can't you use divide and conquor? Remove part of your app's sources, see if the problem perists, if not, put them back. Repeat until you have a small program with the problem.
One thing I did note in the WINEDEBUG=+atl trace is AtlIPersistStreamInit_Load is called and that funtion is a dummy one in Wine. Could that be what is really causing the problem and the source of the strange 'RTTI Complete Object Locator' item in the WinDbg output? The following is the WINEDEBUG output:
/home/zkrr01/.wine/drive_c/Program Files/InterSoft International, Inc/SecureNetTerm $ WINDEBUG=+atl wine SecureNetTerm fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:wbemprox:wbem_locator_ConnectServer 0x15d6f8, L"ROOT\CIMV2", (null), (null), (null), 0x00000000, (null), (nil), 0x13bea84) fixme:mountmgr:harddisk_ioctl unsupported ioctl 560000 fixme:wbemprox:wbem_locator_ConnectServer 0x15b660, L"ROOT\CIMv2", (null), (null), (null), 0x00000000, (null), (nil), 0x14bea8c) fixme:mountmgr:harddisk_ioctl unsupported ioctl 560000 fixme:wbemprox:wbem_locator_ConnectServer 0x15b660, L"ROOT\CIMv2", (null), (null), (null), 0x00000000, (null), (nil), 0x13bea8c) fixme:mountmgr:harddisk_ioctl unsupported ioctl 560000 fixme:wbemprox:wbem_locator_ConnectServer 0x15b6b0, L"ROOT\CIMv2", (null), (null), (null), 0x00000000, (null), (nil), 0x14bea8c) fixme:wbemprox:wbem_locator_ConnectServer 0x15b6b0, L"ROOT\WMI", (null), (null), (null), 0x00000000, (null), (nil), 0x13bea84) fixme:atl:AtlModuleInit SEMI-STUB (0x6801beb0 0x6801b6f0 0x68000000) fixme:atl:AtlIPersistStreamInit_Load (0x32df20, 0x6801b958, 0x1b30178, 0x1b301e0) fixme:atl:AtlModuleRegisterWndClassInfoA 0x6801beb0 0x6801b7a8 0x1b301dc semi-stub fixme:dbghelp:fetch_thread_info Couldn't open thread 32 (87) wine: Unhandled page fault on read access to 0x00000098 at address 0x61d2d7 (thread 0009), starting debugger...