From: [EMAIL PROTECTED] Operating system: RedHat Linux, 2.4.2 kernel PHP version: 4.1.1 PHP Bug Type: Reproducible crash Bug description: apache segmentation fault (11) with php4
I recently installed PHP4 from the tarball distribution as a dynamically loaded module for Apache. It builds cleanly and the server starts. However, I have two serious problems with my server: 1) all requests to the server for .html documents result in a "[notice] child pid 15202 exit signal Segmentation fau lt (11)" error 2) requests for PHP-containing documents do not return anything to the server. However, an examination of the source shows the text of the document with <?php... tags. If I comment out the LoadModule directive that loads PHP4 in httpd.conf, my server can process the html document requests. PHP 4.1.1 was configured with: --enable-debug --with-mysql=/usr --with-apxs=/usr/sbin/apxs Apache is apache-1.3.22-3 installed from a RawHide RPM MySQL is MySQL-4.0.1-2 installed from a MySQL RPM Here's the gdb backtrace from a request for a non-PHP-including html document: -------------------------------------- Starting program: /usr/sbin/httpd -X -f /etc/httpd/conf/httpd.conf (no debugging symbols found)...[New Thread 1024 (LWP 15221)] (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 15221)] 0x40480108 in php_xbithack_handler (r=0x80df818) at mod_php4.c:777 777 conf = (php_apache_info_struct *) get_module_config(r->per_dir_c onfig, &php4_module); (gdb) (gdb) bt #0 0x40480108 in php_xbithack_handler (r=0x80df818) at mod_php4.c:777 #1 0x8054f7a in ap_invoke_handler () #2 0x8068e73 in ap_some_auth_required () #3 0x403d9ea4 in handle_dir () from /etc/httpd/modules/mod_dir.so #4 0x8054f7a in ap_invoke_handler () #5 0x8068e73 in ap_some_auth_required () #6 0x806910e in ap_process_request () #7 0x806113d in ap_child_terminate () #8 0x80613c2 in ap_child_terminate () #9 0x8061449 in ap_child_terminate () #10 0x80620aa in ap_child_terminate () #11 0x8062434 in main () #12 0x40171108 in __libc_start_main () from /lib/i686/libc.so.6 -------------------------------------- I'd appreciate any help you can provide on this. By the way, I'm willing to use an older version of PHP if the bug is fixed there. Thanks a lot. Best regards, Craig -- Edit bug report at: http://bugs.php.net/?id=15156&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]