[PHP-DEV] Another latest CVS problem From: Michael Brennen (mbrennen <email protected>)
Date: 12/28/98

On Mon, 28 Dec 1998, Rasmus Lerdorf wrote:

> > Very good, glad to hear that you have a line on it. I'll be
> > glad to test the fixes when you get them in place. Thanks,
>
> It was already fixed. Update your CVS.

I just had done so and saw that many regex files had changed. I built
a new daemon, and it is much better. I still occasionally get a
document contains no data; two backtraces are below. Does the first
one make any sense????

   -- Michael

Starting program: /usr/local/apache/src/httpd -X -d /usr/local/apache -f
conf/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
0x401395f6 in __libc_free (mem=0x0)
(gdb) bt
#0 0x401395f6 in __libc_free (mem=0x0)
#1 0x4014a81c in __DTOR_END__ ()
#2 0xb1 in ?? ()
#3 0x4014a2ec in av_ ()

Starting program: /usr/local/apache/src/httpd -X -d /usr/local/apache -f
conf/httpd.conf

Program received signal SIGSEGV, Segmentation fault.
0x8066b11 in _efree (ptr=0x822c8a8) at alloc.c:175
175 REMOVE_POINTER_FROM_LIST(p);

(gdb) bt
#0 0x8066b11 in _efree (ptr=0x822c8a8) at alloc.c:175
#1 0x8087989 in _php3_regcomp (ht=0x8224a50, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800, preg=0xbfffe720, pattern=0x8226bc0 "+$",
    cflags=1) at functions/reg.c:86
#2 0x8087f12 in __php3_regreplace (ht=0x8224a50, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800, pattern=0x8226bc0 " +$",
    replace=0x812827a "", string=0x8226bd8 "US$", icase=0, extended=1)
    at functions/reg.c:288
#3 0x808842c in _php3_eregreplace (ht=0x8224a50, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800, icase=0) at functions/reg.c:448
#4 0x8088543 in php3_eregreplace (ht=0x8224a50, return_value=0x81be0b4,
    list=0x81d382c, plist=0x81d3800) at functions/reg.c:464
#5 0x809afbc in phpparse () at control_structures_inline.h:930
#6 0x80604c8 in php3_parse (yyin=0x82110c8) at main.c:1471
#7 0x8060796 in apache_php3_module_main (r=0x82066bc, 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>