[imp] imp-2.2.3 problem

Brent J. Nordquist bjn@horde.org
Tue, 10 Oct 2000 07:23:32 -0500 (CDT)


On Tue, 10 Oct 2000, Ari Heikkinen <aheikin@phaser-atm.pspt.fi> wrote:

> After logging on IMP (with POP3) when I click on a mail to view it, then
> quickly click "Back to INBOX", select another mail and do the same a few
> times I get logged off the system (to the login screen) with message:
> 
> "Either you have logged in incorrectly or your login has expired. Please
> login again."
> 
> I remember there was a race condition bug that caused it on imp-2.2.2

OK, I want to make sure we're talking about the same thing.

(1)  Are you using MySQL?  Are you talking about the race condition in
2.2.2 and earlier that produced the error message:

Database error (HordeDB): Invalid SQL: insert into active_sessions

...followed by "Session freeze failed"?

(2)  If so, we made a change to local.inc in 2.2.3 that we had hoped would
alleviate the race condition.

(3)  How did you solve the problem in 2.2.2 (did you apply a patch that
changed INSERT to REPLACE, for example)?  If you apply the same change to
2.2.3, does it solve your problem?

It would be helpful to know whether the local.inc fix isn't sufficient,
and the INSERT to REPLACE patch is still needed for MySQL.  Thanks for
helping us diagnose this one!

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942