ID: 30571 Updated by: [EMAIL PROTECTED] Reported By: bo at theaddedones dot com -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: Fedora 1 PHP Version: 4.3.9 New Comment:
Please supply the complete message body that is causing this problem. Previous Comments: ------------------------------------------------------------------------ [2004-10-26 22:28:01] bo at theaddedones dot com Description: ------------ the general problem was an odd one when using the HORDE-IMP pacakge. For certain messages (those with multi-parts i.e. a 'text' and an 'enriched' type). The attempting to access the message results in a apache SegFault... after 'downgrading' to IMAP-2002e the bug went away. -- my compile bits -- ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --enable-ftp --with-gd --with-png-dir=/usr --without-xpm --with-gettext --with-imap --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pspell --enable-xslt --with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib --with-readline --with-iconv --with-openssl --with-freetype-dir=/usr --with-gdbm Reproduce code: --------------- use the Horde-Imp mail program...and attempt to read a message (i.e. like the ones sent from the OSX Mail programm where there are 2 parts a flat text and an enriched) Actual result: -------------- ---- gdb trace --- #0 0x00a0224c in _php_imap_add_body (arg=0x9bcbc5c, body=0x703c2065) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:3817 3817 if (body->type <= TYPEMAX) { (gdb) bt #0 0x00a0224c in _php_imap_add_body (arg=0x9bcbc5c, body=0x703c2065) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:3817 #1 0x00a0268b in _php_imap_add_body (arg=0x9bcbc9c, body=0x9bd06f8) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:3911 #2 0x009facd8 in zif_imap_fetchstructure (ht=3, return_value=0x9bcbc9c, this_ptr=0x0, return_value_used=1) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:1753 #3 0x00f9c892 in get_module () from /usr/local/Zend/lib/Optimizer-2.5.5/php-4.3.x/ZendOptimizer.so ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30571&edit=1