PHP 4.0 Bug #5817 Updated: PHP Core Dumps when pg_errormessage() is called.

From: Date: Thu, 27 Jul 2000 18:48:05 +0000
Subject: PHP 4.0 Bug #5817 Updated: PHP Core Dumps when pg_errormessage() is called.
Groups: php.dev 
Request: Send a blank email to php-dev+get-26555@lists.php.net to get a copy of this message
ID: 5817 User Update by: ac001@figment.net Status: Open Bug Type: PostgreSQL related Description: PHP Core Dumps when pg_errormessage() is called. I have narrowed the crash down to the zend_fetch_resource() function within the zend_list.c file. It appears to crash as soon as it hits the: if (!passed_id) { ...line. I am suspecting that it is really crashing on the line: } else if ((*passed_id)->type != IS_RESOURCE) { ...because the passed_id referenced memory location is not valid for some reason. I am not able to narrow it down any further as I am not familiar with the use of gdb and do not have it installed on this system. (I guess I have been spoiled by MS.) Full Bug description available at: http://bugs.php.net/?id=5817

« previous php.dev (#26555) next »