FS#30315 - [php] Segfault in php-cgi
Attached to Project:
Arch Linux
Opened by Thomas Jost (Schnouki) - Saturday, 16 June 2012, 12:12 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 18 March 2013, 09:29 GMT
Opened by Thomas Jost (Schnouki) - Saturday, 16 June 2012, 12:12 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 18 March 2013, 09:29 GMT
|
Details
Description:
The backent of TinyTinyRSS (tt-rss in AUR) causes the php-cgi to segfault. More details in the PHP bug report (https://bugs.php.net/bug.php?id=61557) or in the Debian bug report (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666200). A patch that fixes this problem is available in the PHP bug report: https://bugs.php.net/patch-display.php?bug_id=61557&patch=CGI-FPM_process_could_crash_when_using_libxml&revision=latest. I've been using it since php 5.4.0 (after getting the same trace as described in the bug report) without any trouble. This bug is quite critical to me since I use tt-rss a lot (and it's almost the only php app on my server). Could you please add the patch in the php PKGBUILD? Additional info: * php >= 5.4.0 * lighttpd 1.4.31, mod_fastcgi enabled * tt-rss 1.5.9 from AUR * from /var/log/lighttpd/error.log: 2012-06-15 17:25:03: (mod_fastcgi.c.2543) unexpected end-of-file (perhaps the fastcgi process died): pid: 30582 socket: unix:/run/lighttpd/lighttpd-fastcgi-php-30546.socket-3 2012-06-15 17:25:03: (mod_fastcgi.c.3329) response not received, request sent: 1642 on socket: unix:/run/lighttpd/lighttpd-fastcgi-php-30546.socket-3 for /rss/backend.php?, closing connection Steps to reproduce: * install lighttpd, php >= 5.4.0, tt-rss * try to use tt-rss * every now and then the backend crashes, making articles disappear in the browser |
This task depends upon
Comment by Pierre Schmitz (Pierre) -
Tuesday, 19 June 2012, 15:28 GMT
This bug needs to get fixed upstream as it does not look related
to Arch. That patch is not even committed to the PHP git repo, so
I'd rather not add it.