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? JP # php -r 'print_r(get_loaded_extensions());' Array ( [0] => xml [1] => tokenizer [2] => sysvshm [3] => sysvsem [4] => standard [5] => sockets [6] => session [7] => posix [8] => pcre [9] => pcntl [10] => overload [11] => mysql [12] => imap [13] => gettext [14] => gd [15] => curl [16] => ctype [17] => bz2 [18] => zlib ) ----- Original Message ----- From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Jean-Pierre Arneodo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 11:05 PM Subject: Re: [PHP-DEV] Segmentation fault in v4.3.4 > Hi, > > We really need you to cut down this script to a minimum (10-20 lines) which > reproduces the problem. > > Thanks, > > Andi > > At 10:38 PM 11/25/2003 +0100, Jean-Pierre Arneodo wrote: > >Hi, > > > >I've a seg fault with 4.3.4 > > > >To find where I configure with --enable-debug > >Now no seg fault but the cli print something. > > > >How to investigate more ? > > > >JP > > > > > > > >[Tue Nov 25 22:11:24 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute_API.c(291) : Block 0x085BC788 > >status: > >/home/jpa/dev/php-4.3.4/Zend/zend_variables.c(44) : Actual location > >(location was relayed) > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8FCC87 instead of 0x2A8FCC84) > > 1 byte(s) overflown > >--------------------------------------- > >[Tue Nov 25 22:16:25 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute.h(44) : Block 0x085BC788 status: > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8F0000 instead of 0x2A8FCC84) > > 2 byte(s) overflown > >--------------------------------------- > >[Tue Nov 25 22:16:25 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute.h(44) : Block 0x085BC788 status: > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8F0000 instead of 0x2A8FCC84) > > 2 byte(s) overflown > >--------------------------------------- > >[Tue Nov 25 22:16:25 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute.h(44) : Block 0x085BC788 status: > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8F0000 instead of 0x2A8FCC84) > > 2 byte(s) overflown > >--------------------------------------- > >[Tue Nov 25 22:16:25 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute.h(44) : Block 0x085BC788 status: > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8F0000 instead of 0x2A8FCC84) > > 2 byte(s) overflown > >--------------------------------------- > >[Tue Nov 25 22:16:25 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute.h(44) : Block 0x085BC788 status: > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8F0000 instead of 0x2A8FCC84) > > 2 byte(s) overflown > >--------------------------------------- > >[Tue Nov 25 22:16:25 2003] Script: './wsp_shell_instrument_synchronize.php' > >--------------------------------------- > >/home/jpa/dev/php-4.3.4/Zend/zend_execute.h(44) : Block 0x085BC788 status: > >Beginning: OK (allocated on > >/home/jpa/dev/php-4.3.4/Zend/zend_hash.c:1066, 10 bytes) > > End: Overflown (magic=0x2A8F0000 instead of 0x2A8FCC84) > > 2 byte(s) overflown > >--------------------------------------- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php