[imp] Segmentation fault
Ollie Maitland
ollie at byng-systems.com
Thu Dec 8 11:04:44 PST 2005
Michael,
Thanks for you reply. The thing is that this occurred on an update of
Horde, I am running a CVS version which I updated today (I was running
one from about a week ago) and this caused the Segmentation faults, has
any of the code with imap functions changed recently?
Many thanks,
- Ollie Maitland
(sorry didn't send to list first time around)
Michael M Slusarz wrote:
>Quoting Ollie Maitland <ollie at byng-systems.com>:
>
>
>
>>Hey -
>>
>>I'm getting a segmentation fault when trying to view a message with an
>>attachment. The fault is occurring in:
>>
>>$ret = $mailbox_cache->retrieve(IMP::getThisMailbox(null, $in),
>>array($in), 16);
>>
>>Line 108 in imp/lib/MIME/Contents.php
>>
>>The IMP_MailboxCache retrieve function is returning a valid array and I
>>have tried to run $mailbox_cache->retieve using different parameters
>>e.g.
>>
>>$mailbox_cache->retrieve("INBOX", array(8543), 16);
>>$mailbox_cache->retrieve("INBOX", array(8543), 8);
>>
>>however
>>
>>$mailbox_cache->retrieve("INBOX", array(8543), 1);
>>
>>works.
>>
>>
>
>This almost surely indicates imap_fetchstructure() is segfaulting
>which means you have a malformed mail message that is crashing
>c-client. As always, the solution is to upgrade your version of
>c-client.
>
>michael
>
>_______________________________________
>Michael Slusarz [slusarz at curecanti.org]
>
>
--
P.S. As of November 1st Byng Designs will be trading as Byng Systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ollie.vcf
Type: text/x-vcard
Size: 260 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20051208/2e8e8d08/ollie.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3190 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.horde.org/archives/imp/attachments/20051208/2e8e8d08/smime.bin
More information about the imp
mailing list