ID: 15588
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: Linux Redhat 6.2
PHP Version: 4.0.6
New Comment:
If I do bt full the following results are getting
#0 0x4033a662 in php_treat_data (arg=1, str=0x0,
destArray=0x0) at php_variables.c:257
res = 0x0
var = 0x4058a6f8 "\004\0200"
val = 0x0
separator = 0x0
c_var = 0x303 <Address 0x303 out of bounds>
array_ptr = (pval *) 0x8185a4c
free_buffer = 0
strtok_buf = 0x0
#1 0x40333911 in php_hash_environment () at main.c:1038
p = 0x814c852 "PCS"
_gpc_flags = "\000\000"
have_variables_order = 1 '\001'
dummy_track_vars_array = (zval *) 0xbffff5e0
initialized_dummy_track_vars_array = 0 '\000'
i = 6
track_vars_names = {0x404e663b "HTTP_POST_VARS",
0x404e664a "HTTP_GET_VARS",
0x404e6658 "HTTP_COOKIE_VARS", 0x404e6669
"HTTP_SERVER_VARS", 0x404e667a "HTTP_ENV_VARS",
0x404e6688 "HTTP_POST_FILES", 0x0}
track_vars_names_length = {15, 14, 17, 17, 14, 16}
#2 0x40332e57 in php_request_startup () at main.c:621
No locals.
#3 0x4032f8c8 in apache_php_module_main (r=0x81813bc,
display_source_mode=0) at sapi_apache.c:66
file_handle = {type = 0 '\000', filename =
0x4058a6f8 "\004\0200",
opened_path = 0x4000ae60 "U\211�\203�\004WVS�", handle =
{fd = 135798890, fp = 0x818206a},
free_filename = 129 '\201'}
#4 0x403305d7 in send_php (r=0x81813bc,
display_source_mode=0, filename=0x818194c "") at
mod_php4.c:536
retval = 0
per_dir_conf = (HashTable *) 0x0
#5 0x40330615 in send_parsed_php (r=0x81813bc) at
mod_php4.c:547
No locals.
#6 0x8079373 in ap_invoke_handler ()
No symbol table info available.
#7 0x808d339 in process_request_internal ()
No symbol table info available.
#8 0x808d768 in ap_internal_redirect ()
No symbol table info available.
#9 0x806bdd3 in mod_gzip_redir1_handler ()
No symbol table info available.
#10 0x806a72d in mod_gzip_handler ()
No symbol table info available.
#11 0x8079373 in ap_invoke_handler ()
No symbol table info available.
#12 0x808d339 in process_request_internal ()
No symbol table info available.
#13 0x808d39c in ap_process_request ()
No symbol table info available.
#14 0x80848ce in child_main ()
No symbol table info available.
#15 0x8084a7c in make_child ()
No symbol table info available.
#16 0x8084bd9 in startup_children ()
No symbol table info available.
#17 0x8085216 in standalone_main ()
No symbol table info available.
#18 0x80859b3 in main ()
No symbol table info available.
#19 0x400bc9cb in __libc_start_main (main=0x808565c
<main>, argc=4, argv=0xbffffad4, init=0x8050370 <_init>,
fini=0x80bc2dc <_fini>, rtld_fini=0x4000ae60
<_dl_fini>, stack_end=0xbffffacc)
at ../sysdeps/generic/libc-start.c:92
argv = (char **) 0xbffffad4
rtld_fini = (void (*)()) 0x4000ae60 <_dl_fini>
stack_end = (void *) 0x303
Previous Comments:
------------------------------------------------------------------------
[2002-02-16 16:07:49] [EMAIL PROTECTED]
I installed PHP, but every time I load a document, I get
the message 'Document Contains No Data'. I tried to gdb
the httpd then I got the following errors. the Apache
error log shows '[Sun Feb 17 02:44:15 2002] [error] Cannot
remove module mod_ssl.c: not found in module list
[Sun Feb 17 02:44:16 2002] [warn] pid file
/usr/local/cp/apache/logs/httpd.pid overwritten -- Unclean
shutdown of previous Apache run?'
Could you please help me.
Program received signal SIGSEGV, Segmentation fault.
0x403297e3 in php_treat_data (arg=1, str=0x0,
destArray=0x0) at php_variables.c:257
257 if (c_var && *c_var) {
(gdb) bt
#0 0x403297e3 in php_treat_data (arg=1, str=0x0,
destArray=0x0) at php_variables.c:257
#1 0x403246c8 in php_hash_environment () at main.c:1038
#2 0x40323dc4 in php_request_startup () at main.c:621
#3 0x403216a9 in apache_php_module_main (r=0x81825bc,
display_source_mode=0) at sapi_apache.c:66
#4 0x40322066 in send_php (r=0x81825bc,
display_source_mode=0, filename=0x0) at mod_php4.c:536
#5 0x40322098 in send_parsed_php (r=0x81825bc) at
mod_php4.c:547
#6 0x8079373 in ap_invoke_handler ()
#7 0x808d339 in process_request_internal ()
#8 0x808d768 in ap_internal_redirect ()
#9 0x806bdd3 in mod_gzip_redir1_handler ()
#10 0x806a72d in mod_gzip_handler ()
#11 0x8079373 in ap_invoke_handler ()
#12 0x808d339 in process_request_internal ()
#13 0x808d39c in ap_process_request ()
#14 0x80848ce in child_main ()
#15 0x8084a7c in make_child ()
#16 0x8084bd9 in startup_children ()
#17 0x8085216 in standalone_main ()
#18 0x80859b3 in main ()
#19 0x400bc9cb in __libc_start_main (main=0x808565c
<main>, argc=4, argv=0xbffffad4, init=0x8050370 <_init>,
fini=0x80bc2dc <_fini>, rtld_fini=0x4000ae60
<_dl_fini>, stack_end=0xbffffacc)
at ../sysdeps/generic/libc-start.c:92
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15588&edit=1