Re: Bug #1218: apache/php crashes when installed via apxs

From: Date: Thu, 11 Mar 1999 04:18:28 +0000
Subject: Re: Bug #1218: apache/php crashes when installed via apxs
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-4565@lists.php.net to get a copy of this message
> What do you mean by crash? What symptom do you see? Any errors in the > log file? Does a straight info.php3 script containing <? phpinfo() ?> > work? The installation instructions listed in INSTALL.REDHAT have been > extensively tested on RH-5.2 and should work. > > -Rasmus Hi Rasmus, I mean the apache error log has a seg fault message in it. The basic php stuff works okay, but when you try to run the specific script in the MOT distribution, the server crashes. Here's the backtrace from the crash: [root@thlon mot-2.0]# gdb /usr/bin/httpd GNU gdb 4.17 Copyright 1998 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"... (no debugging symbols found)... (gdb) run -X Starting program: /usr/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x400cbe24 in re_match_2_internal (bufp=0xbfffeac8, string1=0x0, size1=0, string2=0x80a8cb0 "..", size2=2, pos=0, regs=0xbfffeae8, stop=2) at regex.c:3900 regex.c:3900: No such file or directory. (gdb) bt #0 0x400cbe24 in re_match_2_internal (bufp=0xbfffeac8, string1=0x0, size1=0, string2=0x80a8cb0 "..", size2=2, pos=0, regs=0xbfffeae8, stop=2) at regex.c:3900 #1 0x400cbbc7 in re_search_2 (bufp=0xbfffeac8, string1=0x0, size1=0, string2=0x80a8cb0 "..", size2=2, startpos=0, range=2, regs=0xbfffeae8, stop=2) at regex.c:3541 #2 0x400cb9b4 in re_search (bufp=0xbfffeac8, string=0x80a8cb0 "..", size=2, startpos=0, range=2, regs=0xbfffeae8) at regex.c:3412 #3 0x400ce450 in regexec (preg=0xbfffeba4, string=0x80a8cb0 "..", nmatch=10, pmatch=0xbfffeb54, eflags=0) at regex.c:5630 #4 0x401a8b3b in _php3_ereg (ht=0x80ebe58, return_value=0x401ec714, list=0x401edb34, plist=0x401edb08, icase=0) at functions/reg.c:218 #5 0x401a8d0f in php3_ereg (ht=0x80ebe58, return_value=0x401ec714, list=0x401edb34, plist=0x401edb08) at functions/reg.c:270 #6 0x401bb9f7 in phpparse () at control_structures_inline.h:930 #7 0x401885da in php3_parse (yyin=0x809dbb8) at main.c:1534 #8 0x401888b8 in apache_php3_module_main (r=0x809b25c, fd=20, display_source_mode=0, preprocessed=0) at main.c:1914 #9 0x40185a27 in send_php3 () #10 0x40185a9f in send_parsed_php3 () #11 0x80515b2 in ap_invoke_handler () #12 0x805fb4b in ap_some_auth_required () #13 0x805fba8 in ap_process_request () ---Type <return> to continue, or q <return> to quit--- #14 0x8059b84 in ap_child_terminate () #15 0x8059cbb in ap_child_terminate () #16 0x8059dc4 in ap_child_terminate () #17 0x805a27b in ap_child_terminate () #18 0x805a9ce in main () -hal -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4565) next »