Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2002 13:29:55 +0000
From:      Thomas Hurst <tom.hurst@clara.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: httpd in malloc(): warning: recursive call (FreeBSD error??)
Message-ID:  <20020302132955.GA9708@voi.aagh.net>
In-Reply-To: <FPEKIHMMJENHKPFAAHFICENACOAA.m.krueper@linuxwork.de>
References:  <FPEKIHMMJENHKPFAAHFICENACOAA.m.krueper@linuxwork.de>

next in thread | previous in thread | raw e-mail | index | archive | help
* Max David Krüper (m.krueper@linuxwork.de) wrote:

> I have a FreeBSD 4.5-STABLE box running, when i start apache first
> all works fine, but after like 3 minutes in the logfile i see this
> messages:
>
> httpd in free(): warning: chunk is already free

> httpd in free(): warning: recursive call

> httpd in malloc(): warning: recursive call
> httpd in malloc(): warning: recursive call
> [Fri Mar  1 19:49:16 2002] [alert] [client 195.93.64.xx]
> /usr/local/httpd/htdocs/qm-dev/.htaccess: RewriteRule: cannot compile
> regular expression 'F([0-9]+)(.htm(l)?)?'

I've had lots of fun nuking Apache using mod_rewrite.  It's can be
fragile at times; the solution is usually to rewrite the regex.  It's
also a good idea to put it in httpd.conf on a production server, since
.htaccess support is conciderably slower and more of a hack then
anything.

Also keep in mind with php embedded in the server, bugs in that and it's
extensions (some of which are dodgy at the best of times, like XSLT) can
show up as Apache errors.  Try disabling it and seeing if it still
happens (after mod_rewrite :)

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
-
No problem is so formidable that you can't just walk away from it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020302132955.GA9708>