go to bug id or search bugs for
When running httpd I got the following error:
Floating point exception - core dumped.
After analysing of core file I found that error is here:
srand48((unsigned int) time(0) * getpid() * (php_combined_lcg() * 10000.0));
I have changed this line with:
srand48((long)time(0) * (long)getpid() * (long)(php_combined_lcg() * 10000.0));
and error disappeared...
Add a Patch
Add a Pull Request
This is fixed already. Try latest snapshot from
This was NOT fixed in cvs. Another user reported the segfault, after changing the suggested line, it compiled and worked fine.
Fixed in CVS now.