From: webmaster at cryptpad dot com
Operating system: RedHat 7.2
PHP version: 4.3.1
PHP Bug Type: Reproducible crash
Bug description: Segmentation Fault (11)
Installed PHP as a DSO Module in Apache. Install went fine. Modified
httpd.conf file to include LoadModule & AddType declarations, then stopped
and started Apache.
Whenever I go to access a PHP page, it returns no data and puts the
following into the apache error log:
[Tue Feb 18 14:13:34 2003] [notice] child pid 9320 exit signal
Segmentation fault (11)
Doing a backtrace reveals the following:
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x4040c5e6 in send_php (r=0x83fa594, display_source_mode=0, filename=0x0)
at /install/php-4.3.1/sapi/apache/mod_php4.c:498
498 per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config,
&php4_module);
(gdb) bt
#0 0x4040c5e6 in send_php (r=0x83fa594, display_source_mode=0,
filename=0x0)
at /install/php-4.3.1/sapi/apache/mod_php4.c:498
#1 0x4040c80e in send_parsed_php (r=0x83fa594) at
/install/php-4.3.1/sapi/apache/mod_php4.c:571
#2 0x080afea3 in ap_invoke_handler ()
#3 0x080c4f03 in ap_some_auth_required ()
#4 0x080c4f64 in ap_process_request ()
#5 0x080bbda1 in ap_child_terminate ()
#6 0x080bbf4c in ap_child_terminate ()
#7 0x080bc0c0 in ap_child_terminate ()
#8 0x080bc738 in ap_child_terminate ()
#9 0x080bcf9b in main ()
#10 0x40087657 in __libc_start_main (main=0x80bcbf4 <main>, argc=2,
ubp_av=0xbffff9b4,
init=0x8065630 <_init>, fini=0x8172b40 <_fini>, rtld_fini=0x4000dcd4
<_dl_fini>,
stack_end=0xbffff9ac)
at ../sysdeps/generic/libc-start.c:129
/install/php-4.3.1/ is where I installed PHP from. Should it really be
running the mod_php4.c file from there?
Can anyone help?
P.S. I also have a separate copy of apache running which is my ssl server.
I tried to install PHP into that copy in the same way, and it worked
fine!!
Both Apache versions are 1.3.27
--
Edit bug report at http://bugs.php.net/?id=22272&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22272&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22272&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22272&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22272&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22272&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22272&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22272&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22272&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22272&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22272&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22272&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22272&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22272&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22272&r=gnused