Bug #10597: RE #5684: PHP Intermittently reports "Unable to allocate connection record"

From: Date: Wed, 02 May 2001 06:40:02 +0000
Subject: Bug #10597: RE #5684: PHP Intermittently reports "Unable to allocate connection record"
Groups: php.dev 
Request: Send a blank email to php-dev+get-53287@lists.php.net to get a copy of this message
From: tysonlt@webmedia.com.au Operating system: RedHat 6.2 PHP version: 4.0.5 PHP Bug Type: Sybase-ct (ctlib) related Bug description: RE #5684: PHP Intermittently reports "Unable to allocate connection record" RE #5684, You asked for any other cases: I get this error when I use a custom error handler to catch sybase errors. For example, if I try to delete a record with children in other tables, it raises a FK constraint violation error...everything normal. But after that error, where I try to do database reads and writes in my error handler function, I get really wierd problems. The main problem is that ctlib start reporting level 10 errors, instead of level 11, eg: DB ERROR: Changed database context to 'xxx'. After this, I get "cannot allocate connection record." This only happens after I catch the error. If I turn off my error handling function, everything is fine. This says to me that the ctlib (or PHP) can't carry on after an error. But then I know little about either :) -- Edit Bug report at: http://bugs.php.net/?id=10597&edit=1

« previous php.dev (#53287) next »