[Bug 28847] LabChart Reader 7.x crashes due to missing wmvcore ' IWMProfileManager2', CLSID '{7a924e51-73c1-494d-8019-23d37ed9b89a}'

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 9 15:07:32 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=28847

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Summary|LabChart Reader fails to    |LabChart Reader 7.x crashes
                   |open files                  |due to missing wmvcore
                   |                            |'IWMProfileManager2', CLSID
                   |                            |'{7a924e51-73c1-494d-8019-2
                   |                            |3d37ed9b89a}'
                URL|http://www.adinstruments.co |https://web.archive.org/web
                   |m/downloads/updates/softupd |/20190309203642/https://fil
                   |ates/LabChartReader-Windows |es.downloadnow.com/s/softwa
                   |/                           |re/11/92/12/79/LabChartRead
                   |                            |er_v7.2.1.msi?token=1552199
                   |                            |701_73393303a8622171c49ecb5
                   |                            |5c6e8fd4b&fileName=LabChart
                   |                            |Reader_v7.2.1.msi
          Component|-unknown                    |wmp&wmvcore
     Ever confirmed|0                           |1

--- Comment #12 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the original download link/vendor site was broken hence I've created a snapshot
of the old LabChartReader v7.x installer using some mirror site with the
Internet archive here:

https://web.archive.org/web/20190309203642/https://files.downloadnow.com/s/software/11/92/12/79/LabChartReader_v7.2.1.msi?token=1552199701_73393303a8622171c49ecb55c6e8fd4b&fileName=LabChartReader_v7.2.1.msi

For the examples I found an existing snapshot in the Internet archive:

https://web.archive.org/web/20110701170139/http://www.adinstruments.com/downloads/datafiles/files/windows/12-Lead-ECG.zip

Installer prerequisites:

* MS .NET Framework 2.0 -> 'winetricks -q dotnet20' (or Wine-Mono).
* workaround for bug 35744 -> 'winetricks -q wsh57'

OP had a broken WINEPREFIX for sure, the winetricks 'wmp10' recipe wasn't
properly applied.
The app makes use of Windows Media components/COM servers.

With proper native Windows Media components installation there was no problem
at all - even with very old Wine versions (see also comment #1). Hence the bug
report was INVALID from start.

To make this bug report still useful, targeting the case of Wine builtin
wmvcore.

Relevant part of trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/ADInstruments/LabChart7Reader

$ WINEDEBUG=+seh,+relay,+wmvcore wine ./LabChart7\ Reader.exe >>log.txt 2>&1
...
0030:Call wmvcore.WMCreateProfileManager(0033e578) ret=02b97b05
0030:trace:wmvcore:WMCreateProfileManager (0x33e578)
...
0030:Ret  wmvcore.WMCreateProfileManager() retval=00000000 ret=02b97b05
0030:fixme:wmvcore:WMProfileManager_QueryInterface Unsupported iface
{7a924e51-73c1-494d-8019-23d37ed9b89a}
0030:trace:seh:raise_exception code=c0000005 flags=0 addr=0x2b97b82 ip=02b97b82
tid=0030
0030:trace:seh:raise_exception  info[0]=00000000
0030:trace:seh:raise_exception  info[1]=00000000
0030:trace:seh:raise_exception  eax=00000000 ebx=01314eac ecx=00000000
edx=7bd1c768 esi=00000000 edi=00000000
0030:trace:seh:raise_exception  ebp=0033e5c0 esp=0033e568 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010246
0030:trace:seh:call_stack_handlers calling handler at 0x2bc88e8 code=c0000005
flags=0
0030:trace:seh:call_stack_handlers handler at 0x2bc88e8 returned 1
0030:trace:seh:call_stack_handlers calling handler at 0x7b7f8b code=c0000005
flags=0
...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x02b97b82).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:02b97b82 ESP:0033e568 EBP:0033e5c0 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:01314eac ECX:00000000 EDX:7bd1c768
 ESI:00000000 EDI:00000000
...
Backtrace:
=>0 0x02b97b82 EntryPoint+0xffffffff() in videorender(7).cfwext (0x0033e5c0)
  1 0x004f3ab2 EntryPoint+0xffffffff() in labchart7 reader (0x012b8560)
0x02b97b82 EntryPoint+0xffffffff in videorender(7).cfwext: movl   
0x0(%esi),%ecx
Modules:
Module    Address            Debug info    Name (182 modules)
PE      340000-  355000    Deferred        boost_thread_138
PE      380000-  3f2000    Deferred        caf
PE      400000-  cb8000    Export          labchart7 reader
PE      cc0000-  e56000    Deferred        owl61vu
PE     1e80000- 1f95000    Deferred        arithmetic(7).cfwext
PE     1fa0000- 2085000    Deferred        cyclicmeasurements(7).cfwext
PE     2090000- 20c7000    Deferred        differential(7).cfwext
PE     20d0000- 2106000    Deferred        digitalfilter(7).cfwext
PE     2110000- 21a0000    Deferred        exportimport(7).cfwext
PE     21a0000- 2357000    Deferred        libsndfile-1
PE     2360000- 239b000    Deferred        integral(7).cfwext
PE     23a0000- 23bf000    Deferred        mru(7).cfwext
PE     23c0000- 240a000    Deferred        notebook(7).cfwext
PE     2410000- 2493000    Deferred        onlinexyplot(7).cfwext
PE     24a0000- 2507000    Deferred        readtext(7).cfwext
PE     2510000- 2717000    Deferred        scopeview(7).cfwext
PE     2720000- 274f000    Deferred        shift(7).cfwext
PE     2750000- 2786000    Deferred        smoothing(7).cfwext
PE     2790000- 2857000    Deferred        softwareupdate(7).cfwext
PE     2860000- 28a3000    Deferred        msvcm90
PE     28b0000- 2a02000    Deferred        spectrumonline(7).cfwext
PE     2a10000- 2b7e000    Deferred        stddeviceman(7).cfwext
PE     2b80000- 2c2b000    Export          videorender(7).cfwext
PE    10000000-10018000    Deferred        xmlsettingsformatter
PE    12000000-121c3000    Deferred        xerces-c_2_8
PE    79000000-79045000    Deferred        mscoree
PE    790c0000-79ba6000    Deferred        mscorlib.ni
PE    79e70000-7a3d1000    Deferred        mscorwks
ELF    7abbb000-7ac86000    Deferred        msvcr80<elf>
  \-PE    7abe0000-7ac86000    \               msvcr80
ELF    7ac86000-7acb2000    Deferred        wmvcore<elf>
  \-PE    7ac90000-7acb2000    \               wmvcore 
...
Threads:
process  tid      prio (all id:s are in hex) 
...
0000002f (D) C:\Program Files\ADInstruments\LabChart7Reader\LabChart7
Reader.exe
    00000037    0
    00000036    0
    00000035    0
    00000034    0
    00000033    0
    00000032    0
    00000031    0
    00000030    0 <== 
...
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/wmvcore/wmvcore_main.c#l99

--- snip ---
  99 static HRESULT WINAPI WMProfileManager_QueryInterface(IWMProfileManager
*iface, REFIID riid, void **ppv)
 100 {
 101     WMProfileManager *This = impl_from_IWMProfileManager(iface);
 102 
 103     if(IsEqualGUID(&IID_IUnknown, riid)) {
 104         TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
 105         *ppv = &This->IWMProfileManager_iface;
 106     }else if(IsEqualGUID(&IID_IWMProfileManager, riid)) {
 107         TRACE("(%p)->(IID_IWMProfileManager %p)\n", This, ppv);
 108         *ppv = &This->IWMProfileManager_iface;
 109     }else {
 110         FIXME("Unsupported iface %s\n", debugstr_guid(riid));
 111         *ppv = NULL;
 112         return E_NOINTERFACE;
 113     }
 114 
 115     IUnknown_AddRef((IUnknown*)*ppv);
 116     return S_OK;
 117 }
--- snip ---

$ sha1sum LabChartReader_v7.2.1.msi 
e473fad2c4e973504bd6c6eee7cd7ffe0a9e71f9  LabChartReader_v7.2.1.msi

$ du -sh LabChartReader_v7.2.1.msi 
22M    LabChartReader_v7.2.1.msi

$ wine --version
wine-4.3-229-g6d82b2f1ad

Regards

-- 
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