Bug #65448 [Opn->Fbk]: Segmentation fault (11) error
Edit report at https://bugs.php.net/bug.php?id=65448&edit=1
ID: 65448
Updated by: laruence@php.net
Reported by: jeganathan dot t at oneindia dot co dot in
Summary: Segmentation fault (11) error
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: CentOS Linux release 6.0 - 64bit
PHP Version: 5.4.17
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2013-08-14 08:57:15] jeganathan dot t at oneindia dot co dot in
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 this bug report at https://bugs.php.net/bug.php?id=65448&edit=1
Thread (3 messages)