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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php