PHP 4.0 Bug #7670: PHP crashes when accessing IMAP mailbox
| From: | skarkkai at woods dot iki dot fi | Date: | Mon, 06 Nov 2000 22:07:57 +0000 |
| Subject: | PHP 4.0 Bug #7670: PHP crashes when accessing IMAP mailbox | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37316@lists.php.net to get a copy of this message | ||
From: skarkkai@woods.iki.fi
Operating system: Linux
PHP version: 4.0.3pl1
PHP Bug Type: Reproduceable crash
Bug description: PHP crashes when accessing IMAP mailbox
When Courier IMAPd crashes while being accessed by IMP using PHP's IMAP functions, that causes
also the Apache process to crash. The last IMAP messages before the crash are
00000005 SEARCH ALL UNSEEN
* SEARCH 29 30 31 32 33 34 35
00000005 OK SEARCH done.
00000006 FETCH 29:35 (UID ENVELOPE BODY.PEEK[HEADER.FIELDS (Path Message-ID Newsgroups Followup-To
References)] INTERNALDATE RFC822.SIZE FLAGS)
Stack trace is obviously quite useless, as it is:
#0 0x3a4c8d10 in ?? ()
#1 0xbf60b801 in ?? ()
#2 0xc8b604ff in ?? ()
#3 0x7e7fc391 in ?? ()
#4 0xc8b604ff in ?? ()
#5 0x7e710cf1 in ?? ()
#6 0xd029715b in ?? ()
#7 0xa1a1ee2f in ?? ()
#8 0x55e8be66 in ?? ()
This happens both with PHP 3.0.16 and 4.0.3pl1. Apache is 1.3.11. I compile PHP with
./configure --with-mysql=/usr --with-apxs=/usr/local/www/apache/bin/apxs --with-xml
--enable-track-vars=yes --enable-bcmath=yes --enable-memory-limit=yes --with-imap --with-ldap
--enable-sysvshm --enable-sysvsem --with-gdbm
I can easily reproduce the crash by putting an offending email message into a Maildir that Courier
reads. Any other information I should provide?
--
Edit Bug report at: http://bugs.php.net/?id=7670&edit=1