Apache Segfault problem getting worse
| From: | Chris Weiss | Date: | Tue, 27 Jun 2000 17:13:06 +0000 |
| Subject: | Apache Segfault problem getting worse | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22510@lists.php.net to get a copy of this message | ||
I'm running Apache 1.3.12 and the latest CVS php4.0.1 (just updated) compiled
with
"./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-imap --with-xml --en
able-track-vars --with-ldap --with-config-file-path=/etc/httpd --with-gettext --
enable-trans-sid "
I get "[notice] child pid 11844 exit signal Segmentation fault (11)" in my
apache error log every time I try to use sessions with the latest CVS update.
Here is my gbd backtrace:
[root@penguin quake]# gdb httpd
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/sbin/httpd -X
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x4036181a in _get_zval_ptr_ptr (node=0x80d96b4, Ts=0x80d74f8) at
./zend_execute.c:169
169 PZVAL_UNLOCK(*Ts[node->u.var].var.ptr_ptr);
(gdb) bt
#0 0x4036181a in _get_zval_ptr_ptr (node=0x80d96b4, Ts=0x80d74f8) at
./zend_execute.c:169
#1 0x80d64a8 in ?? ()
#2 0x40362dd4 in get_active_function_name () at zend_execute_API.c:210
#3 0x4037bf47 in php_fopen_with_path (filename=0xbffff9b4
"\002r\020\b\230\020\b", mode=0x4043e4ac " \t\021",
path=0x13 <Address 0x13 out of bounds>, opened_path=0xbffff9d4) at
fopen-wrappers.c:416
#4 0x40378ca0 in php_build_argv (s=0x810a5f8 "Pq\020\b\030A\020\b°#\f\b",
track_vars_array=0x13) at main.c:1075
#5 0x40379574 in php_if_parse_ini_file (ht=135308792, return_value=0x0,
this_ptr=0x810ab98, return_value_used=135228440)
at /usr/src/cvs/php4/main/configuration-parser.y:288
#6 0x403795b0 in php_if_parse_ini_file (ht=135308792, return_value=0x404221ff,
this_ptr=0x0, return_value_used=1)
at /usr/src/cvs/php4/main/configuration-parser.y:288
#7 0x8055068 in ap_invoke_handler ()
Cannot access memory at address 0x1f4.