Date: 12/28/98
- Next message: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Previous message: sas: "[PHP-DEV] CVS update: php3/functions"
- In reply to: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Reply: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I just updated the tree as of 11:26 US Central time; a new
regex/regcomp.ih and a few others came down this time. I'm certain
the tree was synced as of my previous posts. After a make distclean
on the php3 tree, and a make clean on apache before recompiling, I'm
still getting an error; the backtrace is at the end. FWIW I am using
the bundled regex in both Apache and PHP3. The PHP3 configuration is
immediately below. Thanks again for the quick response.
./configure --with-apache=/usr/local/apache \
--includedir=/usr/local/apache/src/include \
--with-imap=/usr/src/imap-4.4 \
--with-gd \
--with-mysql \
--with-solid \
--enable-unified-odbc \
--with-sybase-ct=/usr/local/sybase \
--enable-safe-mode=yes \
--with-exec-dir=/var/lib/php \
--disable-debug \
--disable-debugger \
--with-config-file-path=/usr/local/apache/etc
-- Michael
On Mon, 28 Dec 1998, Sascha Schumann wrote:
> On Mon, 28 Dec 1998, Michael Brennen wrote:
> > I just updated and only saw that the xml.c and Makefile.in had
> > changed. I rebuilt the daemon and got what looked like a very similar
> > backtrace to the second one I sent previously; it is below. Thanks
> > for the followup,
>
> _php3_regcomp (a) takes other parameters and (b) doesn't call efree,
> therefore your tree is outdated or should do a make clean.
Starting program: /usr/local/apache/src/httpd -X -d /usr/local/apache -f conf/httpd.conf
Program received signal SIGSEGV, Segmentation fault.
_efree (ptr=0x63) at alloc.c:166
166 if ((p->size < MAX_CACHED_MEMORY) && (GLOBAL(cache_count[p->size]) < MAX_CACHED_ENTRIES)) {
(gdb) bt
#0 _efree (ptr=0x63) at alloc.c:166
#1 0x8087989 in _php3_regcomp (ht=0x8222168, return_value=0x81be084,
list=0x81d37fc, plist=0x81d37d0, preg=0xbfffe720, pattern=0x82242d8 "
+$",
cflags=1) at functions/reg.c:86
#2 0x8087f12 in __php3_regreplace (ht=0x8222168, return_value=0x81be084,
list=0x81d37fc, plist=0x81d37d0, pattern=0x82242d8 " +$",
replace=0x812824a "", string=0x82242f0 "US$", icase=0, extended=1)
at functions/reg.c:288
#3 0x808842c in _php3_eregreplace (ht=0x8222168, return_value=0x81be084,
list=0x81d37fc, plist=0x81d37d0, icase=0) at functions/reg.c:448
#4 0x8088543 in php3_eregreplace (ht=0x8222168, return_value=0x81be084,
list=0x81d37fc, plist=0x81d37d0) at functions/reg.c:464
#5 0x809afbc in phpparse () at control_structures_inline.h:930
#6 0x80604c8 in php3_parse (yyin=0x8211098) at main.c:1471
#7 0x8060796 in apache_php3_module_main (r=0x820668c, fd=22,
display_source_mode=0, preprocessed=0) at main.c:1851
#8 0x805e09b in send_php3 ()
#9 0x805e0f2 in send_parsed_php3 ()
#10 0x80a5a62 in ap_invoke_handler ()
#11 0x80b349b in process_request_internal ()
#12 0x80b34ec in ap_process_request ()
#13 0x80ad958 in child_main ()
#14 0x80ada8b in make_child ()
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Previous message: sas: "[PHP-DEV] CVS update: php3/functions"
- In reply to: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Reply: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

