#35894 [Opn]: php-imap doesn't trap USR2 when mailbox is locked
From: sniper@php.net Date: Thu, 05 Jan 2006 00:01:07 +0000 Subject: #35894 [Opn]: php-imap doesn't trap USR2 when mailbox is locked References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-91514@lists.php.net to get a copy of this message
ID: 35894 Updated by: sniper@php.net Reported By: jik at kamens dot brookline dot ma dot us Status: Open Bug Type: IMAP related Operating System: Linux PHP Version: 5.1.1 New Comment: I get the same notices, which seem quite harmless anyway. And your patch did not make any difference whatsoever. Previous Comments: ------------------------------------------------------------------------ [2006-01-04 21:53:23] jik at kamens dot brookline dot ma dot us libc-client-2002e-18.1 RPM from Fedora Core. I checked the current c-client sources from washington.edu and they seem susceptible to this problem as well, judging from an examination of the source code. The USR2 functionality has been in c-client since 1993, as far as I can tell. ------------------------------------------------------------------------ [2006-01-04 21:49:48] sniper@php.net Exactly what c-client version you linked PHP with? And how was it compiled? ------------------------------------------------------------------------ [2006-01-04 21:14:14] jik at kamens dot brookline dot ma dot us There's a patch which makes this problem go away at http://stuff.mit.edu/~jik/php-5.1.1-imap-usr2.patch.txt. However, rather than using the #if statement I used to figure out whether to enable the relevant code, you may want to insert a check for the function arm_signal in the c-client library in the configure script, define a cpp symbol if the function exists, and use my code if that cpp symbol is defined. ------------------------------------------------------------------------ [2006-01-04 19:59:55] tony2001@php.net >Did you run the script twice at the same time as I said in my report? Yes. And the mailbox is not empty. ------------------------------------------------------------------------ [2006-01-04 19:53:02] jik at kamens dot brookline dot ma dot us Also, let me remind you that it won't happen if the mailbox file is empty; it needs to have messages in it, or c-client won't lock it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35894 -- Edit this bug report at http://bugs.php.net/?id=35894&edit=1
Thread (45 messages)
- #35894 [Opn->Fbk]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Fbk->Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn->Fbk]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Fbk->Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn->Fbk]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Fbk->Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn->Fbk]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Fbk->Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn->Fbk]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Fbk->Opn]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- #35894 [Opn->Ana]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [PATCH]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
- Req #35894 [Com]: php-imap doesn't trap USR2 when mailbox is locked
| « previous | php.bugs (#91514) | next » |
|---|