|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-12-20 13:34 UTC] felici at iddqd dot hu
Description: ------------ I'm using Apache 2.2.3 with fastcgi and php. With php 5.2.0 php processes exit on signal 11. 5.1.6 was OK. Reproduce code: --------------- Doesn't matter what you run, it will crash. Expected result: ---------------- --- Actual result: -------------- Dec 20 14:32:08 starbase kernel: pid 9951 (php-cgi), uid 2001: exited on signal 11 (core dumped) Dec 20 14:32:08 starbase kernel: pid 9952 (php-cgi), uid 2001: exited on signal 11 (core dumped) Dec 20 14:32:08 starbase kernel: pid 9954 (php-cgi), uid 2001: exited on signal 11 (core dumped) Dec 20 14:32:08 starbase kernel: pid 9953 (php-cgi), uid 2001: exited on signal 11 (core dumped) #0 0x00000000 in ?? () #1 0x28e87ea4 in __do_global_dtors_aux () from /usr/local/lib/php/20060613/session.so #2 0x28e8efd4 in _fini () from /usr/local/lib/php/20060613/session.so #3 0x2827c160 in ?? () from /libexec/ld-elf.so.1 #4 0x2827c018 in ?? () from /libexec/ld-elf.so.1 #5 0xbfbfcae8 in ?? () #6 0x2825c929 in elf_hash () from /libexec/ld-elf.so.1 #7 0x2825f3ae in dlclose () from /libexec/ld-elf.so.1 #8 0x0815db72 in zend_hash_apply_deleter () #9 0x0815dc01 in zend_hash_graceful_reverse_destroy () #10 0x081536ff in zend_shutdown () #11 0x0811620f in php_module_shutdown () #12 0x081d7bf2 in main () PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 13:00:01 2025 UTC |
Hello, I'm using FreeBSD latest stable (6.2-PRERELEASE) i386, Apache 2.2.3 with suexec and mod_fastcgi-2.4.2 and php as cgi compiled with fastcgi support (see phpinfo for more details about php) httpd.conf: <IfModule fastcgi_module> AddHandler fastcgi-script .fcgi FastCgiWrapper /usr/local/sbin/suexec FastCgiConfig -singleThreshold 100 -killInterval 300 -autoUpdate -idle-timeout 240 -pass-header HTTP_AUTHORIZATION FastCgiIpcDir /tmp </IfModule> [...] SuexecUserGroup feldeci feldeci ScriptAlias /cgi-bin/ /var/virtual/users/feldeci/www/cgi-bin/ <Directory "/var/virtual/users/feldeci/www/cgi-bin"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <Location /cgi-bin/> Options ExecCGI SetHandler fastcgi-script </Location> Action application/x-httpd-php /cgi-bin/php cgi-bin/php (owned by user feldeci) #!/bin/sh PHPRC="/var/virtual/users/feldeci/conf" export PHPRC PHP_FCGI_CHILDREN=4 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=5000 export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi php.ini: [PHP] open_basedir = "/var/virtual/users/feldeci" upload_tmp_dir = "/var/virtual/users/feldeci/temp" session.save_path = "/var/virtual/users/feldeci/temp" the rest is in /usr/local/etc/php/master.ini and extensions.ini set up this environment, run php applications (like phpMyAdmin, RoundCube, whatever) and wait for the segfaults. let me know if you need the core file or the php.inis or I can help you somehowOf course I rebuilt all of the extensions using the CVS snapshot. If I'm trying to use the CLI version I get the same: [root@starbase /var/virtual/users/feldeci/www/mail.dns123.eu]# php phpi___.php [...] If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. Segmentation fault: 11 (core dumped) PHP finishes with the script, then crashes. The backtrace is the same in this case, too. There is only a simple phpinfo() in the file. <?php phpinfo(); ?>