Re: [PHP4BETA] Latest CVS - Question - IMPORTANT

From: Date: Tue, 21 Sep 1999 20:26:57 +0000
Subject: Re: [PHP4BETA] Latest CVS - Question - IMPORTANT
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-4767@lists.php.net to get a copy of this message
This was a temporary problem which is fixed now in the current CVS. Andi At 05:50 PM 9/21/99 +0100, Sarah Pearson wrote:
Joey [joey@samaritan.com] wrote: sarah, Are you running CGI or embedded? What OS and web server? What usually helps is if you can attach gdb to the process, so we can see what is happening in there... Ok, I've managed to compile PHP as a cgi program and ran it through gdb with the following code. ? $mysql_link = mysql_connect("localhost", "root", ""); mysql_select_db("pcstuff", $mysql_link); echo "Got here ok!"; ?> boo The following happens : Starting program: /usr/local/bin/php test.php Program received signal SIGSEGV, Segmentation fault. 0x80725e2 in _get_zval_ptr (node=0x80f4f8c, Ts=0xbffffa08,
    should_free=0x80dea00) at zend_execute.c:85
85                                      PZVAL_UNLOCK(*Ts[node->u.var].var);
a backtrace (now I know what it means :) ) shows : (gdb) bt #0 0x80725e2 in _get_zval_ptr (node=0x80f4f8c, Ts=0xbffffa08,
    should_free=0x80dea00) at zend_execute.c:85
#1 0x8075330 in execute (op_array=0x80f4c58) at zend_execute.c:1543 #2 0x80584c6 in php_execute_script (primary_file=0xbffffc5c) at main.c:1171 #3 0x805d491 in main (argc=2, argv=0xbffffcb4) at cgi_main.c:470 I hope this helps in solving this problem. -- Sarah Pearson sarah@zippysoft.com m -- PHP 4 Beta
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.version4 (#4767) next »