none
BingMaps hang inside UWP app on 16299.214 RRS feed

  • Question

  • Windows 10 16299.214

    UWP app is hanging while rendering a MapControl. Appears to be a deadlock, or more precisely, a case of holding a lock inappropriately during a DCOM call.

    Crash dump available at https://1drv.ms/u/s!ArS4HFRp-_RCiNVPdIkQ9Mb33C1euQ

    This thread wants a critical section:

    00000085`79bfb408 00007ffa`5f7fc18f ntdll!NtWaitForAlertByThreadId+0x14
    00000085`79bfb410 00007ffa`5f7fbf5b ntdll!RtlpWaitOnAddressWithTimeout+0x43
    00000085`79bfb440 00007ffa`5f7d0c49 ntdll!RtlpWaitOnCriticalSection+0x15f
    00000085`79bfb4f0 00007ffa`5f7d0b60 ntdll!RtlpEnterCriticalSectionContended+0xd9
    00000085`79bfb520 00007ff9`e4c71200 ntdll!RtlEnterCriticalSection+0x40
    00000085`79bfb550 00007ff9`e4c82ef6 BingMaps!Pal::UntypedAsyncOperation::cancel+0x30
    00000085`79bfb590 00007ff9`e4c71211 BingMaps!Pal::StreamReadOperationImplementation::internalCancel+0x166
    00000085`79bfb610 00007ff9`e4c70856 BingMaps!Pal::UntypedAsyncOperation::cancel+0x41
    00000085`79bfb650 00007ff9`e4f4e96c BingMaps!Pal::UntypedAsyncOperationCancelList::cancelAll+0x9e
    00000085`79bfb720 00007ff9`e4f4e914 BingMaps!MapControl::StarFieldDataElement::~StarFieldDataElement+0x3c
    00000085`79bfb760 00007ff9`e4c067bf BingMaps!MapControl::StarFieldDataElement::`vector deleting destructor'+0x14
    00000085`79bfb790 00007ff9`e4c2d766 BingMaps!std::_Ref_count_obj<Pal::AsyncOperation<Pal::DummyType> >::_Destroy+0x1f

    ... but this thread is holding it. Unclear where the DCOM/RPC call is going:

    00000085`1a7fe810 00007ffa`5ed2d75d RPCRT4!NdrClientCall3+0x5f7
    00000085`1a7fec10 00007ffa`5ed88562 combase!ObjectStublessClient+0x13d
    00000085`1a7fefa0 00007ffa`5eccefe7 combase!ObjectStubless+0x42
    00000085`1a7feff0 00007ffa`5ecd4261 combase!CStdMarshal::RemoteAddRef+0x11f
    (Inline Function) --------`-------- combase!CStdMarshal::GetNeededRefs+0x210
    00000085`1a7ff0c0 00007ffa`5ecd45cb combase!CStdMarshal::ConnectCliIPIDEntry+0x551
    00000085`1a7ff190 00007ffa`5ecd50f2 combase!CStdMarshal::MakeCliIPIDEntry+0x15b
    00000085`1a7ff290 00007ffa`5ecd4a86 combase!CStdMarshal::UnmarshalIPID+0xb2
    00000085`1a7ff350 00007ffa`5ecc69ab combase!CStdMarshal::UnmarshalObjRef+0x146
    00000085`1a7ff440 00007ffa`5ec9f0e8 combase!UnmarshalSwitch+0x3b
    00000085`1a7ff470 00007ffa`5ec9ed52 combase!UnmarshalObjRef+0x94
    00000085`1a7ff500 00007ffa`5cdebaf2 combase!CAgileReferenceMarshaled::Resolve+0x62
    00000085`1a7ff550 00007ffa`5cdd1685 shcore!AgileReference_Close+0x3a
    00000085`1a7ff580 00007ff9`e4c77f06 shcore!CRandomAccessStreamOverStream::Close+0x15
    00000085`1a7ff5b0 00007ff9`e4c83390 BingMaps!Pal::RandomAccessStreamWinRT::close+0x106
    00000085`1a7ff740 00007ff9`e4c06a0c BingMaps!Pal::StreamReadOperationImplementation::readComplete+0x20
    00000085`1a7ff770 00007ff9`e4c7142a BingMaps!Pal::AsyncOperation<unsigned int>::callbackFromBaseClass+0x2c
    00000085`1a7ff7a0 00007ff9`e4c71316 BingMaps!Pal::UntypedAsyncOperation::tryComplete+0x6a
    00000085`1a7ff7d0 00007ff9`e4c7e319 BingMaps!Pal::UntypedAsyncOperation::setSucceededOrFailedInternal+0x72

    0:141> !locks
    CritSec +4f4f2890 at 000002564f4f2890
    WaiterWoken        No
    LockCount          1
    RecursionCount     1
    OwningThread       4024
    EntryCount         0
    ContentionCount    1
    *** Locked
    CritSec +40d02050 at 0000025640d02050
    WaiterWoken        No
    LockCount          1
    RecursionCount     1
    OwningThread       f74
    EntryCount         0
    ContentionCount    1
    *** Locked


    • Edited by mfeingol Monday, February 12, 2018 8:54 PM
    Monday, February 12, 2018 8:53 PM

All replies