Analysing crash dump in windbg

前端 未结 5 1160
攒了一身酷
攒了一身酷 2021-02-06 03:13

I am using a third party closed source API which throws an exception stating that \"all named pipes are busy\".

I would like to debug this further (rather than just step

5条回答
  •  独厮守ぢ
    2021-02-06 03:37

    This generally happens when a client calls CreateFile for an existing pipe and all the existing pipe instances are busy. At this point CreateFile returns an error and the error code is ERROR_PIPE_BUSY. The right thing at this point is to call WaitNamedPipe with a timeout value to wait for a pipe instance to become available.

    The problem generally happens when more than one client tries to connect to the named pipe at the same time.

提交回复
热议问题