segfault in ctl_cyrusdb/cyr_expire/lmtpd

Bron Gondwana brong at fastmail.fm
Sat Oct 27 01:20:09 EDT 2012


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.

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

Bron.
-- 
  Bron Gondwana
  brong at fastmail.fm



More information about the Info-cyrus mailing list