pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cyrus-imapd and SIGSEGV



OBATA Akio wrote:

> This error message is not master's but service executed by master.
> What process die? imap? pop3? lmtp? sieve? or something else?
> Can you debug it? (rebuild with `CFLAGS+=-g' and debug core file.)

It took awhile but here's some backtrace...

Martti



$ cd /usr/pkgsrc/mail/cyrus-imapd/work/cyrus-imapd-2.2.13/imap
$ gdb imapd /mail/cyrus/data/user/martti/lists/netbsd/imapd.core
...
#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",



Home | Main Index | Thread Index | Old Index