segfault in ctl_cyrusdb/cyr_expire/lmtpd

Dmitry Katsubo dmitry.katsubo at gmail.com
Mon Oct 29 07:13:12 EDT 2012


On 27.10.2012 7:20, Bron Gondwana wrote:
> On Sat, Oct 27, 2012, at 01:50 AM, Dmitry Katsubo wrote:
>> Dear Cyrus developers,
>>
>> I am experiencing segfaults for cyrus-imapd v2.4.16 in my environment:
>>
>>> Aug 29 11:51:35 ctl_cyrusdb[3713]: segfault at 0 ip b7255d76 sp bfdff308 error 6 in libc-2.13.so[b71de000+156000]
>>> Aug 29 11:51:35 cyr_expire[3728]: segfault at 0 ip b727dd76 sp bf8876e8 error 6 in libc-2.13.so[b7206000+156000]
>>> Aug 29 12:03:04 lmtpd[6190]: segfault at 0 ip b7063d76 sp bfcdde18 error 6 in libc-2.13.so[b6fec000+156000]
>>> Aug 29 12:03:04 lmtpd[6196]: segfault at 0 ip b71f4d76 sp bfdc4d48 error 6 in libc-2.13.so[b717d000+156000]
>>> Aug 29 12:03:04 lmtpd[6197]: segfault at 0 ip b70d4d76 sp bfcf8f48 error 6 in libc-2.13.so[b705d000+156000]
>>> Aug 29 12:03:37 lmtpd[7628]: segfault at 0 ip b70f8d76 sp bff07348 error 6 in libc-2.13.so[b7081000+156000]
>>
>> IMAP server and local delivery does not work. It looks like all these
>> binaries share the same code that segfaults. How can I diagnose the
>> problem further? Thanks for any hint.
>>
>> Additional info:
>> * Debian sid
>> * Linux kernel 2.6.32-5-486
>> * cyrus-imapd-2.4_2.4.16-1
>> * libc6-2.13-35
> 
> I haven't actually looked at the Debian packages recently.  The best way to
> find the cause is to run with core size ulimit set so you get core dumps,
> and chroot to a directory where the cyrus user can write files during
> startup.

Thanks for reply, Bron. I will generate core dumps with GDB at SEGFAULT
point – will this suit you? Where should I upload them?

> That said - it's interesting that you get so many processes crashing. Do
> you have any syslog entries from immediately before the crash?

I think that the problem is somehow connected to the one I have reported
a while ago here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604468

My feeling is that all above processes are crashing as they share the
same problematic code, and this can well be the code that works with
mailboxes. If you can have a look the the patch I have attached to that
bug report, I will appreciate.

-- 
With best regards,
Dmitry


More information about the Info-cyrus mailing list