Le jeudi 16 octobre 2014 à 18:10 +0200, Ferenc Kovacs a écrit :
> On Thu, Oct 16, 2014 at 5:47 PM, Rasmus Lerdorf wrote:
>
> > On 10/16/2014 04:27 AM, Ferenc Kovacs wrote:
> > > On Fri, Jun 15, 2012 at 3:01 AM, Anthony Ferrara
> > > wrote:
> > >
> > >> Hello all,
> > >>
> > >> I raised this topi
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&
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
Thanks Felipe !
Felipe Pena a écrit :
Hello,
Em Dom, 2009-01-11 às 01:45 +0100, Olivier Bonvalet escreveu:
Hello,
this bug was corrected in CVS on 17 oct, but I can't find the related
patch on http://news.php.net/php.cvs/start/53560
Does someone know which one is it ? I would like t
Hello,
this bug was corrected in CVS on 17 oct, but I can't find the related
patch on http://news.php.net/php.cvs/start/53560
Does someone know which one is it ? I would like try to backport it to
PHP 5.2.6
Thanks in advance,
Olivier Bonvalet
Olivier Bonvalet a écrit :
Hi Filipe,
the
Hi Filipe,
there is not the problem with your code, the script works fine and show
"NULL".
I open this bug report : http://bugs.php.net/bug.php?id=46308
(I hope the title is correct... I did'nt know what to put...)
Thanks,
Olivier
Felipe Pena a écrit :
Hi Olivier,
That is weird, canno
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 :
=
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 o
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
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
+0200, Olivier Bonvalet wrote:
public function __construct( $dsn, $user, $password )
{
try {
parent::__construct( $dsn, $user, $password );
} catch( PDOException $e ) {
echo 'there is an error... but continue the script', PHP_EOL;
}
Hello,
I would like to correct a little "problem" with : when an error occured
in the constructor
(a connection error for example) no object is returned. Internally, the
object is created
then destroyed (via "ZVAL_NULL(object);" statement).
The problem is when the PDO class is derived and the
Hello,
I often host clients which have "bad" PHP/SQL code ; as for example
a "select *" + mysql_row_nums on a 200Mo table just to count lines...
So I add a little patch to throw a warning in case the result of mysql_query
is larger than a specified limit.
I use the setting "mysql.min_stored_data
13 matches
Mail list logo