php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15820 Apache 1.3.23, MySQL Client 3.23.49, PHP 4.1.2, same error with PHP 4.1.1 befor
Submitted: 2002-03-01 14:17 UTC Modified: 2002-04-18 08:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: max at linuxwork dot de Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.2 OS: FreeBSD 4.5-STABLE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: max at linuxwork dot de
New email:
PHP Version: OS:

 

 [2002-03-01 14:17 UTC] max at linuxwork dot de
Hello,

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: chunk is already free
httpd in free(): warning: chunk is already free
httpd in free(): warning: chunk is already free
httpd in free(): warning: chunk is already free
httpd in free(): warning: chunk is already free

after another 2 minutes the logfile gets flooded of hundred of this messages:

httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
...
...

right after this i get all time this error(this error didn't appear before):

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)?)?'

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

...
...

The php doesn't work well after this, i get sometimes  errors, it tells me there would be errors in the code, but if i refresh it works fine, and the apache prints "Internal Server Error"... but this happens only under high server load. Is it a PHP bug ? What might we do to fix that?

Ciao,
Max Kr?per

P.S. Before we used a Linux Server with PHP 4.0.(4or6) and all worked fine.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-01 14:21 UTC] max at linuxwork dot de
Hello,

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: chunk is already free
httpd in free(): warning: chunk is already free
httpd in free(): warning: chunk is already free
httpd in free(): warning: chunk is already free
httpd in free(): warning: chunk is already free

after another 2 minutes the logfile gets flooded of hundred of this
messages:

httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
httpd in free(): warning: recursive call
...
...

right after this i get all time this error(this error didn't appear
before):

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)?)?'

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

...
...

The php doesn't work well after this, i get sometimes  errors, it tells
me there would be errors in the code, but if i refresh it works fine,
and the apache prints "Internal Server Error"... but this happens only
under high server load. Is it a PHP bug ? What might we do to fix that?

Ciao,
Max Kr?per

P.S. Before we used a Linux Server with PHP 4.0.(4or6) and all worked
fine.
 [2002-03-01 15:53 UTC] sander@php.net
Are you sure this is caused by PHP? Does Apache function normally without PHP?
 [2002-04-17 15:18 UTC] cteles at infolink dot com dot br
Hello, I'm sorry for my poor English.

I have the same problem in Freebsd 4.5-STABLE, but I'm using Apache 1.3.22, MySQL Client 3.23.47 and PHP 4.0.6 as a module of apache and PHP 4.1.1 as CGI. And the problem occured when 4.0.6 is executed.

Carlos Teles
 [2002-04-18 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-04-18 08:43 UTC] sander@php.net
Closing on user request, it was a problem with Apache's mod_rewrite.
Thanks for your message!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 12:01:28 2025 UTC