Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-15 Thread Cristian Rodríguez
Stanislav Malyshev escribió: > Can reproduce the problem with valgrind and USE_ZEND_ALLOC=0 on 32-bit > with 5.3 HEAD. Looks like genuine bug. Reproduced with 5_3 and 5_2 in 64 bit linux USE_ZEND_ALLOC=0, please open a bug report.. -- "A computer is like an Old Testament god, with a lot of rule

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-15 Thread Stanislav Malyshev
Hi! So, I reduce the script which throw the segmentation fault. My environment : Debian Lenny, 64bits Latest PHP 5.2 from CVS (php5.2-200810151030) compiled with : ./configure --prefix=/home/dev-olivier/usr/ --disable-all --enable-debug Can reproduce the problem with valgrind an

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-15 Thread Felipe Pena
Hi Olivier, Em Qua, 2008-10-15 às 15:44 +0200, Olivier Bonvalet escreveu: > So, I reduce the script which throw the segmentation fault. > > My environment : > Debian Lenny, 64bits > Latest PHP 5.2 from CVS (php5.2-200810151030) compiled with : > ./configure --prefix=/home/dev-oliv

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-15 Thread Olivier Bonvalet
So, I reduce the script which throw the segmentation fault. My environment : Debian Lenny, 64bits Latest PHP 5.2 from CVS (php5.2-200810151030) compiled with : ./configure --prefix=/home/dev-olivier/usr/ --disable-all --enable-debug In "first.php" I have this code : =

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-11 Thread Olivier Bonvalet
Hello, it's a Debian Lenny (testing) 64bits : Linux debian 2.6.26-1-amd64 #1 SMP Wed Sep 10 15:31:12 UTC 2008 x86_64 GNU/Linux (and I have the problem with the Debian version of PHP too) Cristian Rodríguez a écrit : Olivier Bonvalet escribió: Should I try to reduce the size of the PH

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-11 Thread Cristian Rodríguez
Olivier Bonvalet escribió: > Should I try to reduce the size of the PHP script (actually it use a > framework) to can reproduce the problem ; or is this output of valgrind > is enough ? what does produces in your system and what OS are you using ? -- "A computer is like an Old Testament g

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-10 Thread Olivier Bonvalet
Thanks, with this version I obtain this valgrind output : ==6577== Conditional jump or move depends on uninitialised value(s) ==6577==at 0x6CB2DB: _zend_mm_free_int (zend_alloc.c:1941) ==6577==by 0x710210: ZEND_CONCAT_SPEC_CV_TMP_HANDLER (zend_variables.h:35) ==6577==by 0x709D63: ex

Re: [PHP-DEV] segfault after an "invalid read of size 8"

2008-10-10 Thread Felipe Pena
Em Sex, 2008-10-10 às 18:58 +0200, Olivier Bonvalet escreveu: > Hello, > > I have a script which throw a segfault, in cli with PHP 5.2.6 (I just > recompiled it from source). > > I track the error with valgrind, and obtain this as a result : > ==17069== Invalid read of size 8 > ==17069==at 0

[PHP-DEV] segfault after an "invalid read of size 8"

2008-10-10 Thread Olivier Bonvalet
Hello, I have a script which throw a segfault, in cli with PHP 5.2.6 (I just recompiled it from source). I track the error with valgrind, and obtain this as a result : ==17069== Invalid read of size 8 ==17069==at 0x6CBCAC: _zend_mm_alloc_int (zend_alloc.c:1767) ==17069==by 0x6CC1DF: _e