Bug 317362 (MONO73228) - Method WaitForExit in class System.Diagnostics.Process (System assembly) is blocking forever
Summary: Method WaitForExit in class System.Diagnostics.Process (System assembly) is b...
Status: RESOLVED MOVED
Alias: MONO73228
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Blocker
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 21:47 UTC by Rafael Teixeira
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:09:41 UTC


---- Reported by rafaelteixeirabr@hotmail.com 2005-03-02 14:47:27 MST ----

Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:

With current SVN HEAD:

Spawn a child process, redirecting it's output, and call the method before
closing the child process. It will wait forever.

It was detected while using the gnuchess engine with the csboard program,
but then I was able to reproduce the problem with mbas and mcs

Steps to reproduce the problem:
1. type 'mcs -pkg:xxx'
2. it will show the error message:

Package xxx was not found in the pkg-config search path.
Perhaps you should add the directory containing `xxx.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xxx' found

3. Then it just stops. It's waiting forever as this tail of tracing it shows:
. . . . ENTER: (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:WaitForExit
()(this:0x886efa0[System.Diagnostics.Process mcs.exe], )
. . . . . ENTER: System.Diagnostics.Process:WaitForExit
()(this:0x886efa0[System.Diagnostics.Process mcs.exe], )
. . . . . . ENTER: (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:WaitForExit_internal
(intptr,int)(this:0x886efa0[System.Diagnostics.Process mcs.exe], 0x463, -1, )
. . . . . . . ENTER: (wrapper managed-to-native)
System.Diagnostics.Process:WaitForExit_internal
(intptr,int)(this:0x886efa0[System.Diagnostics.Process mcs.exe], 0x463, -1, )


Actual Results:
mcs with -pkg: hangs

Expected Results:
continuing the processing

How often does this happen? 
always

Additional Information:



---- Additional Comments From dick@ximian.com 2005-03-03 13:26:21 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO73227 ***


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Fedora Core 2</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"