#224 cpptasks hangs reading long paths with cygwin

closed
cpptasks (103)
5
2008-07-10
2008-07-10
David Haney
No

cpptasks appear to hang on Windows with the cygwin g++ compiler when attempting to determine the include search paths.

This appears to be happening in the CaptureStreamHandler, when it attempts to read from the error output, and then from the standard output. If the process writes enough data to standard output, it will block until the data is read, however the code to read from standard output is blocked reading from standard error, resulting in a deadlock.

Discussion

  • David Haney

    David Haney - 2008-07-10

    Logged In: YES
    user_id=1140024
    Originator: YES

    Fixed in svn revision 172.

    CaptureStreamHandler was updated to use threads in order to read from the processes stderr and stdout simultaneously.

     
  • David Haney

    David Haney - 2008-07-10
    • status: open --> closed
     

Log in to post a comment.