Edit report at https://bugs.php.net/bug.php?id=65584&edit=1
ID: 65584
User updated by: michael dot heuberger at binarykitchen dot com
Reported by: michael dot heuberger at binarykitchen dot com
Summary: recv() failed (104: Connection reset by peer) while
reading response ...
Status: Open
Type: Bug
Package: FPM related
Operating System: Ubuntu 13.04
PHP Version: 5.5.3
Block user comment: N
Private report: N
New Comment:
I managed to get more logging information.
In the log I see this fatal error:
[30-Aug-2013 17:05:50 Pacific/Auckland] PHP Fatal error: Cannot redeclare
class SGL_Request in /opt/bk/lib/SGL/Request.php on line 53
But in my spl_autoload_register function I already test with this to make sure
classes won't be redeclared:
public static function isLoaded($name)
{
return class_exists($name, false) || interface_exists($name, false);
}
But when, why doesn't it work?
Previous Comments:
------------------------------------------------------------------------
[2013-08-30 04:31:59] michael dot heuberger at binarykitchen dot com
Happy to give your snapshots a try but do not how to install these. I installed
PHP-FPM via apt-get.
------------------------------------------------------------------------
[2013-08-30 03:28:06] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.5-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
we fixed some segfaults issues recently, maybe you could have a try..thanks
------------------------------------------------------------------------
[2013-08-30 03:08:02] [email protected]
hmm, the backtrace is too generic, I can not get any useful info from there.
are you able to get a reproduce test script?
------------------------------------------------------------------------
[2013-08-30 00:31:15] michael dot heuberger at binarykitchen dot com
I tried to parse it with apport-retrace but it is not helpful:
$ apport-retrace -R -g /var/crash/_usr_sbin_php5-fpm.33.crash
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Reading symbols from /usr/sbin/php5-fpm...(no debugging symbols found)...done.
[New LWP 2530]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool www
'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000006f8459 in gc_remove_zval_from_buffer ()
(gdb)
------------------------------------------------------------------------
[2013-08-30 00:27:22] michael dot heuberger at binarykitchen dot com
I also see a file in /var/crash/
_usr_sbin_php5-fpm.33.crash
It is full with binary data. I tried to run it with gdb but no success.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=65584
--
Edit this bug report at https://bugs.php.net/bug.php?id=65584&edit=1