Re: PHP 4.0 Bug #2411 Updated: immediate Segmentation Fault with any php source

From: Date: Fri, 01 Oct 1999 18:29:00 +0000
Subject: Re: PHP 4.0 Bug #2411 Updated: immediate Segmentation Fault with any php source
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-11419@lists.php.net to get a copy of this message
Can you provide a simple script that causes this? Bug Database wrote: > ID: 2411 > User Update by: soward@soward.net > Old-Status: Closed > Status: Open > Bug Type: Reproduceable crash > Description: immediate Segmentation Fault with any php source > > I wiped complete source dist and re-cvs'ed entire dist, then rebuilt php and apache. > Same results.... > > so I built is as a CGI and it dumps core from the command-line. Here's a sample: > > tank# ./php > zsh: segmentation fault (core dumped) ./php > tank# gdb php > GNU gdb 4.18 > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-unknown-freebsd"... > (gdb) r > Starting program: /usr/local/src/lang/php4/php > > Program received signal SIGSEGV, Segmentation fault. > 0x0 in ?? () > (gdb) where > #0 0x0 in ?? () > #1 0x806caf3 in zend_hash_find (ht=0x80dc028, arKey=0x80f74e8 "PHPSESSID", > nKeyLength=10, pData=0xbfbfdb74) at zend_hash.c:919 > #2 0x807a5a5 in _php_session_start () at session.c:454 > #3 0x807b666 in php3_rinit_session (type=1, module_number=16) at session.c:895 > #4 0x806b086 in module_registry_request_startup (module=0x80f3e40) > at zend_API.c:709 > #5 0x806c829 in zend_hash_apply (ht=0x80dc1e4, > destruct=0x806b068 <module_registry_request_startup>) at zend_hash.c:797 > #6 0x80615be in init_compiler () at zend_compile.c:94 > #7 0x8069da4 in zend_activate () at zend.c:429 > #8 0x8055d11 in php_request_startup () at main.c:688 > #9 0x805cd8f in main (argc=1, argv=0xbfbfdc50) at cgi_main.c:396 > #10 0x805547d in _start () > > hope that helps.... > > Full Bug description available at: > http://bugs.php.net/version4/?id=2411 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- End of excerpt from Bug Database -Andrei * Anything will fit if you push hard enough *

« previous php.dev (#11419) next »