| Author |
Message |
digital
Guest
|
Posted:
Wed Sep 15, 2004 6:47 am Post subject:
setClientSite ok in beta, but exception in WMP10 final |
|
|
Hi,
I have a .NET application with Interop that uses a setClientSite on the
WindowsMediaPlayer class
object with a .Net-implemented site object. It worked fine until the final
release of WMP10 (also in WMP9),
but in WMP10 Final it generates a NullReferenceException inside the
setClientSite call.
Before the NullReferenceException is generated I see that within the call to
setClientSite, player
successfully calls back the IWMPRemoteMediaServices methods of my site
object: GetCustomUIMode,
GetApplicationName, GetServiceType, GetScriptableObject, then before the
exception occurs,
I see a call to GetContainer method of my site object.
Does anyone know what could be the potential cause of such change of
behavior? Could it be
because of some new methods in an interface that it calls or perhaps some
previously ignored
invalid values are now important and player expects them to be set?
Any help would be greatly appreciated,
-mobigital
|
|
| Back to top |
|
 |
digital
Guest
|
Posted:
Wed Sep 15, 2004 10:05 am Post subject:
Re: setClientSite ok in beta, but exception in WMP10 final |
|
|
All,
I made some progress on this issue with WinDbg, ran the program through
WinDbg and got the following result:
(e38.ddc): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00149664 ebx=fffffffe ecx=baadf00d edx=0012f3cc esi=001495c0
edi=001495c0
eip=07bfe684 esp=0012f3b0 ebp=0012f3d8 iopl=0 nv up ei pl nz ac pe
cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010213
SYMSRV: c:\WINNT\symbols\WMP.pdb\F28571851B094F56BAC76422AD5F6D7C2\WMP.pdb
not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/WMP.pdb/F28571851B094F56BAC76422AD5F6D7C2/WMP.pdb
not found
DBGHELP: C:\WINNT\Symbols\WMP.pdb - file not found
DBGHELP: C:\WINNT\Symbols\symbols\dll\WMP.pdb - file not found
DBGHELP: C:\WINNT\Symbols\dll\WMP.pdb - mismatched pdb
DBGHELP: C:\WINNT\system32\WMP.pdb - file not found
DBGHELP: WMP.pdb - file not found
DBGHELP: Couldn't load mismatched pdb for C:\WINNT\system32\wmp.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINNT\system32\wmp.dll -
DBGHELP: wmp - export symbols
wmp!DllGetClassObject+0x10f73d:
07bfe684 8b81ac000000 mov eax,[ecx+0xac]
ds:0023:baadf0b9=????????
The exception seems to differ from what VS.NET reported - it's actually
"Access Violation", occured in wmp.dll at this location:
wmp!DllGetClassObject+0x10f73d:
Does anyone know where I can get the up to date wmp.pdb for WMP10 final? my
symbols that come with SP2 seem to mismatch (see debugger messages above),
also it fails to get the right version from Microsoft's symbol download url.
Regards,
-mobigital
"digital" <mobigital-msnews@yahoo.com> wrote in message
news:%23FXTq5smEHA.3868@TK2MSFTNGP11.phx.gbl...
| Quote: | Hi,
I have a .NET application with Interop that uses a setClientSite on the
WindowsMediaPlayer class
object with a .Net-implemented site object. It worked fine until the final
release of WMP10 (also in WMP9),
but in WMP10 Final it generates a NullReferenceException inside the
setClientSite call.
Before the NullReferenceException is generated I see that within the call
to setClientSite, player
successfully calls back the IWMPRemoteMediaServices methods of my site
object: GetCustomUIMode,
GetApplicationName, GetServiceType, GetScriptableObject, then before the
exception occurs,
I see a call to GetContainer method of my site object.
Does anyone know what could be the potential cause of such change of
behavior? Could it be
because of some new methods in an interface that it calls or perhaps some
previously ignored
invalid values are now important and player expects them to be set?
Any help would be greatly appreciated,
-mobigital
|
|
|
| Back to top |
|
 |
digital
Guest
|
Posted:
Wed Sep 15, 2004 10:06 am Post subject:
Re: setClientSite ok in beta, but exception in WMP10 final |
|
|
All,
I made some progress on this issue with WinDbg, ran the program through
WinDbg and got the following result:
(e38.ddc): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00149664 ebx=fffffffe ecx=baadf00d edx=0012f3cc esi=001495c0
edi=001495c0
eip=07bfe684 esp=0012f3b0 ebp=0012f3d8 iopl=0 nv up ei pl nz ac pe
cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010213
SYMSRV: c:\WINNT\symbols\WMP.pdb\F28571851B094F56BAC76422AD5F6D7C2\WMP.pdb
not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/WMP.pdb/F28571851B094F56BAC76422AD5F6D7C2/WMP.pdb
not found
DBGHELP: C:\WINNT\Symbols\WMP.pdb - file not found
DBGHELP: C:\WINNT\Symbols\symbols\dll\WMP.pdb - file not found
DBGHELP: C:\WINNT\Symbols\dll\WMP.pdb - mismatched pdb
DBGHELP: C:\WINNT\system32\WMP.pdb - file not found
DBGHELP: WMP.pdb - file not found
DBGHELP: Couldn't load mismatched pdb for C:\WINNT\system32\wmp.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINNT\system32\wmp.dll -
DBGHELP: wmp - export symbols
wmp!DllGetClassObject+0x10f73d:
07bfe684 8b81ac000000 mov eax,[ecx+0xac]
ds:0023:baadf0b9=????????
The exception seems to differ from what VS.NET reported - it's actually
"Access Violation", occured in wmp.dll at this location:
wmp!DllGetClassObject+0x10f73d:
Does anyone know where I can get the up to date wmp.pdb for WMP10 final? my
symbols that come with SP2 seem to mismatch (see debugger messages above),
also it fails to get the right version from Microsoft's symbol download url.
Regards,
-mobigital
"digital" <mobigital-msnews@yahoo.com> wrote in message
news:%23FXTq5smEHA.3868@TK2MSFTNGP11.phx.gbl...
| Quote: | Hi,
I have a .NET application with Interop that uses a setClientSite on the
WindowsMediaPlayer class
object with a .Net-implemented site object. It worked fine until the final
release of WMP10 (also in WMP9),
but in WMP10 Final it generates a NullReferenceException inside the
setClientSite call.
Before the NullReferenceException is generated I see that within the call
to setClientSite, player
successfully calls back the IWMPRemoteMediaServices methods of my site
object: GetCustomUIMode,
GetApplicationName, GetServiceType, GetScriptableObject, then before the
exception occurs,
I see a call to GetContainer method of my site object.
Does anyone know what could be the potential cause of such change of
behavior? Could it be
because of some new methods in an interface that it calls or perhaps some
previously ignored
invalid values are now important and player expects them to be set?
Any help would be greatly appreciated,
-mobigital
|
|
|
| Back to top |
|
 |
|
|
|
|