[imp] Re: Debug IMAP toolkit crash
lst_hoe01 at kwsoft.de
lst_hoe01 at kwsoft.de
Fri Apr 22 06:49:28 PDT 2005
Zitat von Jan Schneider <jan at horde.org>:
> Zitat von lst_hoe01 at kwsoft.de:
>
>> Zitat von lst_hoe01 at kwsoft.de:
>>
>>> Hello
>>>
>>> I try to get rid of a problem where the IMAP toolkit crash with "Lock when
>>> already locked". According to the maintainer of the toolkit this
>>> error is from
>>> misusing the toolkit and as chuck pointed out this is a PHP problem. I have
>>> therefore submitted a bug report
>>> (http://bugs.php.net/bug.php?id=32622), but
>>> need a code snippet to reproduce the error.
>>>
>>> I my case the error occurs if i submit a big attachment with IMP
>>> after pressing
>>> the send button on a slow machine. The mail with attachment is sent but not
>>> stored in the "sent-mail" folder of the IMAP server. Any comments
>>> what part of
>>> the IMP/Horde could be used to isolate the bug?
>>
>>
>> Is there no one with knowledge of the IMP code who can help me to get
>> this bug
>> in PHP 4.3.11 fixed??
>> Without a code sample to trigger this bug no one will fix this.
>
> Track the code in compose.php's "send" action case that saves sent mails.
Unfortunately i am not able to isolate the code leading to the toolkit crash.
What i have found is that if i send the message the IMAp toolkit crash, but if
i store it as draft no error occurs. At this stage i fail to see what is
different reagarding the IMAP toolkit between this two choices.
This is tested on the same server with the same settings at all.
Smaller message
sizes went through fine, so this seams to be a race condition appearing
only on
a slow machine maybe at heavy load or really big message sizes.
If someone is able to help extract a code sample out of the IMP (3.2.7)
compose.php we can maybe get it fixed in PHP.
Regards
Andreas
More information about the imp
mailing list