locked
"Remote Desktop connection has stopped working" problem in Windows 8, Please help me! RRS feed

  • Question

  • Recent days, when i used mstsc to connect to a remote win7 computer, "Remote Desktop connection has stopped working" would occur when i open "My computer" or open a folder in "My computer” in the remote system. 

    But it usually worked well if the remote system is win8 except when using mstsc in the remote win8 system. 

    Also there are other operations that will cause the same problem like pasting a website address to the remote ie.

    I have uninstalled the softwares i recently installed but it still didn't work. So i hope to get help from here.

    My system is win8 pro 64bit and it all updated to the latest patches.

    I have seen the same problem described in a post here and Mr Ziegler (@Andre.Ziegler) answered it.

    But I think my problem was not caused by the printer since the problem still occures when i disable all options in "Local devices and resources".

    Can Mr Ziegler (@Andre.Ziegler) or other people help me? Many thanks and best regards!

    Here's the dump file i uploaded.

    https://skydrive.live.com/?cid=df70f3afb8aacdb3&id=DF70F3AFB8AACDB3!317



    • Edited by Klose Rinz Monday, January 14, 2013 6:09 PM
    Monday, January 14, 2013 6:03 PM

Answers

  • an audio codec file is the cause:

    APPLICATION_VERIFIER_HEAPS_CORRUPTED_HEAP_BLOCK_EXCEPTION_RAISED_FOR_PROBING (c)
    Exception raised while verifying the heap block.
    This situation happens if we really cannot determine any particular
    type of corruption for the block. For instance you will get this if
    during a heap free operation you pass an address that points to a
    non-accessible memory area.
    This can also happen for double free situations if we do not find the
    block among full page heap blocks and we probe it as a light page heap block. 
    Arguments:
    Arg1: 0000005076811000, Heap handle used in the call. 
    Arg2: 000000006b134820, Heap block involved in the operation. 
    Arg3: 0000000000000000, Size of the heap block. 
    Arg4: 00000000c0000005, Reserved. 
    
    
    
    ntdll!KiUserExceptionDispatch
    verifier!AVrfpDphFindBusyMemoryNoCheck
    verifier!AVrfpDphFindBusyMemory
    verifier!VerifierCheckPageHeapAllocation
    verifier!AVrfpHeapFree
    bdmpega64!DriverProc
    bdmpega64!DriverProc
    WINMMBASE!DrvClose
    msacm32!IDriverClose
    msacm32!acmDriverClose
    mstscax!FindSuggestedConverter
    mstscax!acmDriverEnumCallbackGetACM
    msacm32!acmDriverEnum
    mstscax!CFormatHandler::SetDriver
    mstscax!CAudioMaster::AddFormat
    mstscax!CRdpAudioPlaybackController::ChooseSoundFormat
    mstscax!CRdpAudioPlaybackController::DataArrived
    mstscax!CRdpAudioPlaybackChannelCallback::OnDataReceived
    mstscax!CDynVCChannel::InvokeCallback
    mstscax!CDynVCChannel::OnData
    mstscax!CDynVCPlugin::OnStaticDataReceived
    mstscax!CStaticChannelCallback::OnDataReceived
    mstscax!CMTVCFilter::OnDataAvailable
    mstscax!CMTTunnelFilter::ProcessPayload
    mstscax!CMTTunnelFilter::OnDataAvailable
    mstscax!CTscSslFilter::OnDataAvailable
    mstscax!CTSProtocolHandlerBase::OnDataAvailable
    mstscax!CMTTransportStack::OnDataAvailable
    mstscax!CRdpMTTransport::OnReadCompleted
    mstscax!CRdpUdpStream::ProcessDecoupledNetworkNotification
    mstscax!CRDPENCCONStreamWorker::ProcessNotificationEvents
    mstscax!CRDPENCCONStreamWorker::STATIC_NotificationThreadProc
    mstscax!CTSThread::TSStaticThreadEntry
    mstscax!PAL_System_Win32_ThreadProcWrapper
    verifier!AVrfpStandardThreadFunction
    kernel32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    
    
    
        Image path: C:\Windows\System32\bdmpega64.acm
        Image name: bdmpega64.acm
        Timestamp:        Mon Sep 19 09:07:36 2011 


    From what I can see the file bdmpega64.acm belongs to a tool called http://www.bandicam.com

    Update the tool to the latest version from 24th December 2012:

    http://www.bandicam.com/downloads/

    If this doesn't fix it, remove it or disable Audio in the RDP options.


    "A programmer is just a tool which converts caffeine into code"

    • Marked as answer by Klose Rinz Tuesday, January 15, 2013 8:24 PM
    Tuesday, January 15, 2013 7:28 PM
    Answerer
  • the 32Bit version can be found in the Syswow64 folder:

    "C:\Windows\SysWOW64\mstsc.exe"


    "A programmer is just a tool which converts caffeine into code"

    • Marked as answer by Klose Rinz Saturday, June 8, 2013 10:41 AM
    Tuesday, January 15, 2013 8:17 PM
    Answerer

All replies

  • Hi, the link doesn't work. I can have the permissions to view the data.

    "A programmer is just a tool which converts caffeine into code"

    Monday, January 14, 2013 7:04 PM
    Answerer
  • Hi, the link doesn't work. I can have the permissions to view the data.

    "A programmer is just a tool which converts caffeine into code"

    Sorry, i forgot to share it.

    The new address is as follows: http://sdrv.ms/SzpMed

    Monday, January 14, 2013 7:49 PM
  • WinDbg tells me that you have a heap corruption and we need AppVerifier turn on.

    Copy this text into a new textfile

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\mstsc.exe]
    "GlobalFlag"=dword:02000100
    "PageHeapFlags"=dword:00000003
    
    


    rename it as .reg and import it. Now generate new dumps and upload them.


    "A programmer is just a tool which converts caffeine into code"

    Monday, January 14, 2013 8:04 PM
    Answerer
  • WinDbg tells me that you have a heap corruption and we need AppVerifier turn on.

    Copy this text into a new textfile

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\mstsc.exe]
    "GlobalFlag"=dword:02000100
    "PageHeapFlags"=dword:00000003
    


    rename it as .reg and import it. Now generate new dumps and upload them.


    "A programmer is just a tool which converts caffeine into code"

    Hi, i have uploaded the new dump file.

    see http://sdrv.ms/XahHIv please.  thank you!

    Tuesday, January 15, 2013 9:46 AM
  • an audio codec file is the cause:

    APPLICATION_VERIFIER_HEAPS_CORRUPTED_HEAP_BLOCK_EXCEPTION_RAISED_FOR_PROBING (c)
    Exception raised while verifying the heap block.
    This situation happens if we really cannot determine any particular
    type of corruption for the block. For instance you will get this if
    during a heap free operation you pass an address that points to a
    non-accessible memory area.
    This can also happen for double free situations if we do not find the
    block among full page heap blocks and we probe it as a light page heap block. 
    Arguments:
    Arg1: 0000005076811000, Heap handle used in the call. 
    Arg2: 000000006b134820, Heap block involved in the operation. 
    Arg3: 0000000000000000, Size of the heap block. 
    Arg4: 00000000c0000005, Reserved. 
    
    
    
    ntdll!KiUserExceptionDispatch
    verifier!AVrfpDphFindBusyMemoryNoCheck
    verifier!AVrfpDphFindBusyMemory
    verifier!VerifierCheckPageHeapAllocation
    verifier!AVrfpHeapFree
    bdmpega64!DriverProc
    bdmpega64!DriverProc
    WINMMBASE!DrvClose
    msacm32!IDriverClose
    msacm32!acmDriverClose
    mstscax!FindSuggestedConverter
    mstscax!acmDriverEnumCallbackGetACM
    msacm32!acmDriverEnum
    mstscax!CFormatHandler::SetDriver
    mstscax!CAudioMaster::AddFormat
    mstscax!CRdpAudioPlaybackController::ChooseSoundFormat
    mstscax!CRdpAudioPlaybackController::DataArrived
    mstscax!CRdpAudioPlaybackChannelCallback::OnDataReceived
    mstscax!CDynVCChannel::InvokeCallback
    mstscax!CDynVCChannel::OnData
    mstscax!CDynVCPlugin::OnStaticDataReceived
    mstscax!CStaticChannelCallback::OnDataReceived
    mstscax!CMTVCFilter::OnDataAvailable
    mstscax!CMTTunnelFilter::ProcessPayload
    mstscax!CMTTunnelFilter::OnDataAvailable
    mstscax!CTscSslFilter::OnDataAvailable
    mstscax!CTSProtocolHandlerBase::OnDataAvailable
    mstscax!CMTTransportStack::OnDataAvailable
    mstscax!CRdpMTTransport::OnReadCompleted
    mstscax!CRdpUdpStream::ProcessDecoupledNetworkNotification
    mstscax!CRDPENCCONStreamWorker::ProcessNotificationEvents
    mstscax!CRDPENCCONStreamWorker::STATIC_NotificationThreadProc
    mstscax!CTSThread::TSStaticThreadEntry
    mstscax!PAL_System_Win32_ThreadProcWrapper
    verifier!AVrfpStandardThreadFunction
    kernel32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    
    
    
        Image path: C:\Windows\System32\bdmpega64.acm
        Image name: bdmpega64.acm
        Timestamp:        Mon Sep 19 09:07:36 2011 


    From what I can see the file bdmpega64.acm belongs to a tool called http://www.bandicam.com

    Update the tool to the latest version from 24th December 2012:

    http://www.bandicam.com/downloads/

    If this doesn't fix it, remove it or disable Audio in the RDP options.


    "A programmer is just a tool which converts caffeine into code"

    • Marked as answer by Klose Rinz Tuesday, January 15, 2013 8:24 PM
    Tuesday, January 15, 2013 7:28 PM
    Answerer
  • Many thanks. That's indeed the source of the problem.

    I have another question: How can i use a 32bit version of  mstsc in a 64bit win8? 

    The reverse VPN in our school can only allow the 32bit application to pass through, which made me unable to log in a remote computer at school when i am at home. In win7, i used to use a 32bit version of mstsc extracted from windows server 2003. Unfortunately, it failed in win8 since whatever version of mstsc i use, it would goes to the standard mstsc in win8.

    Tuesday, January 15, 2013 8:06 PM
  • the 32Bit version can be found in the Syswow64 folder:

    "C:\Windows\SysWOW64\mstsc.exe"


    "A programmer is just a tool which converts caffeine into code"

    • Marked as answer by Klose Rinz Saturday, June 8, 2013 10:41 AM
    Tuesday, January 15, 2013 8:17 PM
    Answerer
  • ok, now run regedit.exe go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps and delete the added entries.

    "A programmer is just a tool which converts caffeine into code"

    Wednesday, January 16, 2013 5:48 AM
    Answerer
  • ok, now run regedit.exe go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps and delete the added entries.

    "A programmer is just a tool which converts caffeine into code"

    Yeah, of course i'd done that.

    Really thanks.

    Wednesday, January 16, 2013 7:44 AM
  • the 32Bit version can be found in the Syswow64 folder:

    "C:\Windows\SysWOW64\mstsc.exe"


    "A programmer is just a tool which converts caffeine into code"

    ok, thanks.

    Now i am at school and cannot test it. 

    But I found there's no "(32 bit)" label on the line of  "Remote Desktop" process information in the task manager when i open "C:\Windows\SysWOW64\mstsc.exe". Does that still works?

    Wednesday, January 16, 2013 7:50 AM
  • Should work.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

    Wednesday, January 16, 2013 8:57 AM
  • Should work.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”


    Thanks.
    Wednesday, January 16, 2013 1:21 PM
  • Thank you, thank you, THANK YOU, Andre!

    This file, bdmpega64.acm, has been causing my Remote Desktop connection from Windows 8 to Windows 7 to crash any time I perform certain actions, most notably opening a new explorer.exe process/window. The crashing seems to occur whenever explorer.exe loads the left-hand column that displays "Computer", "Libraries", "Favorites", etc. Maybe it's the "Videos" folder. I don't know.

    In any event, your suggestions (to disable sound in the Remote Desktop session) solved the crashing problem! I had tried everything else!

    Now, if I could just determine how this file was installed... it had to be packaged with a game that I installed recently. I just don't know which one. Ugh!


    • Edited by GeraldCough Thursday, November 14, 2013 2:39 PM
    Thursday, November 14, 2013 2:38 PM