On Wed, 17 Sep 2003, David B Funk wrote:
> We've got a "horde/IMP" webmail server based upon
> apache+php4+c-client (from the imap-2002d kit).
> Occasionally I see the following error message show up in the
> server syslog: "IMAP toolkit crash: Lock when already locked"

This is a bug in horde/IMP.

The error message "Lock when already locked" means that the application is
calling c-client recursively from a callback routine.  For example, if
the application's mm_exists() routine calls a mail_fetch_???() routine.

Recursive calls are not permitted.  It may sometimes work if the data is
in the cache, but not if c-client has to go out to the IMAP server.

I recommend that you examine all mm_???() routines in horde/IMP and look
for calls to mail_???() routines.  Any such calls are bugs.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to