That may be misleading. I think I had an already hung copy of inproc still in memory. When I repeat the experiment when sure that only 1 copy of inproc is in memory I am getting the following: ntdll.dll!7783f921() Unknown [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ws2_32.dll!76c66a28() Unknown > nanomsg.dll!nn_efd_unsignal(nn_efd * self=0x00000001) Line 213 C inproc.exe!main(...) Line 86 C inproc.exe!__tmainCRTStartup() Line 536 C inproc.exe!mainCRTStartup() Line 377 C kernel32.dll!76d6336a() Unknown ntdll.dll!77859f72() Unknown ntdll.dll!77859f45() Unknown Jeff Archer Vice President of Software Engineering Nanotronics Imaging jsarcher@xxxxxxxxxxxxxxxxxxxxxx <330>819.4615 On Thu, Sep 26, 2013 at 9:22 AM, Jeff Archer < jsarcher@xxxxxxxxxxxxxxxxxxxxxx> wrote: > I have run inproc from command prompt and attached debugger after it is > hung. > Here is stack: > > > nanomsg.dll!nn_sock_onleave(nn_ctx * self=0x004c9ba8) Line 650 C > nanomsg.dll!nn_ctx_leave(nn_ctx * self=0x004c9ba8) Line 68 C > nanomsg.dll!nn_sock_send(nn_sock * self=0x004c9b68, nn_msg * > msg=0x003df6bc, int flags=0) Line 544 C > nanomsg.dll!nn_send(int s=1, const void * buf=0x010a94c4, unsigned int > len=10, int flags=0) Line 522 C > inproc.exe!main(...) Line 86 C > inproc.exe!__tmainCRTStartup() Line 536 C > inproc.exe!mainCRTStartup() Line 377 C > kernel32.dll!76d6336a() Unknown > [Frames below may be incorrect and/or missing, no symbols loaded for > kernel32.dll] > ntdll.dll!77859f72() Unknown > ntdll.dll!77859f45() Unknown > > > > Jeff Archer > Vice President of Software Engineering > Nanotronics Imaging > jsarcher@xxxxxxxxxxxxxxxxxxxxxx > <330>819.4615 > > > On Thu, Sep 26, 2013 at 9:20 AM, Jeff Archer < > jsarcher@xxxxxxxxxxxxxxxxxxxxxx> wrote: > >> For my information, where can I find the generated script? >> >> >> Jeff Archer >> Vice President of Software Engineering >> Nanotronics Imaging >> jsarcher@xxxxxxxxxxxxxxxxxxxxxx >> <330>819.4615 >> >> >> On Thu, Sep 26, 2013 at 9:15 AM, Martin Sustrik <sustrik@xxxxxxxxxx>wrote: >> >>> On 26/09/13 15:08, Jeff Archer wrote: >>> >>>> inproc does not hang when I run it under the debugger. >>>> >>>> Where do I find the script or whatever that executes inproc when I build >>>> the RUN_TESTS project? >>>> >>> >>> It's generated by CMake. But, AFAIK, it doesn't do anything except >>> running individual tests. >>> >>> I would say that the problem disappears because of different timing when >>> run under debugger. >>> >>> Martin >>> >> >> >