From:             [EMAIL PROTECTED]
Operating system: Redhat 6.2 - kernel 2.2.16smp
PHP version:      4.0.6
PHP Bug Type:     Reproducible crash
Bug description:  seg fault viewing php w/ Apache 1.3.20

script
------
apachectl start
lynx http://localhost/phpinfo.php
tail error_log

apache error_log
----------------
[notice] child pid 31197 exit signal Segmentation fault (11)

configure script
----------------
"./configure" \
"--prefix=/opt/php" \
"--with-apxs=/opt/apache/bin/apxs" \
"--with-mysql=/opt/mysql" \
"--with-pgsql=/opt/pgsql" \
"--enable-track-vars" \
"--with-config-file-path=/opt/php" \

httpd -l
--------
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c
  mod_perl.c
suexec: disabled; invalid wrapper /opt/apache/bin/suexec

httpd -V
--------
Server version: Apache/1.3.20 (Unix)
Server built:   Jun 21 2001 15:19:15
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D HTTPD_ROOT="/opt/apache"
 -D SUEXEC_BIN="/opt/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

gdb backtrace
-------------
[root@forge php-4.0.6]# gdb httpd
GNU gdb 5.0
Copyright 2000 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"...
(gdb) run -X
Starting program: /opt/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x4037ee6a in send_php (r=0x824d7cc, display_source_mode=0, filename=0x0)
at mod_php4.c:478
478             per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config, &php4_module);
(gdb) bt
#0  0x4037ee6a in send_php (r=0x824d7cc, display_source_mode=0,
filename=0x0) at mod_php4.c:478
#1  0x4037efca in send_parsed_php (r=0x824d7cc) at mod_php4.c:547
#2  0x8099a4d in ap_invoke_handler ()
#3  0x80ae2f3 in process_request_internal ()
#4  0x80ae729 in ap_internal_redirect ()
#5  0x8074a1a in handle_dir ()
#6  0x8099a4d in ap_invoke_handler ()
#7  0x80ae2f3 in process_request_internal ()
#8  0x80ae354 in ap_process_request ()
#9  0x80a54f9 in child_main ()
#10 0x80a56a4 in make_child ()
#11 0x80a5814 in startup_children ()
#12 0x80a5e61 in standalone_main ()
#13 0x80a66a3 in main ()
#14 0x400a0b5c in __libc_start_main (main=0x80a62fc <main>, argc=2,
ubp_av=0xbffffb14,
    init=0x80627b4 <_init>, fini=0x8148bfc <_fini>, rtld_fini=0x4000d634
<_dl_fini>, stack_end=0xbffffb0c)
    at ../sysdeps/generic/libc-start.c:129

-- 
Edit bug report at: http://bugs.php.net/?id=11996&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to