Re: [PHP4BETA] Still cores on Solaris

From: Date: Fri, 17 Dec 1999 15:58:17 +0000
Subject: Re: [PHP4BETA] Still cores on Solaris
References: 1 2 3 4  Groups: php.version4 
Request: Send a blank email to php-version4+get-8065@lists.php.net to get a copy of this message
On Fri, Dec 17, 1999 at 04:56:19PM +0100, Kristian Köhntopp wrote: > > Sascha Schumann wrote: > > On Fri, Dec 17, 1999 at 04:43:26PM +0100, Kristian Köhntopp wrote: > > > zeev@zend.com wrote: > > > > truss output isn't very useful for such cases... > > > > What's the shortest script that causes a crash? > > > > > > <?php phpinfo() ?> > > > > Does it still crash, if you remove the auto_prepended script? > > *tonk* (Head hits desk hard) No, it works, if I remove all ini files. > Ok, back to the drawing board, will try incrementally adding files > to prepend.php3. And just for the record, here is the backtrace I get using the PHP 4 config file you just moved away. :) Does anyone see a bug related to recent changes? The if (!silent) line seems to be an unusual place for a segfault. #0 0x4c29c in _mem_block_check (ptr=0xffbeff7b, silent=1, __zend_filename=0xa46e0 "../php4/fopen-wrappers.c", __zend_lineno=275, __zend_orig_filename=0x0, __zend_orig_lineno=0) at ../../php4/libzend/zend_alloc.c:408 408 if (!silent) { (gdb) bt #0 0x4c29c in _mem_block_check (ptr=0xffbeff7b, silent=1, __zend_filename=0xa46e0 "../php4/fopen-wrappers.c", __zend_lineno=275, __zend_orig_filename=0x0, __zend_orig_lineno=0) at ../../php4/libzend/zend_alloc.c:408 #1 0x4ba88 in _efree (ptr=0xffbeffa3, __zend_filename=0xa46e0 "../php4/fopen-wrappers.c", __zend_lineno=275, __zend_orig_filename=0x0, __zend_orig_lineno=0) at ../../php4/libzend/zend_alloc.c:164 #2 0x487ac in php3_fopen_for_parser () at ../php4/fopen-wrappers.c:275 #3 0x2674c in main (argc=1, argv=0xffbefa94) at ../../../php4/sapi/cgi/cgi_main.c:429 -- Regards, Sascha Schumann Consultant

« previous php.version4 (#8065) next »