locked
unobserved_task_exception

    Question


  • Hi,

    I creating a test suite for my library and  i get unobserved_task_exception. Looking at the stack trace  don't found any references to my sources, how can i know what is the cause of this exception?

           KernelBase.dll!755ce09f()       Unknown
           [Frames below may be incorrect and/or missing, no symbols loaded for
    KernelBase.dll]
           KernelBase.dll!755ce09f()       Unknown
    >       msvcr110d.dll!_CxxThrowException(void * pExceptionObject, const _s__ThrowInfo * pThrowInfo) Line 141    C++
           ice34d.dll!Concurrency::details::_ExceptionHolder::~_ExceptionHolder()
    Line 987        C++
           ice34d.dll!Concurrency::details::_ExceptionHolder::`scalar deleting
    destructor'(unsigned int)       C++
           ice34d.dll!std::_Ref_count_obj<Concurrency::details::_ExceptionHolder>::_Destroy()
    Line 867        C++
           ice34d.dll!std::_Ref_count_base::_Decref() Line 102     C++
           ice34d.dll!std::_Ptr_base<Concurrency::details::_ExceptionHolder>::_Decref()
    Line 329        C++
           ice34d.dll!std::shared_ptr<Concurrency::details::_ExceptionHolder>::~shared_ptr<Concurrency::details::_ExceptionHolder>()
    Line 606        C++
           ice34d.dll!Concurrency::details::_Task_impl_base::~_Task_impl_base()
    Line 1215       C++
           ice34d.dll!Concurrency::details::_Task_impl<unsigned
    char>::~_Task_impl<unsigned char>() Line 1934   C++
           ice34d.dll!Concurrency::details::_Task_impl<unsigned char>::`scalar
    deleting destructor'(unsigned int)      C++
           ice34d.dll!std::_Ref_count_obj<Concurrency::details::_Task_impl<unsigned
    char> >::_Destroy() Line 866    C++
           ice34d.dll!std::_Ref_count_base::_Decref() Line 102     C++
           ice34d.dll!std::_Ptr_base<Concurrency::details::_Task_impl<unsigned
    char> >::_Decref() Line 329     C++
           ice34d.dll!std::shared_ptr<Concurrency::details::_Task_impl<unsigned
    char> >::~shared_ptr<Concurrency::details::_Task_impl<unsigned char>
    >() Line 606    C++
           ice34d.dll!Concurrency::details::_PPLTaskHandle<unsigned
    char,Concurrency::task<unsigned
    char>::_ContinuationTaskHandle<void,void,<lambda_65124971d6c6d9e561c25de8ab734f7d>,std::integral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_ContinuationTaskHandleBase>::~_PPLTaskHandle<unsigned
    char,Concurrency::task<unsigned
    char>::_ContinuationTaskHandle<void,void,<lambda_65124971d6c6d9e561c25de8ab734f7d>,std::integral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_ContinuationTaskHandleBase>()      C++
           ice34d.dll!Concurrency::task<unsigned
    char>::_ContinuationTaskHandle<void,void,<lambda_65124971d6c6d9e561c25de8ab734f7d>,std::integral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>::~_ContinuationTaskHandle<void,void,<lambda_65124971d6c6d9e561c25de8ab734f7d>,std::integral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>()        C++
           ice34d.dll!Concurrency::task<unsigned
    char>::_ContinuationTaskHandle<void,void,<lambda_65124971d6c6d9e561c25de8ab734f7d>,std::integral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>::`scalar
    deleting destructor'(unsigned int)      C++
           msvcr110d.dll!Concurrency::details::_UnrealizedChore::_InternalFree(Concurrency::details::_UnrealizedChore
    * _PChore) Line 34      C++
           msvcr110d.dll!Concurrency::details::_TaskCollection::_NotifyCompletedChoreAndFree(Concurrency::details::_UnrealizedChore
    * pChore) Line 1148     C++
           msvcr110d.dll!Concurrency::details::_UnrealizedChore::_UnstructuredChoreWrapper(Concurrency::details::_UnrealizedChore
    * pChore) Line 374      C++
           msvcr110d.dll!Concurrency::details::_UnrealizedChore::_Invoke() Line 4408       C++
           msvcr110d.dll!Concurrency::details::WorkItem::Invoke() Line 172 C++
           msvcr110d.dll!Concurrency::details::InternalContextBase::ExecuteChoreInline(Concurrency::details::WorkItem
    * pWork) Line 1605      C++
           msvcr110d.dll!Concurrency::details::InternalContextBase::Dispatch(Concurrency::DispatchState
    * pDispatchState) Line 1719     C++
           msvcr110d.dll!Concurrency::details::FreeThreadProxy::Dispatch() Line 197        C++
           msvcr110d.dll!Concurrency::details::ThreadProxy::ThreadProxyMain(void
    * lpParameter) Line 171 C++
           kernel32.dll!75902b9d() Unknown
           ntdll.dll!77ea7221()    Unknown
           ntdll.dll!77ea71cd()    Unknown


    Friday, May 25, 2012 5:24 PM

Answers

  • I cannot reproduce the problem with the new release preview.
    • Marked as answer by pepone.onrez Thursday, June 07, 2012 3:18 PM
    Thursday, June 07, 2012 3:18 PM

All replies

  •  

    Hello,

     

    Would you please us the steps to reproduce this issue?

     

    You can upload your project to skydriver

    http://skydrive.live.com/

     

    It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, May 28, 2012 6:28 AM
  • I cannot reproduce the problem with the new release preview.
    • Marked as answer by pepone.onrez Thursday, June 07, 2012 3:18 PM
    Thursday, June 07, 2012 3:18 PM