ID: 9106
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Reproduceable crash
Assigned To: 
Comments:

This is fixed in CVS. Try latest CVS snapshot from http://snaps.php.net/

--Jani


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

[2001-02-05 17:13:48] [EMAIL PROTECTED]
the change helps, but today i managed another FPE.
so there's something else to be fixed here.

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

[2001-02-05 04:02:51] [EMAIL PROTECTED]
I have suffered from 

/kernel: pid 69000 (httpd), uid 99: exited on signal 8

repeatedly in any php script whose guts wind up calling
rand(). The fix is supposedly fpsetmask(0) instead of
the current code in zend.c, but this would only work
for me if I set apache's MaxRequestsPerChild to one.

As might be expected, this is because the fix, if placed
in zend_startup, is effective ONLY for
the first request served from that httpd (in DSO mode. CGI obviously would not care). 
If you place
the fpsetmask(0) call at the beginning of zend_activate_modules, subsequent requests 
will benefit
and the signal 8 crashes cease.


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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9106&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to