Re: [PHP-DEV] Another latest CVS problem From: Sascha Schumann (sas <email protected>)
Date: 12/29/98

On Mon, 28 Dec 1998, Michael Brennen wrote:

> I just checked out a fresh copy of php3 via cvs, and the results are
> absolutely repeatable.
>
> Ignoring for the moment the bogus arguments to _php3_regcomp as a
> possible gdb problem, do the remaining three arguments in the list
> give any clue to the problem?

Nope - as I said before, _php3_regcomp doesn't call efree directly. I
don't think it's a gdb problem, because the parameters to _php3_regcomp
are not bogus, but show that an old version of functions/reg.c was used to
compile the binary which you are now debugging.

To the backtrace: functions/reg.c:86 is

        r = regcomp(preg, pattern, cflags);
        if(r == 0) {
            reg_cache rcp; <<< this line

            rcp.cflags = cflags;
            memcpy(&rcp.preg, preg, sizeof(*preg));
            _php3_hash_update(&ht_rc, (char *) pattern, patlen + 1,
                    (void *) &rcp, sizeof(*rc), NULL);
        }

in the current CVS.

            Regards,

                                     Sascha Schumann |
                                          Consultant | finger sas <email protected>
                                                     | for PGP public key

--
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>