Hi,
this whole "feature" have caused me several headhaches too..
There seem to be some consencus on this mailing list at least, that
this error is related to GLIBC. Ulrich Drepper, GLIBC maintainer, doesn't
see it that way. I sent a small program that illustrates this behaviour,
and the
Hi,
I've written an extension that will parse rfc822/rfc2045 compliant email
messages and allow manipulation of the message parts.
The main points are:
. Based on modified maildrop librfc822 and librfc2045 (part of the courier
mail server)
. Low resource usage - all parsing is "incremental",
Hi All,
I've been noticing a whole bunch of memory leaks that appear to be coming
from zend while running a complex script.
zend_hash.c(202) : Freeing 0x088D11E4 (20 bytes), script=/wwwroot/view.php
Last leak repeated 37 times
./zend_execute.c(2144) : Freeing 0x089D8E3C (48 bytes),
At 12:26 28/3/2001, Wez Furlong wrote:
Hi All,
I've been noticing a whole bunch of memory leaks that appear to be coming
from zend while running a complex script.
zend_hash.c(202) : Freeing 0x088D11E4 (20 bytes), script=/wwwroot/view.php
Last leak repeated 37 times
./zend_execute.c(2144) :
How do you see that? That 'last leak repeated 18 times' doesn't mean the
pointer got freed 18 times, but rather, that a leak from zend_hash.c(461)
repeated itself 18 times...
My mistake... just after I sent the message I realized that that couldn't be
the case,
as there would have been a
Is there way how to get line number from which function was called ???
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
[I can't reach the PHP web site (100% packet loss), so I can't open a bug
report at this time]
I have found a leak in the Zend engine:
class A
{
var $t = null;
function run($t)
{
$this-t = $t;
return $this-t-run();
}
}
class C {
BTW: This was with CVS PHP updated this morning,
./configure --disable-pear --without-gd --without-mysql --enable-debug
zend_hash.c(291) : Freeing 0x0818E474 (37 bytes), script=leak.php
Last leak repeated 1 time
zend_hash.c(202) : Freeing 0x08193D1C (20 bytes), script=leak.php
Last leak
Hi,
I wanted to compile PHP from the latest sources from cvs.
I have check out php4 from cvs.
But I cant find Zend and TSRM modules.
I know that's a stupide question, but where can I find them ?
Bibi.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL
I don't have enough mental strength to dive into that script
right now, but
:-)
be advised that if you create circular references (which
apparently you do)
then yes, it will leak. PHP doesn't support circular references.
Ahhh.
It may sound like a stupid question, but why not?
And is
Erhm all this talk about memory leaks - made me curious.
How do I go about getting the sort of output, that Wez are showing
below.
I suspect that the extension I'm writing on has some severe memory
issues.
These issues are occuring in the PHP script, that utilizes my extension.
Every other reload
I do come up with the most stupid questions - sorry :)
Thomas Wentzel wrote:
Erhm all this talk about memory leaks - made me curious.
How do I go about getting the sort of output, that Wez are showing
below.
I suspect that the extension I'm writing on has some severe memory
issues.
On Wed, 28 Mar 2001, bibi wrote:
Hi,
I wanted to compile PHP from the latest sources from cvs.
I have check out php4 from cvs.
But I cant find Zend and TSRM modules.
I know that's a stupide question, but where can I find them ?
You can find them in the Zend CVS:
[EMAIL PROTECTED]
pw:
RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz
Zeev
--
Zeev Suraski [EMAIL PROTECTED]
CTO co-founder, Zend Technologies Ltd. http://www.zend.com/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
404 (error code, not a PHP version :)
At 17:01 28.3. 2001, Zeev Suraski wrote the following:
--
RC3 is out - http://www.php.net/distributions/php-4.0.5RC3.tar.gz
Zeev
--
Zeev Suraski [EMAIL PROTECTED]
CTO co-founder, Zend
ID: 9921
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Filesystem function related
Description: Wrong File Created Date and Wrong Filesize
Sorry!
The Output for every file (no matter filesize or file date) is :
filename 01/01/1970 0
Previous Comments:
ID: 7857
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Assigned To:
Comments:
User reports fixed in 4.0.4... direct quote from email:
"
ID: 7857
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: ODBC related
From: [EMAIL PROTECTED]
Operating system: Linux-2.2.14
PHP version: 4.0.4pl1
PHP Bug Type: Compile Problem
Bug description: In function `apache_php_module_main': `NOT_FOUND' undeclared
./configure --with-apxs ; make
...
Making all in apache
make[2]: Entering directory
From: [EMAIL PROTECTED]
Operating system: solaris 8
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: dies on make
run make (after ./configure) receive the following:
# make
Making all in Zend
make[1]: Entering directory
ID: 10010
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: *Database Functions
Assigned To:
Comments:
user stated:
i use ODBC to ms access database.
if i do this function
odbc_exec($me_con,"select * from users;").
php and apache go down with windows error... -
ID: 10010
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: *Database Functions
Assigned To:
Comments:
I am unable to reproduce this locally.
Please check your configuration. If this continues further, please re-open this bug
and provide
ID: 8358
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: ODBC related
Assigned To:
Comments:
Have you tried this with the latest RC (4.0.5) of PHP? I believe there has been some
work done on the ODBC and OpenLink integration.
Previous
ID: 9869
Updated by: ahill
Reported By: [EMAIL PROTECTED]
Status: Assigned
Bug Type: ODBC related
Assigned To:
Comments:
Bruce,
What version of the OpenLink drivers are you using? The problem here is
most likely due to the fact that you're still running Release 3.2 of
OpenLink. The
ID: 9869
User Update by: [EMAIL PROTECTED]
Status: Assigned
Bug Type: ODBC related
Description: ODBC - odbc_exec does not seem to work with an Access db
I am using 3.2. I am reluctant to move up to 4.0, since this box uses ODBC to 3
different machines, and I would not want to break anything.
ID: 9869
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
Old-Status: Assigned
Status: Closed
Bug Type: ODBC related
Assigned To:
Comments:
considered closed for now. re-open please if the bugs still exist after your porting
and testing please
Previous Comments:
ID: 10035
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Assigned To:
Comments:
Which version of Apache are you using? If you have Apache2
then you should use --with-apxs2 instead.
--Jani
Previous Comments:
From: [EMAIL PROTECTED]
Operating system: linux-2.14
PHP version: 4.0.4pl1
PHP Bug Type: *Install and Config
Bug description: In file included from sapi_apache2.c:44:
./configure --with-apxs2 ; make
In file included from sapi_apache2.c:44:
php_apache.h:24: parse error
ID: 9953
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Duplicate
Bug Type: Scripting Engine problem
Description: memory leak
Previous Comments:
---
[2001-03-23 08:09:27] [EMAIL PROTECTED]
Hi Wez!
On Wed, 28 Mar 2001, Wez Furlong wrote:
[I can't reach the PHP web site (100% packet loss), so I can't open a bug
report at this time]
I have found a leak in the Zend engine:
class A
{
var $t = null;
function run($t)
{
$this-t = $t;
ok thx but i have tested with --with-apxs2 and an other problem come. i have post it
on bug database
--
Vincent Katz - CETELEM
Equipe Systeme Unix Cetelem/Cofica
20 Avenue Georges Pompidou
92300 Levallois Perret - FRANCE
E-Mail : [EMAIL PROTECTED]
Le 28.03.2001 18:49, Bug Database a crit :
ID: 10035
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Bogus
Bug Type: Compile Problem
Assigned To:
Comments:
Previous Comments:
---
[2001-03-28 10:21:36] [EMAIL PROTECTED]
./configure
ID: 10037
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Old-Bug Type: *Install and Config
Bug Type: Apache related
Assigned To:
Comments:
1. Do NOT open any new bug reports for same problem!
From now on, UPDATE this one.
2. Try the latest CVS snapshot
From: [EMAIL PROTECTED]
Operating system: Linux (Debian)
PHP version: 4.0.4pl1
PHP Bug Type: PCRE related
Bug description: preg_replace("/([_%])/","1",$text) does not work as expected
Hello,
I want to replace _ with \_, % with \% and with \.
Under PHP4.0.3pl1 (tested)
ID: 10038
Updated by: andrei
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: PCRE related
Assigned To:
Comments:
This is fixed in 4.0.5.
Previous Comments:
---
[2001-03-28 12:14:47] [EMAIL
ID: 10035
User Update by: [EMAIL PROTECTED]
Old-Status: Bogus
Status: Open
Bug Type: Compile Problem
Description: In function `apache_php_module_main': `NOT_FOUND' undeclared
yes i have apache2.
thx but i have tested --with-apxs2, and an other problem comes; i have post it
Previous
ID: 10035
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Compile Problem
Assigned To:
Comments:
Update that #10037 report.
--Jani
Previous Comments:
---
[2001-03-28
ID: 10034
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: *General Issues
Assigned To:
Comments:
Report this to [EMAIL PROTECTED]
--Jani
Previous Comments:
---
[2001-03-27
From: [EMAIL PROTECTED]
Operating system: linux
PHP version: 4.0.4pl1
PHP Bug Type: *Install and Config
Bug description: uninstallation
When compiling from source, there is no make uninstall
generated by autoconf. Such a project should have a method
of uninstallation.
how often does it update? Three hours later it's still not there.
At 17:34 28.3. 2001, Zeev Suraski wrote the following:
--
Next time www.php.net updates it should be there...
At 17:14 28/3/2001, Cynic wrote:
404 (error code, not a
ID: 10039
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: *Install and Config
Bug Type: Feature/Change Request
Assigned To:
Comments:
reclassified.
Previous Comments:
---
[2001-03-28
Looks like a bug then. I'll check it out.
At 19:51 28/3/2001, Cynic wrote:
how often does it update? Three hours later it's still not there.
At 17:34 28.3. 2001, Zeev Suraski wrote the following:
--
Next time www.php.net updates it
From: [EMAIL PROTECTED]
Operating system: Windows NT
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: Unable to fork
DESCRIPTION:
I write a little script:
?php
$rt = exec("dir") ;
echo $rt ;
?
I run it on Windows NT, using Apache, it says:"Unable
ID: 10041
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Duplicate
Bug Type: Unknown/Other Function
Assigned To:
Comments:
This is a known problem
Previous Comments:
---
[2001-03-28 14:08:39]
Bad news...
Compile failure on Win32.
Configuration: php4dllts - Win32
Release_TS_inline
Compiling...
.
.
.
basic_functions.c
V:\php-4.0.5RC3\ext\standard\basic_functions.c(2489) : error C2065: 'core_globals' :
undeclared identifier
Okay, so I have a little bit of time.
The error was introduced between versions 1.315.2.1 and 1.315.2.2.
If I comment out the line in question it builds (with crypt() support!) and runs as
ISAPI:
PHP Version 4.0.5RC3
System Windows NT 5.0 build 2195
Build Date Mar 28 2001
Server API ISAPI
Re: Bug #7488, where I tripped upon the fact that call-time
pass-by-reference, while deprecated in the language, is required by
some functions. (The one which bit me was odbc_fetch_into(), but
exec(), getmxrr(), and a few others also appear to require it).
For the case of odbc_fetch_into(), the
From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: Reproduceable crash
Bug description: disable_functions fopen Memory allocation crash
We configured PHP with fopen and all other file-related functions disabled
(disable_functions = "fopen")
ID: 10043
Updated by: torben
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Web Server problem
Assigned To:
Comments:
What happens if you test $HTTP_POST_VARS['submit'] instead of just $submit? Sounds to
me like you don't have register_globals turned on in
Should be fixed...
At 22:02 28/3/2001, Matt White wrote:
Okay, so I have a little bit of time.
The error was introduced between versions 1.315.2.1 and 1.315.2.2.
If I comment out the line in question it builds (with crypt() support!)
and runs as ISAPI:
PHP Version 4.0.5RC3
System Windows NT
ID: 10040
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Apache related
Assigned To:
Comments:
Fixed in CVS.
--Jani
Previous Comments:
---
[2001-03-28 13:22:43] [EMAIL
From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: Bug in shm_remove() and inadequate implementation of SYSVSem.
There is a bug in shm_remove() that comes from the fact
that the function is treating
Here are the patches without wrapped lines.
Gavin
--- ext/sysvsem/php_sysvsem.h.orig Fri Mar 16 01:44:26 2001
+++ ext/sysvsem/php_sysvsem.h Fri Mar 16 01:44:17 2001
@@ -30,6 +30,7 @@
PHP_FUNCTION(sem_get);
PHP_FUNCTION(sem_acquire);
PHP_FUNCTION(sem_release);
Zeev;
I may be jumping the gun here, but I found 4.0.5 RC4 on the CVSweb server and grabbed
it.
It built just fine. Looks like it's fixed.
PHP Version 4.0.5RC4
System Windows NT 5.0 build 2195
Build Date Mar 28 2001
Server API ISAPI
- Matt
Zeev Suraski [EMAIL PROTECTED] 03/28/01
RC4 was released with a fix to the ZTS build and some ming fix build. It's
pretty much the same as RC3.
Zeev
--
Zeev Suraski [EMAIL PROTECTED]
CTO co-founder, Zend Technologies Ltd. http://www.zend.com/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL
From: [EMAIL PROTECTED]
Operating system: win98
PHP version: 4.0.4
PHP Bug Type: *Extensibility Functions
Bug description: no php_calendar.dll php_ftp.dll and php_mssql70.dll
c:\php\extension\ have no php_calendar.dll php_ftp.dll and php_mssql70.dll.
--
Edit Bug report
From: [EMAIL PROTECTED]
Operating system: Windows ME
PHP version: 4.0.4pl1
PHP Bug Type: URL related
Bug description: linking to a PHP page with querystring causes error in php4ts.dll
Linking to a PHP page with querystring causes error in php4ts.dll but typing in the
exact
ID: 10046
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: URL related
Description: linking to a PHP page with querystring causes error in php4ts.dll
The same error happens when submitted a form with action="GET" . "POST" works fine.
Previous Comments:
From: [EMAIL PROTECTED]
Operating system: Linux RH 6.2
PHP version: 4.0.4pl1
PHP Bug Type: *Install and Config
Bug description: CRC Error while extracting from the downloaded archive
I am new to PHP and want to install it on Linux (Redhat 6.2). I downloaded the
From: [EMAIL PROTECTED]
Operating system: suse 7.0
PHP version: 4.0.4pl1
PHP Bug Type: OCI8 related
Bug description: OCIPlogon not persist connection
Configure Command
'./configure' '--with-mysql' '--with-apache=../apache_1.3.14'
ID: 9828
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: LDAP related
Description: LDAP: Object class violation
The problem is found.
I found that there are some changes in ldap functions in
php 4.0.4pl1. the ldap_get_entries changed in php 4.0.4pl1.
It
ID: 9857
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: IIS related
Description: define("named_constant")
Taking a shot in the dark, hoping this bug comes to sombody who "knows" attention.
Prior comments are somewhat misleading. I'm using OCI8, and also Manuel Lemos'
Metabase.
At present, the sockets extension uses integers as file descriptors
(e.g. socket() return value). At first I thought maybe they should
have been resources until I tried writing some socket code, when I
realized that it's easier under many circumstances for them to be
ints. Is this going to be
ID: 10045
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Extensibility Functions
Assigned To:
Comments:
so you have to build them yourself ...
(blame your OS if it came without a compiler)
Previous Comments:
Thank you very much, Wez!
Perhaps you can be so nice as to answer my next question also ;)
Whenever I do a configure with --enable-debug I get close to
a zillion errors when compiling (or linking rather) it seems that I get
the following two errors for each function in my code:
"multiple
64 matches
Mail list logo