3.0.2: segfault in cyrdump
ellie timoney
ellie at fastmail.com
Mon Aug 7 23:02:37 EDT 2017
I believe this is now fixed on both the master and cyrus-imapd-
3.0 branches.
These two commits should apply directly to the 3.0.2 release
sources too, so if you want to just patch rather than mess with git,
here they are:
https://github.com/cyrusimap/cyrus-imapd/commit/1d44995a694417bdec738df19b6085cc3b4afb5chttps://github.com/cyrusimap/cyrus-imapd/commit/7e133301d9664305785ccd9c50b62abf9bf9b108
Cheers,
ellie
On Tue, Aug 8, 2017, at 11:18 AM, ellie timoney wrote:
> I've just reproduced this myself, core dump is in
> https://github.com/cyrusimap/cyrus-imapd/issues/2080>
> Looks like it affects master branch too. Looking into it now...
>
> Cheers,
>
> ellie
>
> On Tue, Aug 8, 2017, at 09:08 AM, Bron Gondwana wrote:
>> The strace brings it down to a pretty small block of code:
>>
>> printf(" <nextuid>%u</nextuid>\n", state->mailbox->i.last_uid +
>> 1);>> printf("\n");
>>
>> memset(&searchargs, 0, sizeof(struct searchargs));
>> searchargs.root = search_expr_new(NULL, SEOP_TRUE);
>> numuids = index_getuidsequence(state, &searchargs, &uids);
>> print_seq("uidlist", NULL, uids, numuids);
>> printf("\n");
>>
>> printf(" <flags>\n");
>>
>> ...
>>
>> It should be enough to see what's happening! Is there a github
>> bug yet?>>
>>
>> On Tue, 8 Aug 2017, at 01:49, Stephan Lauffer wrote:
>>> Hello!
>>>
>>> Attached is a "strace -f" and a coredump of the command "cyrdump
>>> user.testrode01fr"
>>>
>>> Atm the binaries are not compiled with further debuginfo.
>>>
>>> Are you interested in more informations..? Should I add debug
>>> symbols?>>> Email had 3 attachments:
>>> * cyrdump.strace 37k (text/plain)
>>> * core.cyrdump.96.04e7dc5004dd42359a9839caf478dd6f.2194.1502120241-
>>> 000000.xz 219k (application/x-xz)
>>> * smime.p7s 7k (application/pkcs7-signature)>>
>> --
>> Bron Gondwana, CEO, FastMail Pty Ltd
>> brong at fastmailteam.com
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20170808/40cee699/attachment.html>
More information about the Cyrus-devel
mailing list