locked
Application thread hangs at _NLG_Notify

    Question

  • Hi,

    In my C++ metro application, i seeing that sometimes a method invocation hangs at _NLG_Notify, bellow are two different stack traces that show the same problem, note that the two stack traces are from different application invocations. As you can see that is in a custom thread craeted with _beginthreadex, any ideas what could be causing the hang at _NLG_Notify.

    msvcr110d.dll!_NLG_Notify() Line 69     Unknown
    >TestSuite.exe!IceProxy::Test::Exceptions::Thrower::throwUndeclaredA(int a, const std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > * __ctx) Line 2821        C++
    TestSuite.exe!IceProxy::Test::Exceptions::Thrower::throwUndeclaredA(int
    a) Line 1881    C++
    TestSuite.exe!Test::Exceptions::allTests(const
    IceInternal::Handle<Ice::Communicator> & communicator, bool
    collocated) Line 1270   C++
    TestSuite.exe!ExceptionsTestClient::run(const
    IceUtil::Handle<Test::Runnable> & __formal) Line 87     C++
    TestSuite.exe!Test::Application::main(const
    IceUtil::Handle<Test::Runnable> & runnable) Line 99     C++
    TestSuite.exe!exceptionsClient(const IceUtil::Handle<Test::Runnable> &
    runnable) Line 80       C++
    TestSuite.exe!RunnableI::run() Line 144 C++
    iceutil34d.dll!startHook(void * arg) Line 172   C++
    msvcr110d.dll!_callthreadstartex() Line 308     C
    msvcr110d.dll!_threadstartex(void * ptd) Line 291       C
    kernel32.dll!772b2b9d() Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for
    kernel32.dll]
    ntdll.dll!77dc7221()    Unknown
    ntdll.dll!77dc71cd()    Unknown
    
    
    msvcr110d.dll!_NLG_Notify() Line 69     Unknown
    >ice34d.dll!Ice::ConnectionI::finishAsync(IceInternal::SocketOperation operation) Line 1181     C++
    ice34d.dll!IceInternal::ThreadPool::startMessage(IceInternal::ThreadPoolCurrent
    & current) Line 959     C++
    ice34d.dll!IceInternal::ThreadPoolCurrent::startMessage() Line 142      C++
    ice34d.dll!IceInternal::ThreadPoolMessage<Ice::ConnectionI>::IOScope::IOScope(IceInternal::ThreadPoolMessage<Ice::ConnectionI>
    & message) Line 291     C++
    ice34d.dll!Ice::ConnectionI::message(IceInternal::ThreadPoolCurrent &
    current) Line 1209      C++
    ice34d.dll!IceInternal::ThreadPool::run(const
    IceUtil::Handle<IceUtil::Thread> & thread) Line 842     C++
    ice34d.dll!IceInternal::ThreadPool::EventHandlerThread::run() Line 1127 C++
    iceutil34d.dll!startHook(void * arg) Line 172   C++
    msvcr110d.dll!_callthreadstartex() Line 308     C
    msvcr110d.dll!_threadstartex(void * ptd) Line 291       C
    kernel32.dll!772b2b9d() Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for
    kernel32.dll]
    ntdll.dll!77dc7221()    Unknown
    ntdll.dll!77dc71cd()    Unknown

    Wednesday, May 30, 2012 6:47 PM

All replies

  •  

    Hello,

    Would you please provide us the whole codes 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

    Thursday, May 31, 2012 7:19 AM
  • I will try to isolate this problem in a simple project, as my project is very big to upload.

    I have noticed that in my case this problem happens when i run my application inside the debugger, i have non be able to reproduce the issue running the same application from outside the debugger.

    Tuesday, June 5, 2012 5:57 PM