Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 988769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:41:07+00:00 2026-05-16T05:41:07+00:00

My WPF app seems to be crashing when I flip a media element around

  • 0

My WPF app seems to be crashing when I flip a media element around quickly.
Debugging with WinDbg shows it as crashing with the following stack trace:

0:028:x86> k 20
ChildEBP RetAddr  
15aff648 07acb2a9 wmp!CMGSessionHost::GetPDFromTopologySourceNode0+0xb
15aff670 07a080fc wmp!CMGSessionHost::IsWindowsMediaContent+0x8a
15aff688 07acd838 wmp!CMGPlayer::HandleOnError+0x2b
15aff6d8 07c9270c wmp!CMGSessionHost::HandleTopologySet+0x583
15aff714 07c928b9 wmp!CMGSessionHost::OnDShowSourceCreated+0x82
15aff720 6e701f7b wmp!CMGSessionHost::OnDShowSourceCreatedAsyncCallback::Invoke+0x16
15aff730 6e701b3c MFPlat!CCompletionPort::InvokeCallback+0x12
15aff838 6e708cab MFPlat!CWorkQueue::CThread::ThreadMain+0xa5
15aff840 74e71287 MFPlat!CWorkQueue::CThread::ThreadFunc+0xd
15aff878 74e71328 msvcrt!_endthreadex+0x44
15aff880 76473677 msvcrt!_endthreadex+0xce
15aff88c 76f79d72 KERNEL32!BaseThreadInitThunk+0xe
15aff8cc 76f79d45 ntdll_76f40000!__RtlUserThreadStart+0x70
15aff8e4 00000000 ntdll_76f40000!_RtlUserThreadStart+0x1b
0:028:x86> u 7a00881
wmp!CMGSessionHost::GetPDFromTopologySourceNode0:
07a00881 8bff            mov     edi,edi
07a00883 55              push    ebp
07a00884 8bec            mov     ebp,esp
07a00886 83ec0c          sub     esp,0Ch
07a00889 8b4508          mov     eax,dword ptr [ebp+8]
07a0088c 8b08            mov     ecx,dword ptr [eax]
07a0088e 56              push    esi
07a0088f 57              push    edi
0:028:x86> r
eax=00000000 ebx=00000000 ecx=15aff668 edx=00010000 esi=00000000 edi=05c53460
eip=07a0088c esp=15aff63c ebp=15aff648 iopl=0         nv up ei pl nz ac pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010216
wmp!CMGSessionHost::GetPDFromTopologySourceNode0+0xb:
07a0088c 8b08            mov     ecx,dword ptr [eax]  ds:002b:00000000=????????

Which to me looks like the callback from the interior of windows media player after it has opened the media is falling over with null pointer because I’ve changed the source too quickly.

I am stopping the current video before I change over the source, however I’m wondering if I should wait until I’ve gotten back a MediaOpened event before I change the source again.

Anyone else run into this and if so how did they fix it?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:41:07+00:00Added an answer on May 16, 2026 at 5:41 am

    I opened a support case with Microsoft on this and got back a hot fix, note in my case it was specific to playing back XVID / DIVX files.

    http://support.microsoft.com/kb/981880

    My guess is that the XVID codec was opening everything twice and closing it down once leaving behind some pointers and some open file handles as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have begun creating a wpf mvvm app. It seems a vital ingredient to
I have a WPF app with a few Tabs. I'm now messing around with
I have a wpf app that shows 5 different usercontrols as you go through
My WPF app uses Log4Net to record messages to the event viewer. This is
My wpf app is eating memory every time the ItemsSource of a TreeView is
In my wpf app, I have a datagrid as follows <Custom:DataGrid x:Name=dg_nba IsEnabled={Binding Iseditmode}
I have a WPF App that implements a ListView. I would like to show
I'm building a WPF app using pages and the navigation service. One of the
We've got a WPF app we'd like to run automated smoke tests on it.
I am running a WPF app with a remote server setup but getting The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.