[OT] Re: 499 and php-fpm segfaults

Grzegorz Nosek root at localdomain.pl
Mon Nov 29 20:18:47 MSK 2010


(OT rant, feel free to ignore)

W dniu 29.11.2010 18:07, Jérôme Loyet pisze:
> in all the cases, it's not normal that FPM segfaults. If you can open
> a bug report on bugs.php.net it would be helpful.

Frankly? PHP segfaults so often (and for reasons so obscure) I actually 
stopped caring as long as nobody complains. Among other things, 
reference counting is so massively broken that PHP actually relies on 
accessing freed memory. Did you try to run PHP with freed memory 
poisoning (there's a #define for that)?

At my last job we reported some bugs in PHP (some deep in the core, some 
plain easy bugs) and provided fixes but IIRC almost[*] every one of them 
has been ignored, so we gave up and kept our private repo.

* I recall _one_ bugfix we reported that was incorporated into mainline PHP.

TL;DR: PHP is broken, both the software and the process around it.

Best regards,
  Grzegorz Nosek



More information about the nginx-devel mailing list