Bug #65448 [NEW]: Segmentation fault (11) error
| From: | jeganathan dot t at oneindia dot co dot in | Date: | Wed, 14 Aug 2013 08:57:15 +0000 |
| Subject: | Bug #65448 [NEW]: Segmentation fault (11) error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-180910@lists.php.net to get a copy of this message | ||
From: jeganathan dot t at oneindia dot co dot in
Operating system: CentOS Linux release 6.0 - 64bit
PHP version: 5.4.17
Package: Apache2 related
Bug Type: Bug
Bug description:Segmentation fault (11) error
Description:
------------
I am running Apache/2.4.4 with PHP-5.4.17 in a Parallels Virtuozzo virtual
machine.Many apache processes exits with segmentation fault.
Below is the configure options used to compile PHP.
./configure --with-config-file-path=/etc/ --with-apxs2=/apache/bin/apxs
--with-mysql=/mysql --with-jpeg-dir=/usr/lib64 --with-png-dir=/usr/lib64
--with-freetype-dir=/usr/lib --enable-ftp --enable-calendar
--with-libxml-dir=/usr --enable-sockets --enable-wddx --with-xsl=/usr
--with-zlib-dir=/usr/include --with-iconv-dir=/usr --disable-cgi --with-gd
--with-mysqli=/mysql/bin/mysql_config --enable-sockets --with-curl
--with-gettext --enable-mbstring --with-pdo-mysql=/mysql --with-tidy
--with-openssl --with-tsrm-st --enable-zend-signals --with-zend-vm=SWITCH
Please see the gdb backtrace of coredump.
Program terminated with signal 11, Segmentation fault.
#0 zend_stack_push (stack=0x7f25ed75e2c8, element=0x7f25ed75e2a8, size=32)
at /disk2/downloads/php-5.4.17/Zend/zend_stack.c:42
42 stack->elements[stack->top] = (void *) emalloc(size);
(gdb) bt
#0 zend_stack_push (stack=0x7f25ed75e2c8, element=0x7f25ed75e2a8, size=32)
at /disk2/downloads/php-5.4.17/Zend/zend_stack.c:42
#1 0x00007f25ecf0234b in compile_file (file_handle=0x7fff220ddf70,
type=<value optimized out>) at Zend/zend_language_scanner.l:583
#2 0x00007f25ecdf5981 in phar_compile_file (file_handle=0x7fff220ddf70,
type=2) at /disk2/downloads/php-5.4.17/ext/phar/phar.c:3388
#3 0x00007f25ecf2d667 in zend_execute_scripts (type=2, retval=0x0,
file_count=1) at /disk2/downloads/php-5.4.17/Zend/zend.c:1307
#4 0x00007f25ecfd874e in php_handler (r=0x174ec10) at
/disk2/downloads/php-5.4.17/sapi/apache2handler/sapi_apache2.c:669
#5 0x0000000000446cd0 in ap_run_handler (r=0x174ec10) at config.c:169
#6 0x000000000044ad8e in ap_invoke_handler (r=0x174ec10) at config.c:432
#7 0x000000000045c23c in ap_internal_redirect (new_uri=<value optimized
out>, r=<value optimized out>) at http_request.c:644
#8 0x00007f25edb6cea5 in handler_redirect (r=0x1609b60) at
mod_rewrite.c:5051
#9 0x0000000000446cd0 in ap_run_handler (r=0x1609b60) at config.c:169
#10 0x000000000044ad8e in ap_invoke_handler (r=0x1609b60) at config.c:432
#11 0x000000000045c64a in ap_process_async_request (r=0x1609b60) at
http_request.c:317
#12 0x000000000045c7af in ap_process_request (r=0x1609b60) at
http_request.c:363
#13 0x00000000004590f2 in ap_process_http_sync_connection (c=0x153a9a0) at
http_core.c:190
#14 ap_process_http_connection (c=0x153a9a0) at http_core.c:231
#15 0x0000000000450eb0 in ap_run_process_connection (c=0x153a9a0) at
connection.c:41
#16 0x00007f25ee17f852 in child_main (child_num_arg=<value optimized out>)
at prefork.c:704
#17 0x00007f25ee17faca in make_child (s=0x111e348, slot=599) at
prefork.c:800
#18 0x00007f25ee18066c in perform_idle_server_maintenance (_pconf=<value
optimized out>, plog=<value optimized out>, s=<value optimized out>) at
prefork.c:902
#19 prefork_run (_pconf=<value optimized out>, plog=<value optimized out>,
s=<value optimized out>) at prefork.c:1090
#20 0x000000000042e2be in ap_run_mpm (pconf=0x10f3138, plog=0x11504d8,
s=0x111e348) at mpm_common.c:98
#21 0x0000000000428894 in main (argc=3, argv=0x7fff220de718) at main.c:777
Please help me to fix the problem.
--
Edit bug report at https://bugs.php.net/bug.php?id=65448&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65448&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65448&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65448&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65448&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65448&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65448&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65448&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65448&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65448&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65448&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65448&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65448&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65448&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65448&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65448&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65448&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65448&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65448&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65448&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65448&r=mysqlcfg