Hello,
I have an other memory corruption problem ; I had the problem on PHP
5.2.6 on Debian Lenny (64bits), so I re-checked with the CVS version
(php5.2-200902060730).
When I run my (really huge) cli-script with valgrind, I obtain this :
==22716== Invalid read of size 4
==22716==at 0x73E
On 06.02.2009 12:17, Olivier B. wrote:
> Hello,
>
> I have an other memory corruption problem ; I had the problem on PHP
> 5.2.6 on Debian Lenny (64bits), so I re-checked with the CVS version
> (php5.2-200902060730).
>
> When I run my (really huge) cli-script with valgrind, I obtain this :
>
And... if I'm not able to identify which part of the script do that ?
I don't know valgrind, is it possible to obtain some informations about
the partion of code which produce that ?
I suppose the name of the C functions should help to identify that, no ?
And zend_objects_store_del_ref is about
Olivier Bonvalet wrote:
> And... if I'm not able to identify which part of the script do that ?
>
> I don't know valgrind, is it possible to obtain some informations about
> the partion of code which produce that ?
> I suppose the name of the C functions should help to identify that, no ?
> And z
Thanks, I guess that ;) My question was to know if I can consider that
this trace is "good enough" to identify in which part of the code I have
to search.
I hope I will find the source...
Thanks,
Olivier
Christopher Jones a écrit :
Olivier Bonvalet wrote:
> And... if I'm not able to identif
On 07.02.2009 01:34, Olivier Bonvalet wrote:
> And... if I'm not able to identify which part of the script do that ?
Remove parts of the code one by one, trying to see which parts affect it and
which do not.
Finally you should get only those parts of the code, which are required to
reproduce it.
Hi,
this is a small script to reproduce that problem :
Note : that is dependent of the size of the array. With a value of 1000,
I haven't got the error.
I verify that problem on PHP 5.2.6 (debian lenny), php5.2-200902060730
and php5.3-200902101330.
And I report a bug : http://bugs.php.net