Re: Segmentation fault in v4.3.4

From: Date: Wed, 26 Nov 2003 11:27:46 +0000
Subject: Re: Segmentation fault in v4.3.4
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-5721@lists.php.net to get a copy of this message
On Wed, 26 Nov 2003, Jean-Pierre Arneodo wrote: > The script uses 3 extensions a lot: > - xml: EXPAT Version 1.95.6 > - curl: libcurl/7.10.2 OpenSSL/0.9.6b zlib/1.1.4 > - mysql: Client API version 4.0.15 (The MySQL server and lib on the host > is a 4.0.16) > > 80 classes are involved, it is difficult to reduce the script to 20 lines. > The segfault is data depending. it doesn't happen every time. > > My first idea was to rebuild the cli to have a core dump on segfault we can > analyse. > But with the --enable-debug configure flag, no segfault :-( > but some traces. > > Any direction to investigate? Have a look at the valgrind tool. Use it on a debug build of PHP like this: valgrind php <yourscript> it should spit out memory problems then. Derick

« previous php.internals (#5721) next »