|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10597 RE #5684: PHP Intermittently reports "Unable to allocate connection record"
Submitted: 2001-05-02 02:40 UTC Modified: 2002-01-08 01:53 UTC
From: tysonlt at webmedia dot com dot au Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.5 OS: RedHat 6.2
Private report: No CVE-ID: None
 [2001-05-02 02:40 UTC] tysonlt at webmedia dot com dot au
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 :)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-18 13:36 UTC]
Does this still happen with PHP 4.1.0?

 [2002-01-08 01:53 UTC]
No feedback. Closing.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 14:01:31 2024 UTC