http://bugs.winehq.org/show_bug.cgi?id=32827
Bug #: 32827 Summary: Legrand XL3Pro3 : Crash on launch Product: Wine Version: 1.4.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gogy.sp@gmail.com Classification: Unclassified
Created attachment 43359 --> http://bugs.winehq.org/attachment.cgi?id=43359 wine backtrace
Wine crashes when I launch Legrand XL3Pro3 without any detail. XL3Pro3 is a free soft from Legrand Electrics Company (French) that configure electric installation for home users and pro users
Please see backtrace.txt in attachment
Thx
http://bugs.winehq.org/show_bug.cgi?id=32827
gogy gogy.sp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.legrand.fr/profe | |ssionnels/les-mises-a-jour- | |du-logiciel-xl-pro2_755.htm | |l CC| |gogy.sp@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32827
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2013-01-27 05:22:28 CST --- Not critical. http://bugs.winehq.org/page.cgi?id=fields.html#importance
Please retest in the current development release.
http://bugs.winehq.org/show_bug.cgi?id=32827
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=32827
--- Comment #2 from gogy gogy.sp@gmail.com 2013-01-27 16:28:59 CST --- Thx for change importance field, it was a mistake ! Retested in the current development release (1.5.22) : No more error/crash report window on crash but still crash on every launch ;(
http://bugs.winehq.org/show_bug.cgi?id=32827
--- Comment #3 from gogy gogy.sp@gmail.com 2013-01-29 16:01:03 CST --- after uninstall the software, impossible to reinstall it. The same error occurs...
https://bugs.winehq.org/show_bug.cgi?id=32827
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #4 from roger@mailinator.com --- too old wine
https://bugs.winehq.org/show_bug.cgi?id=32827
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- Anyone willing to test this?
https://bugs.winehq.org/show_bug.cgi?id=32827
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=32827
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |ole32 Summary|Legrand XL3Pro3 : Crash on |Legrand XlPro 3 (MFC app) |launch |crashes on startup (failure | |to load registry-free COM | |servers via app hook, | |'OleCreate' must ignore | |HRESULT of | |'IOleObject::GetMiscStatus' | |) Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Installer prerequisite: 'winetricks -q mfc42' (bug 657)
--- snip --- ... err:module:import_dll Library MFC42.DLL (which is needed by L"C:\users\focht\Temp\is-SMHI8.tmp\LegrandPDFWriter\Setup.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\users\focht\Temp\is-SMHI8.tmp\LegrandPDFWriter\Setup.exe" failed, status c0000135 fixme:exec:SHELL_execute flags ignored: 0x00000100 ... --- snip ---
The installer will additionally download and install VC++ 2008 SP1 runtime on its own.
Another prerequisite, albeit not responsible for the crash:
--- snip --- $ pwd /home/focht/.wine/drive_c/LEG/XLPro2/Communs/bin
$ WINEDEBUG=+tid,+seh,+relay wine ./XlPro3.exe >>log.txt 2>&1 ... 0027:Call KERNEL32.WideCharToMultiByte(00000003,00000000,001b9384 L"C:\LEG\XLPro2\JFR\bases\Produits_Nomenclature_JFR.mdb",ffffffff,013c18e0,00000035,00000000,00000000) ret=78bd57ff 0027:Ret KERNEL32.WideCharToMultiByte() retval=00000000 ret=78bd57ff ... 0027:Call ole32.CoGetClassObject(78b8f848,00000001,00000000,78b63474,0033e780) ret=004e8f0f ... 0027:err:ole:CoGetClassObject class {00000100-0000-0010-8000-00aa006d2ea4} not registered 0027:err:ole:CoGetClassObject no class object {00000100-0000-0010-8000-00aa006d2ea4} could be created for context 0x1 0027:Ret ole32.CoGetClassObject() retval=80040154 ret=004e8f0f ... 0027:Call msvcr100._CxxThrowException(0033e710,78dd43c0) ret=78d1eebc 0027:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033e694) ret=7ec27c1a 0027:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b843fb7 ip=7b843fb7 tid=0027 0027:trace:seh:raise_exception info[0]=19930520 0027:trace:seh:raise_exception info[1]=0033e710 0027:trace:seh:raise_exception info[2]=78dd43c0 0027:trace:seh:raise_exception eax=7b832d8d ebx=0020c2b8 ecx=0000000c edx=0033e5e4 esi=0033e690 edi=0033e650 0027:trace:seh:raise_exception ebp=0033e628 esp=0033e5c4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200212 0027:trace:seh:call_stack_handlers calling handler at 0x78dc0b11 code=e06d7363 flags=1 0027:trace:seh:cxx_frame_handler handling C++ exception rec 0x33e5d0 frame 0x33e71c trylevel -1 descr 0x78de21fc nested_frame (nil) 0027:trace:seh:dump_exception_type flags 0 destr (nil) handler (nil) type info 0x78dd43ac 0027:trace:seh:dump_exception_type 0: flags 1 type 0x78e0bf70 {vtable=0x78b62fc4 name=.PAVCDaoException@@ ()} offsets 0,-1,0 size 4 copy ctor (nil) 0027:trace:seh:dump_exception_type 1: flags 1 type 0x78e06d74 {vtable=0x78b62fc4 name=.PAVCException@@ ()} offsets 0,-1,0 size 4 copy ctor (nil) 0027:trace:seh:dump_exception_type 2: flags 1 type 0x78e08670 {vtable=0x78b62fc4 name=.PAVCObject@@ ()} offsets 0,-1,0 size 4 copy ctor (nil) 0027:trace:seh:dump_exception_type 3: flags 1 type 0x78e08688 {vtable=0x78b62fc4 name=.PAX ()} offsets 0,-1,0 size 4 copy ctor (nil) ... --- snip ---
-> 'winetricks -q jet40' (bug 37484)
Relevant trace leading to crash:
--- snip --- ... 0027:Call KERNEL32.LoadLibraryA(0fda44ed "ole32.dll") ret=0fd97850 0027:Ret KERNEL32.LoadLibraryA() retval=7e3d0000 ret=0fd97850 0027:Call KERNEL32.GetProcAddress(7e3d0000,0fd93a10 "CoCreateGuid") ret=0fd9786e 0027:Ret KERNEL32.GetProcAddress() retval=7e3dce94 ret=0fd9786e 0027:Call KERNEL32.GetProcAddress(7e3d0000,0fd93a1e "CoCreateInstance") ret=0fd9786e 0027:Ret KERNEL32.GetProcAddress() retval=7e3dceac ret=0fd9786e 0027:Call KERNEL32.LoadLibraryA(0fda44f7 "OLEAUT32.dll") ret=0fd97850 0027:Ret KERNEL32.LoadLibraryA() retval=7e1e0000 ret=0fd97850 ... 0027:Call user32.DrawTextW(0004002a,0ebb8208 L"Chargement du module NomencView.NomencView",0000002a,0033f6c0,00000025) ret=787a93c5 ... 0027:Call ole32.OleCreate(0033fbbc,785f31a4,00000001,00000000,13041110,02caa1f0,130410c4) ret=787f7520 ... 0027:Call KERNEL32.FindActCtxSectionGuid(00000001,00000000,00000004,0033f8e8,0033f7dc) ret=7e3f0cbc 0027:Ret KERNEL32.FindActCtxSectionGuid() retval=00000000 ret=7e3f0cbc ... 0027:err:ole:CoGetClassObject class {82f4a4d6-63cb-437b-947d-a81e26d87c67} not registered 0027:err:ole:CoGetClassObject no class object {82f4a4d6-63cb-437b-947d-a81e26d87c67} could be created for context 0x3 0027:Ret ole32.OleCreate() retval=80040154 ret=787f7520 ... 0027:Call msvcr100._CxxThrowException(0033fb14,7886a808) ret=78809887 0027:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033faa4) ret=7ec27c1a 0027:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b843fb7 ip=7b843fb7 tid=0027 0027:trace:seh:raise_exception info[0]=19930520 0027:trace:seh:raise_exception info[1]=0033fb14 0027:trace:seh:raise_exception info[2]=7886a808 0027:trace:seh:raise_exception eax=7b832d8d ebx=00000000 ecx=0000000c edx=0033f9f4 esi=0033faa0 edi=0033fa60 0027:trace:seh:raise_exception ebp=0033fa38 esp=0033f9d4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200216 0027:trace:seh:call_stack_handlers calling handler at 0x78856c5d code=e06d7363 flags=1 0027:trace:seh:cxx_frame_handler handling C++ exception rec 0x33f9e0 frame 0x33fb44 trylevel 0 descr 0x7887835c nested_frame (nil) 0027:trace:seh:dump_exception_type flags 0 destr (nil) handler (nil) type info 0x7886a7f4 0027:trace:seh:dump_exception_type 0: flags 1 type 0x788a08a0 {vtable=0x785f2f54 name=.PAVCOleException@@ ()} offsets 0,-1,0 size 4 copy ctor (nil) 0027:trace:seh:dump_exception_type 1: flags 1 type 0x7889d004 {vtable=0x785f2f54 name=.PAVCException@@ ()} offsets 0,-1,0 size 4 copy ctor (nil) 0027:trace:seh:dump_exception_type 2: flags 1 type 0x7889e90c {vtable=0x785f2f54 name=.PAVCObject@@ ()} offsets 0,-1,0 size 4 copy ctor (nil) 0027:trace:seh:dump_exception_type 3: flags 1 type 0x7889e924 {vtable=0x785f2f54 name=.PAX ()} offsets 0,-1,0 size 4 copy ctor (nil) ... 0027:trace:seh:call_catch_block matched type 0x7886a538 in tryblock 0 catchblock 0 ... 0027:trace:seh:call_catch_block calling catch block 0x78878338 addr 0x787f7130 ebp 0x33fb50 ... 0027:trace:seh:call_catch_block done, continuing at 0x787f714c ... 0027:Call user32.IsRectEmpty(0033fb7c) ret=787fa773 0027:Ret user32.IsRectEmpty() retval=00000000 ret=787fa773 0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0x787fa797 ip=787fa797 tid=0027 0027:trace:seh:raise_exception info[0]=00000000 0027:trace:seh:raise_exception info[1]=00000000 0027:trace:seh:raise_exception eax=13041110 ebx=00010096 ecx=00000000 edx=786288cc esi=130410a0 edi=02ca1a80 0027:trace:seh:raise_exception ebp=0033fb90 esp=0033fb60 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210206 0027:trace:seh:call_stack_handlers calling handler at 0x540e95 code=c0000005 flags=0 0027:trace:seh:call_stack_handlers handler at 0x540e95 returned 1 0027:trace:seh:call_stack_handlers calling handler at 0x54201c code=c0000005 flags=0 0027:trace:seh:call_stack_handlers handler at 0x54201c returned 1 0027:trace:seh:call_stack_handlers calling handler at 0x54264e code=c0000005 flags=0 0027:trace:seh:call_stack_handlers handler at 0x54264e returned 1 0027:trace:seh:call_stack_handlers calling handler at 0x51c7d9 code=c0000005 flags=0 ... Backtrace: =>0 0x787fa797 in mfc100u (+0x20a797) (0x0033fb90) 1 0x004f3384 in xlpro3 (+0xf3383) (0x0033fbe0) 2 0x004f3a90 in xlpro3 (+0xf3a8f) (0x0033fc70) 3 0x004ea271 in xlpro3 (+0xea270) (0x0033fd98) 4 0x7883e3c3 in mfc100u (+0x24e3c2) (0x0033fdac) 5 0x0051c17c in xlpro3 (+0x11c17b) (0x0033fe40) 6 0x7b8680ec call_process_entry+0xb() in kernel32 (0x0033fe58) ... 0x787fa797: movl 0x0(%ecx),%edx Modules: Module Address Debug info Name (189 modules) PE 370000- 39e000 Deferred langcomserver PE 3c0000- 3d6000 Deferred undomgr PE 400000- 73a000 Export xlpro3 PE 28b0000- 28cc000 Deferred refmgr PE 28d0000- 28e2000 Deferred basesrv PE 28f0000- 28fb000 Deferred vbajet32 PE 2900000- 2962000 Deferred expsrv PE 2990000- 299e000 Deferred constantsrv PE 29d0000- 29e4000 Deferred pdcmgr PE b8f0000- b939000 Deferred hostsrv PE b940000- b967000 Deferred prodcomp PE ca70000- ca82000 Deferred bornesmgr PE ca90000- ca9f000 Deferred xlpartfamillesmrg PE caa0000- cacb000 Deferred listedefinitions PE cad0000- cbc8000 Deferred ekinoxe PE cbd0000- cf5c000 Deferred xl3 PE cf60000- cf94000 Deferred propprodmgr PE cfa0000- d097000 Deferred atlantic PE d0a0000- d0ce000 Deferred vignettemgr PE d0d0000- d0ef000 Deferred tarifsmgr PE d0f0000- d100000 Deferred reperagemgr PE d100000- d148000 Deferred traitementsprod PE d150000- d17e000 Deferred catalogmgr PE d180000- d1f2000 Deferred manuel PE d200000- d2c8000 Deferred diagramdoc PE f4e0000- f640000 Deferred xl600 PE f640000- f775000 Deferred xla250 PE f780000- f8b0000 Deferred xl195 PE f8b0000- f8f9000 Deferred lablx3configmgr PE f900000- f9dd000 Deferred produitsdll PE f9e0000- fa07000 Deferred translationserver PE fb10000- fb23000 Deferred famillesdll PE fb30000- fb74000 Deferred nomensrv PE fb80000- fc19000 Deferred rangementsrv PE fc20000- fc41000 Deferred bilanaffairesrv PE fc50000- fcb0000 Deferred arbodoc PE fcb0000- fcf4000 Deferred deterdoc PE fd00000- fd1e000 Deferred deternomenc PE fd20000- fda5000 Deferred chiffragesrv PE fdb0000- fdcb000 Deferred mediavisudoc PE fdd0000- fe12000 Deferred mediavisuxl195 PE fe20000- fe56000 Deferred mediavisumanuel PE fe60000- fea2000 Deferred mediavisuxla250 PE feb0000- fef9000 Deferred mediavisuekinoxe PE ff00000- ff91000 Deferred mediavisuxl3 PE ffa0000- ffea000 Deferred mediavisuxl600 PE 10000000-10239000 Deferred htmlayout PE 15670000-156af000 Deferred mediavisuatlantic PE 156b0000-156f4000 Deferred schemadessin PE 15700000-1573a000 Deferred lablx3srv PE 1b5d0000-1b665000 Deferred mswstr10 PE 1b740000-1b7c8000 Deferred dao360 PE 1b810000-1b84a000 Deferred msjtes40 ELF 41898000-418b6000 Deferred libgcc_s.so.1 PE 5d360000-5d36d000 Deferred mfc100enu PE 785f0000-78a22000 Export mfc100u PE 78b60000-78f8c000 Deferred mfc100 ELF 7b800000-7ba69000 Dwarf kernel32<elf> -PE 7b820000-7ba69000 \ kernel32 ELF 7bc00000-7bcff000 Dwarf ntdll<elf> -PE 7bc30000-7bcff000 \ ntdll ELF 7bf00000-7bf04000 Dwarf <wine-loader> ... Threads: process tid prio (all id:s are in hex) ... 00000026 (D) C:\LEG\XLPro2\Communs\bin\XlPro3.exe 00000041 0 0000002b 0 0000002a 0 00000029 0 00000028 0 00000027 0 <== ... --- snip ---
--- snip --- $ pwd /home/focht/.wine/drive_c/LEG/XLPro2
Binary file Nomenclature/bin/NomencView.dll matches
Fra/dlls.txt:1 NomencView.dll "%PATH%\Nomenclature\bin\NomencView.dll" "%PATH%\Nomenclature\binvdi\NomencView.dll" "%PATH%\Nomenclature\ActiveDoc\NomencView\Debug Unicode\NomencView.dll"
Jfr/dlls.txt:1 NomencView.dll "%PATH%\Nomenclature\bin\NomencView.dll" "%PATH%\Nomenclature\binvdi\NomencView.dll" "%PATH%\Nomenclature\ActiveDoc\NomencView\Debug Unicode\NomencView.dll" --- snip ---
'NomencView.NomencView' (ProgID) is provided by a registry-free COM server 'NomencView.dll'.
What can't be seen in trace is that the app hooks 'ole32.CoCreateInstance' (which is called by 'ole32.OleCreate'), providing an own registry-free COM server resolver/loader.
--- snip --- ... Wine-dbg> 0x7e41c5a1 OleCreate+0xa6 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2584] in ole32: pushl 0x0(%ebx) 2584 hres = CoCreateInstance(rclsid, 0, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER, riid, (LPVOID*)&pUnk);
Wine-dbg> 0x7e41c5a3 OleCreate+0xa8 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2584] in ole32: call 0x7e3f11c8 CoCreateInstance in ole32 2584 hres = CoCreateInstance(rclsid, 0, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER, riid, (LPVOID*)&pUnk);
Wine-dbg> 0x7e3f11c8 CoCreateInstance in ole32: jmp 0x004e8f20
# loads the dll ...
Wine-dbg>info share Module Address Debug info Name (190 modules) ... PE ef50000- efea000 Deferred nomencview ...
Wine-dbg> 0x004e8fd3: popl %ebp
Wine-dbg> 0x004e8fd4: ret $0x14
Wine-dbg> 0x0ef79461: ret $0x10
Wine-dbg> 0x004e8f92: jmp 0x004e8fab
Wine-dbg> 0x004e8fd4: ret $0x14
Wine-dbg> 0x7e41c5a8 OleCreate+0xad [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2584] in ole32: addl $12,%esp 2584 hres = CoCreateInstance(rclsid, 0, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER, riid, (LPVOID*)&pUnk);
... Wine-dbg>p hres 0
Wine-dbg> 0x7e41c5d0 OleCreate+0xd5 [/home/focht/projects/wine/wine.repo/build-x86/dlls/ole32/../../include/objidl.h:5257] in ole32: call *%eax 5257 return This->lpVtbl->SetClass(This,clsid);
...
Wine-dbg> 0x7e41c5e2 OleCreate+0xe7 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2589] in ole32: js 0x7e41c653 OleCreate+0x158 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2599] in ole32 2589 if (pClientSite && SUCCEEDED(hres))
Wine-dbg> 0x7e41c5e4 OleCreate+0xe9 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2591] in ole32: movl 0xffffff50(%ebp),%eax 2591 hres = IUnknown_QueryInterface(pUnk, &IID_IOleObject, (LPVOID*)&pOleObject);
...
Wine-dbg> 0x7e41c64b OleCreate+0x150 [/home/focht/projects/wine/wine.repo/build-x86/dlls/ole32/../../include/oleidl.h:3297] in ole32: call *%eax 3297 return This->lpVtbl->GetMiscStatus(This,dwAspect,pdwStatus);
Wine-dbg> fixme:winedbg:be_i386_is_jump unknown 55 0x0ef77460: pushl %ebp
... Wine-dbg> 0x0ef7746b: pushl $0xefb3270
Wine-dbg> 0x0ef77470: call *0xefaf250 -> 0x7e41985e OleRegGetMiscStatus [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:873] in ole32
... Wine-dbg> 0x0ef77477: ret $0xc
Wine-dbg> OleCreate () at /home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2595 0x7e41c650 OleCreate+0x155 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2595] in ole32: movl %eax,0xffffffe4(%ebp) 2595 hres = IOleObject_GetMiscStatus(pOleObject, DVASPECT_CONTENT, &dwStatus);
Wine-dbg> 0x7e41c653 OleCreate+0x158 [/home/focht/projects/wine/wine.repo/src/dlls/ole32/ole2.c:2599] in ole32: cmpl $0,0xffffffe4(%ebp) 2599 if (SUCCEEDED(hres))
Wine-dbg>p hres 0x80040154
--- snip ---
0x80040154 -> REGDB_E_CLASSNOTREG
The COM server 'IOleObject::GetMiscStatus' method implementation calls Wine's 'ole32.OleRegGetMiscStatus' which operates on registry data. Since the COM server is registry-free the HRESULT is expected.
Source:
http://source.winehq.org/git/wine.git/blob/80c53b33fd0145e94ab92201e4071cb84...
--- snip --- 2568 HRESULT WINAPI OleCreate( 2569 REFCLSID rclsid, 2570 REFIID riid, 2571 DWORD renderopt, 2572 LPFORMATETC pFormatEtc, 2573 LPOLECLIENTSITE pClientSite, 2574 LPSTORAGE pStg, 2575 LPVOID* ppvObj) 2576 { ... 2589 if (pClientSite && SUCCEEDED(hres)) 2590 { 2591 hres = IUnknown_QueryInterface(pUnk, &IID_IOleObject, (LPVOID*)&pOleObject); 2592 if (SUCCEEDED(hres)) 2593 { 2594 DWORD dwStatus; 2595 hres = IOleObject_GetMiscStatus(pOleObject, DVASPECT_CONTENT, &dwStatus); 2596 } 2597 } 2598 2599 if (SUCCEEDED(hres)) 2600 { 2601 IPersistStorage * pPS; 2602 if (SUCCEEDED((hres = IUnknown_QueryInterface(pUnk, &IID_IPersistStorage, (LPVOID*)&pPS)))) 2603 { 2604 TRACE("trying to set stg %p\n", pStg); 2605 hres = IPersistStorage_InitNew(pPS, pStg); 2606 TRACE("-- result 0x%08x\n", hres); 2607 IPersistStorage_Release(pPS); 2608 } 2609 } 2610 2611 if (pClientSite && SUCCEEDED(hres)) 2612 { 2613 TRACE("trying to set clientsite %p\n", pClientSite); 2614 hres = IOleObject_SetClientSite(pOleObject, pClientSite); 2615 TRACE("-- result 0x%08x\n", hres); 2616 } ... --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/80c53b33fd0145e94ab92201e4071cb84...
I changed 'OleCreate' to ignore the HRESULT of 'IOleObject::GetMiscStatus' and it made the app fully working.
--- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13 Ready... Scanning -> Z:\home\focht\Downloads\XLPRO3_FRA_3402_b8.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 140995968 (08676D80h) Byte(s) Compilation TimeStamp : 0x524B9C57 -> Wed 02nd Oct 2013 04:08:55 (GMT) [TimeStamp] 0x524B9C57 -> Wed 02nd Oct 2013 04:08:55 (GMT) | PE Header | - | Offset: 0x00000100 | VA: 0x00400100 | - -> File Appears to be Digitally Signed @ Offset 08676528h, size : 0858h / 02136 byte(s) -> File has 140181288 (085AFF28h) bytes of appended data starting at offset 0C6600h [!] Executable uses SEH Tables (/SAFESEH) (399 calculated 399 recorded... 0 invalid addresses) [File Heuristics] -> Flag #1 : 00000000000001001000000000000100 (0x00048004) [Entrypoint Section Entropy] : 6.58 (section #0) ".text " | Size : 0x66F49 (421705) byte(s) [DllCharacteristics] -> Flag : (0x8000) -> TSA [SectionCount] 4 (0x4) | ImageSize 0xCB000 (831488) byte(s) [VersionInfo] Company Name : Legrand [VersionInfo] Product Name : InstallShield [VersionInfo] Product Version : 3.4.02 [VersionInfo] File Description : InstallScript Setup Launcher Unicode [VersionInfo] File Version : 3.4.02 [VersionInfo] Original FileName : InstallShield Setup.exe [VersionInfo] Internal Name : Setup [VersionInfo] Legal Copyrights : Copyright (c) 2013 Flexera Software LLC. All Rights Reserved. [-= Installer =-] InstallShield v3.4.2.0 Setup Module [CompilerDetect] -> Visual C++ 9.0 (Visual Studio 2008) - Scan Took : 0.307 Second(s) [000000133h (307) tick(s)] [558 of 573 scan(s) done]
Scanning -> C:\LEG\XLPro2\Communs\bin\XlPro3.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 3305024 (0326E40h) Byte(s) Compilation TimeStamp : 0x555DA088 -> Thu 21st May 2015 09:08:24 (GMT) [TimeStamp] 0x555DA088 -> Thu 21st May 2015 09:08:24 (GMT) | PE Header | - | Offset: 0x00000120 | VA: 0x00400120 | - -> File Appears to be Digitally Signed @ Offset 0326600h, size : 0840h / 02112 byte(s) [!] Executable uses SEH Tables (/SAFESEH) (1243 calculated 1243 recorded... 0 invalid addresses) [File Heuristics] -> Flag #1 : 00000000000001001001000000000100 (0x00049004) [Entrypoint Section Entropy] : 6.39 (section #0) ".text " | Size : 0x146F0C (1339148) byte(s) [DllCharacteristics] -> Flag : (0x8140) -> ASLR | DEP | TSA [SectionCount] 5 (0x5) | ImageSize 0x33A000 (3383296) byte(s) [VersionInfo] Product Name : Xlpro3 [VersionInfo] Product Version : 3.4.0.2 [VersionInfo] File Description : Legrand XlPro 3 [VersionInfo] File Version : 3.4.0.2 [VersionInfo] Original FileName : Xlpro3.exe [VersionInfo] Internal Name : Xlpro [VersionInfo] Legal Copyrights : Copyright Legrand 2015 [CdKeySerial] found "SerialNumber" @ VA: 0x00155F02 / Offset: 0x00155302 [CdKeySerial] found "SerialNumber" @ VA: 0x001CF206 / Offset: 0x001CDC06 [CompilerDetect] -> Visual C++ 10.0 (Visual Studio 2010) [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.698 Second(s) [0000002BAh (698) tick(s)] [499 of 573 scan(s) done] --- snip ---
$ sha1sum XLPRO3_FRA_3402_b8.exe 06c47079634db5c41e553be707e8f156d928c949 XLPRO3_FRA_3402_b8.exe
$ du -sh XLPRO3_FRA_3402_b8.exe 135M XLPRO3_FRA_3402_b8.exe
$ wine --version wine-1.8-rc3-53-g97ac9d4
Regards
https://bugs.winehq.org/show_bug.cgi?id=32827
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Just to be clear, OleRegGetMiscStatus() first checks activation context before going through registry. So using it in both scenarios is reasonable. However from your log FindActCtxSectionGuid() is failing, does it mean this custom loading/resolving process does not include actual activation context driven registry-free configuration?
P.S. downloading this thing right now, will take a look at this particular part.
https://bugs.winehq.org/show_bug.cgi?id=32827
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Nikolay
--- quote --- However from your log FindActCtxSectionGuid() is failing, does it mean this custom loading/resolving process does not include actual activation context driven registry-free configuration? --- quote ---
that's what I suspected first but it doesn't play a role here. There is no app manifest data for those COM servers, just plain Common Controls v6. The hooking of 'ole32.CoCreateInstance' essentially replaces this functionality.
Regards
https://bugs.winehq.org/show_bug.cgi?id=32827
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Ok, thanks, I'm working on fixing this.
https://bugs.winehq.org/show_bug.cgi?id=32827
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Committed as http://source.winehq.org/git/wine.git/?a=commit;h=73008a6c04e9284e617bd40074.... If someone could retest this it would be great.
https://bugs.winehq.org/show_bug.cgi?id=32827
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |73008a6c04e9284e617bd400749 | |1c304b8efd2c3 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=32827
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=32827
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.6.
https://bugs.winehq.org/show_bug.cgi?id=32827
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #13 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.