Linux, PHP version 5.2.17, MySQL version 5.0.92-50
~~~

btw - I was unsure about the 'Component' to select so I selected 'base system'.
~~~

Hello.

Out of the blue, on a development site that I had not visited for a couple of days, when I came back to it, I saw the following error message and an inability to access the site:

~~~~~~
Error
The website encountered an unexpected error. Please try again later.
Error message
PDOException: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './account_drupal/prefix_semaphore.frm': SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 167 of /home/foodir/public_html/foo/includes/lock.inc).
Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './account_drupal/prefix_semaphore.frm': DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 237664863502619e5a6abe4.73303112 ) in lock_release_all() (line 269 of /home/foodir/public_html/foo/includes/lock.inc).
~~~~~~~~~~~~~~~~~

Q: What might be the cause for this registry issue?
It affected 3 different installed D7 flavors (3 folders) in the one hosting account.

Q: How often might this reoccur?

Q: How to prevent it from reoccurring?

Q: Is this a bug in the software?

I did find a solution that worked -- rebuild registry per http://drupal.org/node/1565138 (#9) => http://drupal.org/project/registry_rebuild
~~~~~~

Thanks.

Comments

marcingy’s picture

Category: bug » support
marcingy’s picture

Issue summary: View changes

Added statement about the 3 installations in 1 hosting account.

Version: 7.14 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.

quietone’s picture

Issue tags: -Uncaught exception thrown in shutdown function, -semaphore, -rebuild registry, -lock.inc