ID:               17375
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Debian GNU/Linux
 PHP Version:      4.0CVS-2002-05-23
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

A backtrace really would help for us...

Derick


Previous Comments:
------------------------------------------------------------------------

[2002-05-23 00:42:24] [EMAIL PROTECTED]

proc_open() causes my apache process to segfault when I pass it a
broken descriptorspec array.

An entry in the descriptorspec array of type "file" that has only two
elements (i.e., is missing the third element, the mode with which to
open the file) causes the segfault.

I suggest that:

* proc_open() should return an invalid resource, and a meaningful
warning, instead of segfaulting like this.

* perhaps the mode should default to something if ommitted, instead of
giving a warning, perhaps "r" would be a safe default.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17375&edit=1

Reply via email to