Re: [PHP4BETA] segfault number..

From: Date: Thu, 10 Jun 1999 05:41:16 +0000
Subject: Re: [PHP4BETA] segfault number..
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1445@lists.php.net to get a copy of this message
On Thu, 10 Jun 1999, Zeev Suraski wrote: > I'd suspect a buggy implode() here... It probably doesn't address the > array as a Zend-style array (containing pointers instead of actual structures). > > Zeev > > At 00:45 10/06/99 , Andrey Zmievski wrote: > >And another segfault. > > > >$arg = array("foo"); > >implode($arg, ","); i fixed implode yesterday. tc > > > >Results in: > > > >SIGSEGV caught on opcode 57 on opline 6 of main() at ./bug.phtml:4 > > > >Backtrace: > > > >#0 0x0 in ?? () > >#1 0x2fbec in zend_handle_sigsegv (dummy=11) at zend_execute_API.c:52 > >#2 <signal handler called> > >#3 0x30288 in zval_ptr_dtor (zval_ptr=0x1406f8) at zend_execute_API.c:194 > >#4 0x3ff94 in zend_hash_destroy (ht=0x140610) at zend_hash.c:730 > >#5 0x39868 in zval_dtor (zvalue=0x1405d8) at zend_variables.c:65 > >#6 0x302bc in zval_ptr_dtor (zval_ptr=0x1400e0) at zend_execute_API.c:196 > >#7 0x311a4 in zend_ptr_stack_clear_multiple () at zend_execute_API.c:469 > >#8 0x4e8c8 in execute (op_array=0x146810) at zend_execute.c:1397 > >#9 0x152a0 in php_execute_script (primary_file=0xffbef0f8) at main.c:1213 > >#10 0x1f5d4 in main (argc=3, argv=0xffbef18c) at cgi_main.c:431 > > > >-Andrey > >* All of the above is my opinion, unless specified otherwise. * > > > >-- > >PHP 4 Beta > > -- > Zeev Suraski <zeev@zend.com> http://www.zend.com/ > For a PGP public key, finger bourbon@netvision.net.il > > > -- > PHP 4 Beta > > 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.version4 (#1445) next »