[php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes after update to php 5.4

Thomas Renard cybaer42 at web.de
Thu Mar 29 16:55:02 UTC 2012

Package: php5-cgi
Version: 5.4.0-3
Severity: normal

Dear Maintainer,

this problem occurs with the non debian package tt-rss trunk:
commit c20b5168b5a9103e1a2633973492c89fa03a5a57
against postgresql via php5-pgsql

After upgrading to php5 5.4.0 this application crashes php-cgi with
sporadic segfaults when calling the json backend.php of this system.
I tried to remove any tunings in php.ini.

I removed php5-xcache due to known issues (#665006) but the segfaults
still occur. Stuff done with standard distribution

 * apt-get install lighttpd php5-cgi postgres php5-pgsql
 * lighty-enable-mod fastcgi
 * lighty-enable-mod fastcgi-php
 * lighty-enable-mod pgsql


 * Git clone above git to /var/lib/tt-rss
 * lighty config: alias.url += ( "/tt"  => "/var/lib/tt-rss" )
 * create a postgres database and fill it with tt-rss' sql scheme
 * configure tt-rss (set database parameter in config.php)
 * restart lighttpd
 * open browser and use this application

Expected outcome:

 * Working with the application without problems

Actual outcome:

 * syslog reports: php-cgi segfault
 * lighttpd reports: connection failure to php-cgi
 * application reports: wrong header file

This application loads static files (js, css) and does continuous
calls to the application's backend.php. I append a coredump of 
the segfault (maybe with the next post)

Other php applications (also selfmade, like owncloud, horde4) work
as expected - after uninstalling php5-xcache of course.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-cgi depends on:
ii  libbz2-1.0        1.0.6-1
ii  libc6             2.13-27
ii  libcomerr2        1.42.1-2
ii  libdb5.1          5.1.29-1
ii  libgssapi-krb5-2  1.10+dfsg~beta1-2
ii  libk5crypto3      1.10+dfsg~beta1-2
ii  libkrb5-3         1.10+dfsg~beta1-2
ii  libmagic1         5.11-1
ii  libonig2          5.9.1-1
ii  libpcre3          8.12-4
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.0h-1
ii  libxml2           2.7.8.dfsg-7
ii  mime-support      3.52-1
ii  php5-common       5.4.0-3
ii  tzdata            2012b-1
ii  ucf               3.0025+nmu2
ii  zlib1g            1:1.2.6.dfsg-2

php5-cgi recommends no packages.

Versions of packages php5-cgi suggests:
ii  php-pear  5.4.0-3
ii  php5-pgsql 5.4.0-3

-- no debconf information

More information about the pkg-php-maint mailing list