WineHQ
Bug Tracking Database – Bug 15286

 Bugzilla

 

Last modified: 2021-02-04 03:33:11 UTC  

Multiple applications need Windows Media Player ActiveX control: CLSID 6bf52a52-394a-11d3-b153-00c04f79faa6 (iMesh 7.x, Amazon mp3 downloader, ...)

Bug 15286 - Multiple applications need Windows Media Player ActiveX control: CLSID 6bf52a52-394a-11d3-b153-00c04f79faa6 (iMesh 7.x, Amazon mp3 downloader, ...)
Multiple applications need Windows Media Player ActiveX control: CLSID 6bf52a...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: wmp&wmvcore
1.1.4
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
https://web.archive.org/web/202102040...
: download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-09-14 06:39 UTC by scguy318
Modified: 2021-02-04 03:33 UTC (History)
6 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: 6cbf44b5e67874618e260dd995e9c43e254921ff
Distribution: ---
Staged patchset:


Attachments
iMesh backtrace (17.30 KB, text/plain)
2008-09-14 06:39 UTC, scguy318
Details
iMesh backtrace (17.47 KB, text/plain)
2009-01-25 05:45 UTC, scguy318
Details
wine 1.5.4 crash with backtrace (13.24 KB, text/plain)
2012-05-18 10:22 UTC, Bruno Jesus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scguy318 2008-09-14 06:39:04 UTC
Created attachment 16093 [details]
iMesh backtrace

With current Git (wine-1.1.4-334-g54d920a), launching the iMesh applications results in a window being shown, but an immediate crash after the window is displayed. A backtrace is attached.
Comment 1 knan-wine 2008-09-14 08:15:28 UTC
6bf52a52-394a-11d3-b153-00c04f79faa6

Looks like a windows media player activex component classid. If you have a windows license, could you try with winetricks wmp9 ?
Comment 2 scguy318 2008-09-14 20:31:25 UTC
Your suggestion was to no effect; I suspect that it's a problem in user32.
Comment 3 Austin English 2009-01-20 02:40:32 UTC
Removing deprecated CVS/GIT version tag. Please retest in current git. If the
bug is still present in today's wine, but was not present in some earlier
version of wine, please update version field to earliest known version of wine
that had the bug. Thanks!
Comment 4 scguy318 2009-01-25 05:45:44 UTC
Created attachment 18979 [details]
iMesh backtrace

Problem still persists in wine-1.1.13-272-gf63d950.
Comment 5 Louis Lenders 2009-11-06 01:53:04 UTC
still present + confirming. winetricks ie6 doesn't help
Comment 6 Niko Sandschneider 2010-07-08 13:07:29 UTC
Still present in wine-1.2-rc6-44-gcd72aef
Comment 7 butraxz 2012-05-18 05:49:48 UTC
This bug has not been updated for two years and OP by four. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
Comment 8 Bruno Jesus 2012-05-18 10:22:33 UTC
Created attachment 40218 [details]
wine 1.5.4 crash with backtrace

Still present in wine 1.5.4.
Comment 9 Anastasius Focht 2013-03-16 16:30:47 UTC
Hello folks,

confirming, still present.
The crash is due to missing Windows Media Player ActiveX component.
Upon installation the application tells that it won't install WMP on it's own but the user needs to do it.
This is a strict requirement for the application.

'winetricks -q wmp9' prevents the crash though the application later complains that a newer WMP version is needed.
Newer versions of iMesh require WMP10/11 which should be installed using 'winetricks' script.

Crash backtrace snippet:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/iMesh Applications/iMesh
...
$ wine ./iMesh.exe
...
err:ole:CoGetClassObject class {6bf52a52-394a-11d3-b153-00c04f79faa6} not registered
err:ole:CoGetClassObject class {6bf52a52-394a-11d3-b153-00c04f79faa6} not registered
err:ole:CoGetClassObject no class object {6bf52a52-394a-11d3-b153-00c04f79faa6} could be created for context 0x3
fixme:dbghelp:elf_search_auxv can't find symbol in module
wine: Unhandled page fault on read access to 0x00000000 at address 0x6089e0 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x006089e0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:006089e0 ESP:0032dd60 EBP:0032dd7c EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:03181b04 ECX:03181afc EDX:0032dd6c
 ESI:03181afc EDI:031818a0
Stack dump:
0x0032dd60:  0032dd6c 031818a0 00000032 00000000
0x0032dd70:  0032ddac 0097bd59 00000000 0032dd8c
0x0032dd80:  006066ca 00000032 03181b70 0032ddb8
0x0032dd90:  00606e52 00000032 00000000 00dc1cc0
0x0032dda0:  00dc1cc8 031818a0 03181b70 0032ddd4
0x0032ddb0:  0097bb09 00000003 0032dde0 0054a271
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x006089e0 in imesh (+0x2089e0) (0x0032dd7c)
  1 0x006066ca in imesh (+0x2066c9) (0x0032dd8c)
  2 0x00606e52 in imesh (+0x206e51) (0x0032ddb8)
...
  43 0x00942638 in imesh (+0x542637) (0x0032fa98)
  44 0x7eba880e WINPROC_wrapper+0x19() in user32 (0x0032fac8)
  45 0x7eba8963 call_window_proc+0xcd(hwnd=0x10098, msg=0x468, wp=0x3130a30, lp=0, result=0x32fc58, arg=0x942604) [/home/focht/projects/wine/wine-git/dlls/user32/winproc.c:243] in user32 (0x0032fb18)
  46 0x7ebaac3d WINPROC_call_window+0x15f(hwnd=0x10098, msg=0x468, wParam=0x3130a30, lParam=0, result=0x32fc58, unicode=0x1, mapping=WMCHAR_MAP_DISPATCHMESSAGE) [/home/focht/projects/wine/wine-git/dlls/user32/winproc.c:900] in user32 (0x0032fb68)
  47 0x7eb6c857 DispatchMessageW+0x1fa() [/home/focht/projects/wine/wine-git/dlls/user32/message.c:3955] in user32 (0x0032fc88)
  48 0x00422c0a in imesh (+0x22c09) (0x0032fccc)
0x006089e0: movl	0x0(%eax),%ecx
Modules:
Module	Address			Debug info	Name (156 modules)
PE	  400000-  bdf000	Export          imesh
PE	 1100000- 1177000	Export          actskn45
PE	 33e0000- 341b000	Deferred        nspr4
PE	 3420000- 350e000	Deferred        nss3
PE	10000000-1005c000	Deferred        resourcesloc
ELF	4cd35000-4cd55000	Deferred        libselinux.so.1
PE	61000000-6101d000	Deferred        discoveryhelper
PE	61700000-6179a000	Deferred        mozsqlite3
...
--- snip ---
 
The relay trace log:

--- snip ---
0024:Call advapi32.RegCreateKeyExW(80000001,00dd1ba0 L"Software\\Microsoft\\MediaPlayer\\Preferences",00000000,00000000,00000000,0002001f,00000000,0032da78,00000000) ret=00492057
0024:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=00492057
0024:Call advapi32.RegQueryValueExW(00000148,015c7f90 L"EnableScreensaver",00000000,0032db1c,00000000,0032db20) ret=00492c8b
0024:Ret  advapi32.RegQueryValueExW() retval=00000000 ret=00492c8b
0024:Call advapi32.RegCloseKey(00000148) ret=00492c94
0024:Ret  advapi32.RegCloseKey() retval=00000000 ret=00492c94
0024:Call advapi32.RegCreateKeyExW(80000001,00dd1ba0 L"Software\\Microsoft\\MediaPlayer\\Preferences",00000000,00000000,00000000,0002001f,00000000,0032da70,00000000) ret=00492057
0024:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=00492057
0024:Call advapi32.RegQueryValueExW(00000148,015c7f90 L"EnableScreensaver",00000000,0032db14,0032dbb0,0032db18) ret=004926ec
0024:Ret  advapi32.RegQueryValueExW() retval=00000000 ret=004926ec
0024:Call advapi32.RegCloseKey(00000148) ret=004926f5
0024:Ret  advapi32.RegCloseKey() retval=00000000 ret=004926f5
0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0x6089e0 ip=006089e0 tid=0024
0024:trace:seh:raise_exception  info[0]=00000000
0024:trace:seh:raise_exception  info[1]=00000000
0024:trace:seh:raise_exception  eax=00000000 ebx=03184c04 ecx=03184bfc edx=0032dbbc esi=03184bfc edi=031849a0
0024:trace:seh:raise_exception  ebp=0032dbcc esp=0032dbb0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246
0024:trace:seh:call_stack_handlers calling handler at 0x97bd59 code=c0000005 flags=0
0024:trace:seh:call_stack_handlers handler at 0x97bd59 returned 1 
--- snip ---

Bad app error handling (missing registry keys due to missing WMP installation).

$ du -sh iMeshV7.exe 
8.4M	iMeshV7.exe

$ sha1sum iMeshV7.exe 
0e4aa7ae0da88b7f69a7daa1bca36f3f2f6c497b  iMeshV7.exe

$ wine --version
wine-1.5.26-19-g6ed2d9b

Making this bug about missing Windows Media Player CLSID and collecting duplicates here -> refining summary.

Overview about WMP ActiveX control interfacing:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd563068%28v=vs.85%29.aspx

Regards
Comment 10 Anastasius Focht 2013-03-16 16:45:07 UTC
Hello,

"Amazon MP3 Downloader" also needs this when the .mp3 file has been downloaded.
It tries to add the downloaded file to the media library by default.

Either install WMP by using 'winetricks -q wmp9' or disable this mechanism in application settings.

App log file:

--- snip ---
[2013-Mar-16 21:33:14] WMP: Remote Registration Failed
--- snip ---

Relay trace log:

--- snip ---
...
0024:Call ole32.CLSIDFromString(00d06b6c L"{6BF52A52-394A-11d3-B153-00C04F79FAA6}",0032f838) ret=0051507b
0024:Ret  ole32.CLSIDFromString() retval=00000000 ret=0051507b
0024:Call oleaut32.SysStringLen(00000000) ret=00515093
0024:Ret  oleaut32.SysStringLen() retval=00000000 ret=00515093
0024:Call ole32.CoCreateInstance(0032f838,00000000,00000001,007c938c,0032f8e8) ret=00515104
...
0024:err:ole:CoGetClassObject class {6bf52a52-394a-11d3-b153-00c04f79faa6} not registered
0024:err:ole:CoGetClassObject no class object {6bf52a52-394a-11d3-b153-00c04f79faa6} could be created for context 0x1
0024:Ret  ole32.CoCreateInstance() retval=80040154 ret=00515104
...
0024:Call oleaut32.SysAllocString(00d03680 L"C:\\users\\focht\\My Music\\Amazon MP3\\Harry Gregson - Williams\\D\00e9j\00e0 Vu\\09 - The Hideout.mp3") ret=0050f228
...
0024:Ret  oleaut32.SysAllocString() retval=00d067b4 ret=0050f228
0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0x512a95 ip=00512a95 tid=0024
0024:trace:seh:raise_exception  info[0]=00000000
0024:trace:seh:raise_exception  info[1]=00000000
0024:trace:seh:raise_exception  eax=00000000 ebx=00cd87e0 ecx=bded28dc edx=00d067b4 esi=0032f98c edi=00cbea30
0024:trace:seh:raise_exception  ebp=0032fa94 esp=0032f95c cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206
0024:trace:seh:call_stack_handlers calling handler at 0x750918 code=c0000005 flags=0
...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00512a95).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00512a95 ESP:0032f95c EBP:0032fa94 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:00cd87e0 ECX:bded28dc EDX:00d067b4
 ESI:0032f98c EDI:00cbea30
Stack dump:
0x0032f95c:  bded2b18 00d0b0e4 00cd87e0 00cd87e0
0x0032f96c:  f742e44e 0032f9e0 7bce3e68 00cbea30
0x0032f97c:  00cbeabc 0032f901 0032fb44 00d03748
0x0032f98c:  00000000 f75b38a3 f7563ae0 f73fc4ab
0x0032f99c:  f7563ff4 0032fa80 7bce3e68 0032f9e0
0x0032f9ac:  f7427a5b 0032f9e0 7eb11190 0032fb58
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x00512a95 in amazonmp3downloader (+0x112a95) (0x0032fa94)
  1 0x004ee05e in amazonmp3downloader (+0xee05d) (0x0032fabc)
  2 0x0051a11e in amazonmp3downloader (+0x11a11d) (0x0032fb08)
...
--- snip ---

Some IWMPxxx vtable deref/method call crash (bad app error handling when control instanciation failed).

Regards
Comment 11 Anastasius Focht 2014-02-07 04:48:18 UTC
Hello folks,

Jacek is working on this.

Last commit was: http://source.winehq.org/git/wine.git/commit/28a1eaedc9626e35f5b23188534e75afcdd0bc35 ("wmp: Added IPersistStreamInit stub implementation")

iMesh 7 hosts the Windows Media Player as ActiveX control requiring a certain amount of control interfaces to be implemented.

PersistStreamInit_InitNew -> needs impl (shortcut S_OK is ok for now)

OleObject_SetClientSite -> needs impl
OleObject_SetExtent -> needs impl
OleObject_GetExtent -> needs impl
OleObject_DoVerb -> needs impl

IOleInPlaceObject needs to be exposed
OleInPlaceObject_SetObjectRects -> needs impl

IWMPPlayerX interface(s) need to be exposed
IWMPCoreX interface(s) need to be exposed

Keep up the good work!

Regards
Comment 12 Jacek Caban 2014-02-25 05:18:54 UTC
The object is present in Git, supports basic embedding and has stubs for core WMP interfaces. Since this bug is about missing ActiveX control, I think we may consider it as fixed. Different applications will probably hit its different missing functionalities now, which deserves separated bug reports.
Comment 13 Alexandre Julliard 2014-03-07 14:12:20 UTC
Closing bugs fixed in 1.7.14.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers