Subject: Re: cyrus-imapd and SIGSEGV
To: None <martti.kuparinen@iki.fi>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-users
Date: 10/21/2006 21:34:21
On Fri, 20 Oct 2006 12:32:23 +0300, Martti Kuparinen wrote:
> #0  0xbda747e2 in SHA1_Init () from /usr/lib/libcrypto.so.2
> (gdb) bt
> #0  0xbda747e2 in SHA1_Init () from /usr/lib/libcrypto.so.2
> #1  0xbda706fa in X509_check_private_key () from /usr/lib/libcrypto.so.2
> #2  0xbda70932 in EVP_DigestInit_ex () from /usr/lib/libcrypto.so.2
> #3  0xbda47e31 in HMAC_Init_ex () from /usr/lib/libcrypto.so.2
> #4  0xbdad8ea6 in tls1_mac () from /usr/lib/libssl.so.3
> #5  0xbdadd7e0 in ssl3_write_bytes () from /usr/lib/libssl.so.3
> #6  0xbdadd53e in ssl3_write_bytes () from /usr/lib/libssl.so.3
> #7  0xbdadf0d4 in ssl3_write () from /usr/lib/libssl.so.3
> #8  0xbdae2a87 in SSL_write () from /usr/lib/libssl.so.3
> #9  0x08087aa8 in prot_flush_writebuffer (s=0x8139100,
>     buf=0x813e000 "* BYE Fatal error: Virtual memory exhausted\r\n RECENT 3
> UIDNEXT 485 UNSEEN 3)\r\n2288 OK Completed\r\ned \\Seen NonJunk) UID
> 122516)\r\n* 36 FETCH (FLAGS (\\Recent \\Deleted \\Seen NonJunk) UID
> 122517)\r\n* 37 FET"...,
>     len=45) at prot.c:609
> #10 0x08087c25 in prot_flush_internal (s=0x8139100, force=1) at prot.c:691
> #11 0x0808791d in prot_flush (s=0x8139100) at prot.c:540
> #12 0x0804e75c in fatal (s=0x811f817 "Virtual memory exhausted", code=75)
>     at imapd.c:789
> #13 0x080946e8 in xmalloc (size=16) at xmalloc.c:59
> #14 0x0808e43e in myfetch (db=0x8149a80, key=0x8133fc0 "57609bc43e250d2b",
>     keylen=16, data=0xbfbfc5c8, datalen=0xbfbfc5cc, mytid=0x8133ff0)
>     at cyrusdb_skiplist.c:890
> #15 0x0808e59a in fetchlock (db=0x8149a80, key=0x8133fc0 "57609bc43e250d2b",

It seems that imapd failed to allocate memory.

What are you doing?

Open large mailbox? Connect to imap server for a long time?

--
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp