Edit report at https://bugs.php.net/bug.php?id=61728&edit=1

 ID:                 61728
 User updated by:    frederik_php at vanrenterghem dot biz
 Reported by:        frederik_php at vanrenterghem dot biz
 Summary:            php-fpm SIGSEGV running friendica on nginx
-Status:             Feedback
+Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Linux Debian Wheezy
 PHP Version:        5.4.0
 Block user comment: N
 Private report:     N

 New Comment:

Ok, here's the updated backtrace with the debugging package installed:

Reading symbols from /usr/sbin/php5-fpm...Reading symbols from 
/usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New LWP 8194]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".

warning: the debug information found in 
"/usr/lib/debug//usr/lib/php5/20100525+lfs/mysql.so" does not match 
"/usr/lib/php5/20100525+lfs/mysql.so" (CRC mismatch).


warning: the debug information found in 
"/usr/lib/debug/usr/lib/php5/20100525+lfs/mysql.so" does not match 
"/usr/lib/php5/20100525+lfs/mysql.so" (CRC mismatch).


warning: the debug information found in 
"/usr/lib/debug//usr/lib/php5/20100525+lfs/mysqli.so" does not match 
"/usr/lib/php5/20100525+lfs/mysqli.so" (CRC mismatch).


warning: the debug information found in 
"/usr/lib/debug/usr/lib/php5/20100525+lfs/mysqli.so" does not match 
"/usr/lib/php5/20100525+lfs/mysqli.so" (CRC mismatch).


warning: the debug information found in 
"/usr/lib/debug//usr/lib/php5/20100525+lfs/pdo_mysql.so" does not match 
"/usr/lib/php5/20100525+lfs/pdo_mysql.so" (CRC mismatch).


warning: the debug information found in 
"/usr/lib/debug/usr/lib/php5/20100525+lfs/pdo_mysql.so" does not match 
"/usr/lib/php5/20100525+lfs/pdo_mysql.so" (CRC mismatch).

Core was generated by `php-fpm: pool www                                        
 '.
Program terminated with signal 11, Segmentation fault.
#0  0x0832239d in zend_stack_push (stack=<error reading variable: Unknown 
argument list address for `stack'.>, element=<error reading variable: Unknown 
argument list address for `element'.>, 
    size=<error reading variable: Unknown argument list address for `size'.>) 
at /build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_stack.c:42
42      /build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_stack.c: No 
such file or directory.
(gdb) bt
#0  0x0832239d in zend_stack_push (stack=<error reading variable: Unknown 
argument list address for `stack'.>, element=<error reading variable: Unknown 
argument list address for `element'.>, 
    size=<error reading variable: Unknown argument list address for `size'.>) 
at /build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_stack.c:42
#1  0x082d0e5c in php_output_handler_start (handler=0x82cf910) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/main/output.c:563
#2  0x082d337b in php_output_start_default () at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/main/output.c:412
#3  0x0823953d in zif_print_r (ht=-1226425644, return_value=0x0, 
return_value_ptr=0x0, this_ptr=0x1, return_value_used=-1269958144) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/standard/basic_functions.c:5485
#4  0x083d2c31 in zend_do_fcall_common_helper_SPEC (execute_data=0xb6e39450) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_vm_execute.h:642
#5  0x0838e6d5 in execute (op_array=0x8315e36) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_vm_execute.h:410
#6  0x08315e36 in zend_call_function (fci=0x7, fci_cache=0x878ff54) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_execute_API.c:958
#7  0x083161b3 in call_user_function_ex (function_table=0xa04b450, 
object_pp=0x0, function_name=0xb6e5b010, retval_ptr_ptr=0xbfe4facc, 
param_count=<unknown type>, params=0xb6e50d20, no_separation=1, 
symbol_table=0x0)
    at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_execute_API.c:750
#8  0x08316228 in call_user_function (function_table=0x0, object_pp=0xb6e5b010, 
function_name=0xb6e619a0, retval_ptr=0x2, param_count=<unknown type>, 
params=0x6)
    at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_execute_API.c:723
#9  0x081a67a0 in ps_call_handler (func=0xb6e5b010, argc=2, argv=0x13b) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/session/mod_user.c:53
#10 0x081a69fe in ps_write_user (mod_data=0x819ecc4, key=0x878c294 "", 
val=0xb6e5c048 "qm2ukkgs12n6ftusrqrihd9qo2", vallen=170073760) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/session/mod_user.c:144
#11 0x0819ecc4 in php_session_flush () at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/session/session.c:489
#12 0x0819ef55 in zm_deactivate_session (type=137540484, module_number=1) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/ext/session/session.c:2145
#13 0x0832b384 in zend_deactivate_modules () at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/Zend/zend_API.c:2325
#14 0x082bd905 in php_request_shutdown (dummy=0xa) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/main/main.c:1755
#15 0x0806fd70 in main (argc=3, argv=0xbfe521b4) at 
/build/buildd-php5_5.4.0-3-i386-2XGvJx/php5-5.4.0/sapi/fpm/fpm/fpm_main.c:1884


Previous Comments:
------------------------------------------------------------------------
[2012-04-14 02:50:42] ahar...@php.net

Can you install the php5-dbg package and generate a new backtrace with debug 
symbols installed, please?

------------------------------------------------------------------------
[2012-04-13 19:26:00] frederik_php at vanrenterghem dot biz

corrected summary

------------------------------------------------------------------------
[2012-04-13 19:24:15] frederik_php at vanrenterghem dot biz

Description:
------------
Hi,

I am running a friendica (friendica.com) instance on a bitfolk.com VPS with 
480MB ram. As webserver I'm using nginx. I can cause the site to crash very 
easily by clicking around on some links.

I am using an up-to-date version of Debian Wheezy. All packages are installed 
from the standard repository.

I have attached a backtrace, which is the same with each crash.

It seems as if the error is linked with the facebook connector from friendica, 
as it crashes when I try to load the connector settings, or if I go to the 
network page, which contains statuses from all connected sites including 
facebook. https://github.com/friendica/friendica-addons/tree/master/facebook

Thanks in advance for helping find a solution!

Best regards,
Frederik


Actual result:
--------------
Reading symbols from /usr/sbin/php5-fpm...(no debugging symbols found)...done.
[New LWP 2801]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `php-fpm: pool www                                        
 '.
Program terminated with signal 11, Segmentation fault.
#0  0x0832239d in zend_stack_push ()
(gdb) bt
#0  0x0832239d in zend_stack_push ()
#1  0x082d0e5c in php_output_handler_start ()
#2  0x082d337b in php_output_start_default ()
#3  0x0823953d in ?? ()
#4  0x083d2c31 in ?? ()
#5  0x0838e6d5 in execute ()
#6  0x08315e36 in zend_call_function ()
#7  0x083161b3 in call_user_function_ex ()
#8  0x08316228 in call_user_function ()
#9  0x081a67a0 in ?? ()
#10 0x081a69fe in ?? ()
#11 0x0819ecc4 in ?? ()
#12 0x0819ef55 in ?? ()
#13 0x0832b384 in ?? ()
#14 0x082bd905 in php_request_shutdown ()
#15 0x0806fd70 in ?? ()
#16 0xb6e6ce46 in __libc_start_main () from 
/lib/i386-linux-gnu/i686/cmov/libc.so.6
#17 0x08070875 in _start ()



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61728&edit=1

Reply via email to