locked
Release Preview - Crash After Many Frame.Navigate() Calls (0xC000027B)

    Question

  • In the application I'm building we seem to be getting intermittent crashes after doing a lot of navigating within the app.

    The error code is (0xC000027B). I'm not sure if it's related to this issue: http://social.msdn.microsoft.com/Forums/en-GB/winappswithcsharp/thread/eb7da1f6-8291-4894-a649-527f31279aa1

    Message:

    "Unhandled exception at 0x74dbf2a8 (combase.dll) in MyWin8App.exe: 0xC000027B: An application-internal exception has occurred."

    Registers:

    ESP 04D7F53C
    EDI 10676890
    EBX 04D7F258

    Call Stack:                       

    > combase.dll!RoFailFastWithErrorContextInternal(HRESULT hrError, unsigned long cStowedExceptions, _STOWED_EXCEPTION_INFORMATION_V1 * * aStowedExceptionPointers)  Line 853 C++

      Windows.UI.Xaml.dll!CCoreServices::NWDrawTree(HWWalk * pHWWalk, ICoreRenderTarget * pIRenderTarget, VisualTree * pVisualTree, unsigned int uBackgroundColor, unsigned int forceRedraw, unsigned int needsToReleaseHardwareResources, XRECT_WH * prcDirtyRect)  Line 11035 + 0x28 bytes C++

      Windows.UI.Xaml.dll!CCoreServices::NWDrawMainTree(ICoreRenderTarget * pIRenderTarget, unsigned int fForceRedraw, unsigned int needsToReleaseHardwareResources, XRECT_WH * prcDirtyRect)  Line 10764 + 0x178 bytes C++

      Windows.UI.Xaml.dll!CWindowRenderTarget::Draw(ICoreServices * pCore, unsigned int fForceRedraw, XRECT_WH * prcDirtyRect)  Line 124 + 0x27 bytes C++

      Windows.UI.Xaml.dll!CXcpBrowserHost::OnTick()  Line 1097 + 0x3c bytes C++

      Windows.UI.Xaml.dll!CXcpDispatcher::Tick()  Line 1080 + 0x8 bytes C++

      Windows.UI.Xaml.dll!CXcpDispatcher::OnReentrancyProtectedWindowMessage(HWND__ * hwnd, unsigned int msg, unsigned int wParam, long lParam)  Line 613 C++

      Windows.UI.Xaml.dll!CXcpDispatcher::WindowProc(HWND__ * hwnd, unsigned int msg, unsigned int wParam, long lParam)  Line 399 + 0x1f bytes C++

      user32.dll!_InternalCallWinProc@20()  + 0x23 bytes 

      user32.dll!_UserCallWinProcCheckWow@36()  + 0xad bytes 

      user32.dll!_DispatchMessageWorker@8()  + 0xf8 bytes 

      user32.dll!_DispatchMessageW@4()  + 0x10 bytes 

      Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessMessage(int bDrainQueue)  Line 118 C++

      Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessEvents(Windows::UI::Core::CoreProcessEventsOption options)  Line 175 C++

      Windows.UI.Xaml.dll!CJupiterWindow::RunCoreWindowMessageLoop()  Line 393 + 0xb bytes C++

      Windows.UI.Xaml.dll!CJupiterControl::RunMessageLoop()  Line 686 + 0x5 bytes C++

      Windows.UI.Xaml.dll!DirectUI::DXamlCore::RunMessageLoop()  Line 2324 + 0x5 bytes C++

      Windows.UI.Xaml.dll!DirectUI::FrameworkView::Run()  Line 74 C++

      twinapi.dll!`Windows::ApplicationModel::Core::CoreApplicationViewAgileContainer::RuntimeClassInitialize'::`55'::<lambda_41C56E110EA0F879>::operator()(void * pv)  Line 559 C++

      twinapi.dll!`Windows::ApplicationModel::Core::CoreApplicationViewAgileContainer::RuntimeClassInitialize'::`55'::<lambda_41C56E110EA0F879>::<helper_func>(void * pv)  Line 612 + 0xe bytes C++

      SHCore.dll!Microsoft::WRL::Details::EventTargetArray::RuntimeClassInitialize()  + 0x7c3f bytes 

      kernel32.dll!@BaseThreadInitThunk@12()  + 0xe bytes 

      ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes 

      ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes 

    Thanks.





    • Edited by Dan Rigby Thursday, July 12, 2012 9:03 PM
    Thursday, July 12, 2012 8:56 PM

Answers

  • We have a known bug on this.  Not sure if it's the bug listed in the other post, but this one is definitely known.  Thanks for submitting it to us anyway.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    Friday, July 13, 2012 2:09 PM
    Moderator

All replies

  • We have a known bug on this.  Not sure if it's the bug listed in the other post, but this one is definitely known.  Thanks for submitting it to us anyway.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    Friday, July 13, 2012 2:09 PM
    Moderator
  • Matt,

    Thanks for your answer!

    Do you know the cause of the bug and if there are any workarounds?

    This bug is a show stopper for our application.




    • Edited by Dan Rigby Friday, July 13, 2012 2:45 PM
    Friday, July 13, 2012 2:41 PM
  • I don't have any workarounds.  The cause isn't something that you can work with.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    Friday, July 13, 2012 2:57 PM
    Moderator
  • I have found a workaround:

    • Wrapping images in another element, such as a border, appears to resolve the issue.

    The bug appears to occur when there are images that have layout animations applied to them (ex. they are children of a grid, gridview, listview) and you navigate before the animations have completed.

    Thanks.


    • Edited by Dan Rigby Saturday, July 14, 2012 12:52 AM
    • Proposed as answer by dt_cc Thursday, August 09, 2012 3:50 PM
    Saturday, July 14, 2012 12:51 AM
  • Hi Matt,

    Any work aroung on this ?

    we are getting this error , not able tp proceed further, as it is not allowing to navgate and set the collection source .. please suggest

    Regards

    Jayanti

    Monday, August 06, 2012 5:31 AM
  • Has this been fixed in Windows 8 as of March 8, 2013 ?
    Friday, March 08, 2013 7:03 AM
  • Based on some experimenting, I believe it has been fixed in the current version of Windows. (Tested on March 8th, 2013).
    Friday, March 08, 2013 9:54 PM