Re: [PHP4BETA] SIGSEGV at zend_execute.c:1329

From: Date: Fri, 21 May 1999 11:23:38 +0000
Subject: Re: [PHP4BETA] SIGSEGV at zend_execute.c:1329
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-964@lists.php.net to get a copy of this message
On Fri, 21 May 1999, Zeev Suraski wrote: > At 00:30 21/05/99 , Thies C. Arntzen wrote: > >On Fri, 21 May 1999, Zeev Suraski wrote: > > > > > At 16:20 20/05/99 , Thies C. Arntzen wrote: > > > >On Thu, 20 May 1999, Zeev Suraski wrote: > > > > > > > > > Any chance you could give us that script? Or let us access that box? > > > > > > > >could do, but this is a "heck" of a script using oracle and tons of > > > >thing > > > >you don't wanna know. if you really want to have a look at it i can give > > > >you access. > > > > > > Before going on, could you please try to uncomment the commented lines in > > > zend_handle_sigsegv() in zend_execute_API.c, and see if you get any > > idea on > > > what function that crash is coming from? > > > >SIGSEGV caught on opcode 58 on opline 84 of dbview_load() at > >../../php/package/phpbasic/phpsite/functions/dbview.fnc:47 > > > >i have to go to bed now;-) > >last message for today, > > Not bad, huh? :) I guess it points us to the source of the problem. acually very good! dbview.fnc: function DBView_Load($query,$result = 0,$bindfields = 0) { // API compatibility: New code should use a referenced variable if ($result == 0) $retresult = true; else $retresult = false; $mydb = new DataBase; // Bind variables? if (is_array($bindfields)) { $dobind = true; reset($bindfields); $loginfo = implode($bindfields,","); $mydb->parse($query,$loginfo); reset($bindfields); while (list($fieldname,$fieldvalue) = each($bindfields)) { $globname = "____".$fieldname; line 47: $mydb->bind($globname,":".$fieldname,strlen($fieldvalue),1); $GLOBALS[ $globname ] = $fieldvalue; } $numcol = $mydb->exec(); ... i know, oracle and oci modules havent been fully upgraded to the new array stuff - but still, maybe this snippet rings a bell for you;-) regards, tc > > Zeev > -- > Zeev Suraski <zeev@zend.com> http://www.zend.com/ > For a PGP public key, finger bourbon@netvision.net.il > > 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 -- PHP 4 Beta

« previous php.version4 (#964) next »