Acknowledgement sent
to Thomas Renard <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 17:15:04 GMT) (full text, mbox, link).
Subject: php5-cgi: tt-rss backend.php crashes after update to php 5.4
Date: Thu, 29 Mar 2012 18:55:02 +0200
Package: php5-cgi
Version: 5.4.0-3
Severity: normal
Dear Maintainer,
this problem occurs with the non debian package tt-rss trunk:
https://github.com/gothfox/Tiny-Tiny-RSS.git
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
Then
* 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
Acknowledgement sent
to OndÅej Surý <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 18:12:05 GMT) (full text, mbox, link).
Subject: Re: [php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes
after update to php 5.4
Date: Thu, 29 Mar 2012 20:09:23 +0200
Please install php5-dbg, dump a core and attach usable backtrace.
Rough howto can be found here:
https://bugs.php.net/bugs-generating-backtrace.php
On Thu, Mar 29, 2012 at 18:55, Thomas Renard <[email protected]> wrote:
> Package: php5-cgi
> Version: 5.4.0-3
> Severity: normal
>
> Dear Maintainer,
>
> this problem occurs with the non debian package tt-rss trunk:
> https://github.com/gothfox/Tiny-Tiny-RSS.git
> 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
>
> Then
>
> * 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
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
--
Ondřej Surý <[email protected]>
Acknowledgement sent
to Thomas Renard <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 18:12:11 GMT) (full text, mbox, link).
Subject: php5-cgi: tt-rss backend.php crashes after update to php 5.4
Date: Thu, 29 Mar 2012 19:30:54 +0200
Some additional info:
this was an upgrade from the last wheezy 5.3.x version. I tried the
actual setup (actual database dump and settings) on an ubuntu ec2
instance with
ii php5-cgi 5.3.6-13ubuntu3.6
ii php5-cli 5.3.6-13ubuntu3.6
ii php5-common 5.3.6-13ubuntu3.6
ii php5-pgsql 5.3.6-13ubuntu3.6
ii php5-xcache 1.3.2-1
with no problems. My coredump is about 20MB. So I am a bit afraid to
attach it. Please tell me, where to send.
Acknowledgement sent
to OndÅej Surý <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 18:18:06 GMT) (full text, mbox, link).
Subject: Re: [php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes
after update to php 5.4
Date: Thu, 29 Mar 2012 20:14:10 +0200
Thomas,
we don't need a full coredump, just a backtrace :).
Install php5-dbg, and run the coredump through gdb.
O.
On Thu, Mar 29, 2012 at 19:30, Thomas Renard <[email protected]> wrote:
> Some additional info:
>
> this was an upgrade from the last wheezy 5.3.x version. I tried the
> actual setup (actual database dump and settings) on an ubuntu ec2
> instance with
>
> ii php5-cgi 5.3.6-13ubuntu3.6
> ii php5-cli 5.3.6-13ubuntu3.6
> ii php5-common 5.3.6-13ubuntu3.6
> ii php5-pgsql 5.3.6-13ubuntu3.6
> ii php5-xcache 1.3.2-1
>
> with no problems. My coredump is about 20MB. So I am a bit afraid to
> attach it. Please tell me, where to send.
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
--
Ondřej Surý <[email protected]>
Acknowledgement sent
to Thomas Renard <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 19:48:03 GMT) (full text, mbox, link).
Subject: Re: [php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes
after update to php 5.4
Date: Thu, 29 Mar 2012 21:46:23 +0200
I hope, this is the right way to do it...
<snip>
[New LWP 18773]
Core was generated by `/usr/bin/php-cgi'.
Program terminated with signal 11, Segmentation fault.
#0 0x0831c884 in ?? ()
(gdb) symbol-file /usr/bin/php-cgi
Reading symbols from /usr/bin/php-cgi...Reading symbols from
/usr/lib/debug/usr/bin/php5-cgi...done.
done.
(gdb) bt full
#0 zend_llist_add_element (l=0x80abf66, element=0x0)
at
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_llist.c:39
tmp = 0x0
l = 0x0
element = 0x0
#1 0x080abf66 in _php_list_set_error_structure (error=0x9e496d0, msg=0x0)
at
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/libxml/libxml.c:485
error_copy = {domain = -1223959561, code = 5, message = 0x17
<Address 0x17 out of bounds>, level = 166290872,
file = 0x2 <Address 0x2 out of bounds>, line = 0, str1 = 0x13
<Address 0x13 out of bounds>, str2 = 0x0,
str3 = 0x0, int1 = 0, int2 = 0, ctxt = 0x4f, node = 0x9e49550}
ret = 0
#2 0xb710a225 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
</snip>
Acknowledgement sent
to Thomas Renard <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 20:03:06 GMT) (full text, mbox, link).
On 29.03.2012 20:09, OndÅej Surý wrote:
> Please install php5-dbg, dump a core and attach usable backtrace.
>
> Rough howto can be found here:
> https://bugs.php.net/bugs-generating-backtrace.php
>
Oups, used the wrong howto. Sorry, but this is my first backtrace...
attached... I hope this is more helpful
Thomas
Acknowledgement sent
to OndÅej Surý <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 20:06:02 GMT) (full text, mbox, link).
Subject: Re: [php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes
after update to php 5.4
Date: Thu, 29 Mar 2012 22:04:01 +0200
One more thing. Could you please switch your locale to en_US or just C
before you run gdb?
LC_ALL=C gdb --core=corefile --eval-command='bt full'
--exec=/usr/lib/cgi-bin/php5
Should do it...
O.
On Thu, Mar 29, 2012 at 21:59, Thomas Renard <[email protected]> wrote:
> On 29.03.2012 20:09, Ondřej Surý wrote:
>> Please install php5-dbg, dump a core and attach usable backtrace.
>>
>> Rough howto can be found here:
>> https://bugs.php.net/bugs-generating-backtrace.php
>>
>
> Oups, used the wrong howto. Sorry, but this is my first backtrace...
>
> attached... I hope this is more helpful
>
> Thomas
--
Ondřej Surý <[email protected]>
Acknowledgement sent
to OndÅej Surý <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 20:18:04 GMT) (full text, mbox, link).
Subject: Re: [php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes
after update to php 5.4
Date: Thu, 29 Mar 2012 22:14:39 +0200
Hmm... looks like you need to add:
--symbols=/usr/lib/debug/usr/lib/cgi-bin/php5 to the command line.
O.
2012/3/29 Thomas Renard <[email protected]>:
> I hope, this is the right way to do it...
>
> <snip>
>
> [New LWP 18773]
> Core was generated by `/usr/bin/php-cgi'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x0831c884 in ?? ()
> (gdb) symbol-file /usr/bin/php-cgi
> Reading symbols from /usr/bin/php-cgi...Reading symbols from
> /usr/lib/debug/usr/bin/php5-cgi...done.
> done.
> (gdb) bt full
> #0 zend_llist_add_element (l=0x80abf66, element=0x0)
> at
> /build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_llist.c:39
> tmp = 0x0
> l = 0x0
> element = 0x0
> #1 0x080abf66 in _php_list_set_error_structure (error=0x9e496d0, msg=0x0)
> at
> /build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/libxml/libxml.c:485
> error_copy = {domain = -1223959561, code = 5, message = 0x17
> <Address 0x17 out of bounds>, level = 166290872,
> file = 0x2 <Address 0x2 out of bounds>, line = 0, str1 = 0x13
> <Address 0x13 out of bounds>, str2 = 0x0,
> str3 = 0x0, int1 = 0, int2 = 0, ctxt = 0x4f, node = 0x9e49550}
> ret = 0
> #2 0xb710a225 in ?? ()
> No symbol table info available.
> #3 0x00000000 in ?? ()
> No symbol table info available.
>
> </snip>
--
Ondřej Surý <[email protected]>
Acknowledgement sent
to Thomas Renard <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 20:21:07 GMT) (full text, mbox, link).
On 29.03.2012 22:04, OndÅej Surý wrote:
> One more thing. Could you please switch your locale to en_US or just C
> before you run gdb?
>
> LC_ALL=C gdb --core=corefile --eval-command='bt full'
> --exec=/usr/lib/cgi-bin/php5
>
> Should do it...
>
> O.
>
Hm, locales, there are locales... Sorry
attached...
Acknowledgement sent
to OndÅej Surý <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 29 Mar 2012 20:33:09 GMT) (full text, mbox, link).
Subject: Re: [php-maint] Bug#666200: php5-cgi: tt-rss backend.php crashes
after update to php 5.4
Date: Thu, 29 Mar 2012 22:29:07 +0200
forwarded 666200 https://bugs.php.net/bug.php?id=61557
thank you
Hi Thomas,
I have forwarded your bug to the upstream bug database. We don't patch
(at least I don't remember it) XML functions so it looks like an upstream
bug.
Thanks for the information.
Regards,
Ondrej
On Thu, Mar 29, 2012 at 22:19, Thomas Renard <[email protected]> wrote:
> On 29.03.2012 22:04, Ondřej Surý wrote:
>> One more thing. Could you please switch your locale to en_US or just C
>> before you run gdb?
>>
>> LC_ALL=C gdb --core=corefile --eval-command='bt full'
>> --exec=/usr/lib/cgi-bin/php5
>>
>> Should do it...
>>
>> O.
>>
>
> Hm, locales, there are locales... Sorry
>
> attached...
--
Ondřej Surý <[email protected]>
Acknowledgement sent
to Adrien CLERC <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Sun, 01 Apr 2012 16:39:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Renard <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Thu, 24 May 2012 06:33:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Renard <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <[email protected]>.
(Fri, 25 May 2012 17:45:05 GMT) (full text, mbox, link).