That's a link on the front page of php.net that lists all the changes made in all the releases of php. 4.0.4 just came out, so if this problem is listed in the change log for a fix in 4.0.4 then the fix is just to upgrade, otherwise it may well be a bug report needs filiing.
In fact, there is a bug listed that is similar to yours:
Fixed a bug that could draw the shutdown sequence of the PHP Apache module into an endless loop, under certain circumstances. It could cause Apache processes under Solaris to get stuck, especially when using output buffering. (Zeev)