#18821 [Fbk->Opn]: CLI crashes with 'echo "";' as with every other command as well

From: Date: Fri, 09 Aug 2002 10:33:23 +0000
Subject: #18821 [Fbk->Opn]: CLI crashes with 'echo "";' as with every other command as well
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16375@lists.php.net to get a copy of this message
ID: 18821 Updated by: eru@php.net -Summary: PHP CLI crashes with 'echo E_ALL & ~E_NOTICE;' Reported By: eru@php.net -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: RedHat 7.3 w/ 2.4.18-5smp -PHP Version: 4CVS-2002-08-08 +PHP Version: 4CVS-2002-08-09 New Comment: ./configure --enable-debug (gdb) run -r 'echo "";' Starting program: /usr/local/src/cvs/php4/sapi/cli/php -r 'echo "";' Program received signal SIGSEGV, Segmentation fault. 0x0816313f in zend_llist_destroy (l=0x81f5020) at /usr/local/src/cvs/php4/Zend/zend_llist.c:110 110 next = current->next; same backtrace as last time... I tested various commands like php -r 'phpinfo();' and even php -r '' segfaults... Previous Comments: ------------------------------------------------------------------------ [2002-08-09 02:36:16] edink@php.net Hm, cannot reproduce this with a simple configure line. Could you try to recompile with just ./configure --enable-dedug and see if it still crashes? If it doesn't could you try locating which extension causes the trouble? ------------------------------------------------------------------------ [2002-08-08 21:30:51] eru@php.net Dunno why it does, tested on a WinXP too with CVS from yesterday, works like a charm. (gdb) run -r 'echo E_ALL & ~E_NOTICE;' Starting program: /usr/local/bin/php -r 'echo E_ALL & ~E_NOTICE;' Program received signal SIGSEGV, Segmentation fault. 0x081cf90f in zend_llist_destroy (l=0x8267260) at /usr/local/src/cvs/php4/Zend/zend_llist.c:110 110 next = current->next; (gdb) bt #0 0x081cf90f in zend_llist_destroy (l=0x8267260) at /usr/local/src/cvs/php4/Zend/zend_llist.c:110 #1 0x081c613e in shutdown_compiler () at /usr/local/src/cvs/php4/Zend/zend_compile.c:118 #2 0x081d8265 in zend_deactivate () at /usr/local/src/cvs/php4/Zend/zend.c:599 #3 0x081a39d3 in php_request_shutdown (dummy=0x0) at /usr/local/src/cvs/php4/main/main.c:865 #4 0x081f1e48 in main (argc=3, argv=0xbffff924) at /usr/local/src/cvs/php4/sapi/cli/php_cli.c:723 #5 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 Additional info available at http://zyanka.li/phpinfo.html ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18821&edit=1

« previous php.bugs (#16375) next »