Re: set_time_limit causes crash in current (-1) cvs

From: Date: Sun, 11 Jun 2000 15:51:18 +0000
Subject: Re: set_time_limit causes crash in current (-1) cvs
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-21004@lists.php.net to get a copy of this message
On Sun, Jun 11, 2000 at 06:42:24PM +0300, Andi Gutmans wrote: > No idea. How about debugging it? just revert my last change to main.c (unless you haven't updated yet): cvs update -j1.266 -j1.265 main.c script: <?php set_time_limit(0); ?> produces: [Sun Jun 11 17:41:26 2000] Script: '../crash/stl.php' --------------------------------------- ./../php4/Zend/zend_execute_API.c(245) : Block 0x081B7130 status: Beginning: Overrun (magic=0x081B70E0, expected=0x7312F8DC) End: Unknown --------------------------------------- Program received signal SIGSEGV, Segmentation fault. 0x809722c in _zval_ptr_dtor (zval_ptr=0x81b5090, __zend_filename=0x8144f40 "../../php4/Zend/zend_execute_API.c", __zend_lineno=635) at ../../php4/Zend/zend_execute_API.c:255 255 (*zval_ptr)->refcount--; (gdb) where #0 0x809722c in _zval_ptr_dtor (zval_ptr=0x81b5090, __zend_filename=0x8144f40 "../../php4/Zend/zend_execute_API.c", __zend_lineno=635) at ../../php4/Zend/zend_execute_API.c:255 #1 0x8098247 in zend_ptr_stack_clear_multiple () at ../../php4/Zend/zend_execute_API.c:635 #2 0x8081a6b in execute (op_array=0x8181034) at ../../php4/Zend/zend_execute.c:1628 #3 0x806e1fe in php_execute_script (primary_file=0xbffff814) at /dot/dc4/zend/php-dev/php4/main.c:1201 #4 0x80609e9 in main (argc=2, argv=0xbffff884) at /dot/dc4/zend/php-dev/php4/sapi/cgi/cgi_main.c:666 (gdb) this is beyond me to debug ;-) and as you have changes some mem-manager stuff lately it might be easier for you to find. tc > > Andi > > On Sun, 11 Jun 2000 thies@digicol.de wrote: > > > > > just changes set_time_limit to use the new API, but maybe > > somebody could check why using the odl api causes php to die > > when callign set_time_limit()? > > > > andi, zeev? > > > > tc > > -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#21004) next »