ID: 33197
User updated by: alan at akbkhome dot com
Reported By: alan at akbkhome dot com
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: debian / linux
PHP Version: 5.* (2005-05-31)
New Comment:
Server version: Apache/2.0.54
it's the debain apache2-mpm-prefork
Previous Comments:
------------------------------------------------------------------------
[2005-05-31 07:29:33] [EMAIL PROTECTED]
Not enough info to reproduce (works fine for me..).
What MPM is used for Apache2? (please tell it's worker? :)
What startup? Request or "apachectl start" ?
------------------------------------------------------------------------
[2005-05-31 06:01:23] alan at akbkhome dot com
Description:
------------
tried HEAD & php-5.0.4
getting segfault at startup with apache2
#1 0x4086a123 in php_hash_environment ()
at /usr/src/php-5.0.4/main/php_variables.c:625
p = 0x81ecc39 "GPCS"
_gpc_flags = "\000\000\000\001"
dummy_track_vars_array = (zval *) 0x0
initialized_dummy_track_vars_array = 0 '\0'
jit_initialization = 0 '\0'
auto_global_records = {{name = 0x40a0c39b "_POST", name_len =
6,
long_name = 0x40a236b2 "HTTP_POST_VARS", long_name_len = 15,
jit_initialization = 0 '\0'}, {name = 0x40a0c3a1 "_GET", name_len =
5,
long_name = 0x40a236c1 "HTTP_GET_VARS", long_name_len = 14,
jit_initialization = 0 '\0'}, {name = 0x40a0c393 "_COOKIE",
name_len = 8,
long_name = 0x40a236cf "HTTP_COOKIE_VARS", long_name_len = 17,
jit_initialization = 0 '\0'}, {name = 0x408c12ab "_SERVER",
name_len = 8,
long_name = 0x40a236e0 "HTTP_SERVER_VARS", long_name_len = 17,
jit_initialization = 1 '\001'}, {name = 0x40a1683e "_ENV", name_len
= 5,
long_name = 0x40a236f1 "HTTP_ENV_VARS", long_name_len = 14,
jit_initialization = 1 '\001'}, {name = 0x40a23708 "_FILES",
name_len = 7,
long_name = 0x40a236ff "HTTP_POST_FILES", long_name_len = 16,
jit_initialization = 0 '\0'}}
i = 6
#2 0x4085edc4 in php_request_startup () at
/usr/src/php-5.0.4/main/main.c:1060
orig_bailout = {{__jmpbuf = {135586232, 1084715676,
-1073743140,
-1073743112, -1073743568, 1082911454}, __mask_was_saved = 0,
__saved_mask = {__val = {0 <repeats 32 times>}}}}
orig_bailout_set = 1 '\001'
retval = 0
#3 0x408bedfb in php_handler (r=0x8221948)
at /usr/src/php-5.0.4/sapi/apache2handler/sapi_apache2.c:527
orig_bailout = {{__jmpbuf = {0, 0, 0, 0, 0, 0},
__mask_was_saved = 0,
__saved_mask = {__val = {0 <repeats 32 times>}}}}
ctx = (php_struct *) 0x8223240
conf = (void *) 0x0
brigade = (apr_bucket_brigade *) 0x82232b8
bucket = (apr_bucket *) 0x0
rv = 0
parent_req = (request_rec *) 0x0
#4 0x080783d5 in ap_run_handler ()
No symbol table info available.
(gdb) up
#1 0x4086a123 in php_hash_environment ()
at /usr/src/php-5.0.4/main/php_variables.c:625
625
sapi_module.treat_data(PARSE_GET, NULL, NULL TSRMLS_CC); /* GET
Data */
(gdb) print sapi_module.treat_data
$2 = (void (*)(int, char *, zval *)) 0
build:
'./configure'
'--prefix=/usr'
'--with-regex=php'
'--disable-cgi'
'--with-config-file-path=/etc/php5/cli'
'--disable-rpath'
'--enable-memory-limit'
'--with-layout=GNU'
'--with-pear=/usr/share/php'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-bcmath'
'--with-bz2'
'--enable-ctype' '
--with-db4'
'--with-iconv'
'--enable-exif'
'--enable-ftp'
'--with-gettext'
'--enable-mbstring'
'--with-pcre-regex=/usr'
'--enable-shmop'
'--enable-sockets'
'--enable-wddx'
'--disable-xml'
'--with-expat-dir=/usr'
'--with-xmlrpc'
'--enable-yp'
'--with-zlib'
'--without-pgsql'
'--with-kerberos=/usr'
'--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime'
'--with-exec-dir=/usr/lib/php5/libexec'
'--disable-static'
'--without-mm'
'--without-mysql'
'--without-sybase-ct'
'--enable-curl'
'--with-apxs2=/usr/bin/apxs2'
'--without-sqlite'
'--without-pdo-sqlite'
Reproduce code:
---------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33197&edit=1