Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 04:02:59 +0100
From:      =?iso-8859-1?Q?Max_David_Kr=FCper?= <m.krueper@linuxwork.de>
To:        "Thomas Hurst" <tom.hurst@clara.net>
Cc:        <freebsd-hackers@freebsd.org>
Subject:   AW: httpd in malloc(): warning: recursive call (FreeBSD error??)
Message-ID:  <FPEKIHMMJENHKPFAAHFICEAPCPAA.m.krueper@linuxwork.de>
In-Reply-To: <20020302132955.GA9708@voi.aagh.net>

next in thread | previous in thread | raw e-mail | index | archive | help
we moved the rewrite into the httpd.conf, this was the solution, works very
well now!

Thanks a lot for that Information guys!

Ciao,
Max

-----Ursprüngliche Nachricht-----
Von: owner-freebsd-hackers@FreeBSD.ORG
[mailto:owner-freebsd-hackers@FreeBSD.ORG]Im Auftrag von Thomas Hurst
Gesendet: Samstag, 2. März 2002 14:30
An: freebsd-hackers@freebsd.org
Betreff: Re: httpd in malloc(): warning: recursive call (FreeBSD
error??)


* 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


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?FPEKIHMMJENHKPFAAHFICEAPCPAA.m.krueper>