> Simon Matter wrote: > >>>>Simon Matter wrote: >>>> >>>> >>>>>>Simon Matter wrote: >>>>>> >>>>>> >>>>>>>How again do I get them? >>>>>> >>>>>>Does the cyrus user have write access to whatever directory you >>>>>> started >>>>>>master in? You may also find cores in user mailbox directories. >>>>> >>>>> >>>>>Thanks, I didn't cd to /var/lib/imap. The next rpm will have a core >>>>>dump >>>>>mode :) >>>>> >>>> >>>>This looks like the mailbox header is corrupt. Are you sure that this >>>>only fails with 2.2.7 and not 2.2.6? I'd also be interested if you see >>>>the same results from a stock (unpatched) 2.2.7. >>> >>>Okay, this one is from stock, unpatched 2.2.7 lmtpd: >> >> >> Another, different one, I'm wondering whether process_recipient() is >> correct here, why is the recipient "<dewinala" but the account is just >> "dewinala": > > No, that's fine, the leading '<' gets stripped. > > I think Rob is right in that the heap is getting corrupted. If you're > running on a Linux box (which I'm sure you are), can you: > > stop master > export MALLOC_CHECK_=2 > ulimit -c unlimited > start master
The first one just appeared: (gdb) bt #0 0x42029331 in kill () from /lib/i686/libc.so.6 #1 0x4202911a in raise () from /lib/i686/libc.so.6 #2 0x4202a8c2 in abort () from /lib/i686/libc.so.6 #3 0x4207cfc7 in free_check () from /lib/i686/libc.so.6 #4 0x4207ac9d in free () from /lib/i686/libc.so.6 #5 0x0807c07f in free_notify_list (n=0x8145c58) at message.c:548 #6 0x080750dc in do_sieve_error (ret=0, interp=0x8134fd8, script_context=0x814f9f0, message_context=0xbfffa820, imapflags=0xbfff7da8, actions=0x8145c80, notify_list=0x8145c58, lastaction=12, implicit_keep=0, actions_string=0xbfff7db0 "Action(s) taken:\nFiled into: INBOX.Perso\n", errmsg=0x0) at script.c:515 #7 0x080757f3 in do_action_list (interp=0x8134fd8, script_context=0x814f9f0, message_context=0xbfffa820, imapflags=0xbfff7da8, actions=0x8145c80, notify_list=0x8145c58, actions_string=0xbfff7db0 "Action(s) taken:\nFiled into: INBOX.Perso\n", errmsg=0x0) at script.c:757 #8 0x0807598d in sieve_execute_bytecode (bc=0x8145c38, interp=0x8134fd8, script_context=0x814f9f0, message_context=0xbfffa820) at script.c:820 #9 0x08056be4 in run_sieve (user=0x8148b38 "bouhakam", domain=0x0, mailbox=0x0, interp=0x8134fd8, msgdata=0xbfffa820) at lmtp_sieve.c:853 #10 0x0804e9be in deliver (msgdata=0x8148c20, authuser=0x0, authstate=0x0) at lmtpd.c:413 #11 0x080515e3 in lmtpmode (func=0x811bbc0, pin=0x81352e8, pout=0x8135358, fd=0) at lmtpengine.c:1308 #12 0x0804e250 in service_main (argc=1, argv=0x812adb0, envp=0xbfffe17c) at lmtpd.c:230 #13 0x0804dfd9 in main (argc=1, argv=0xbfffe174, envp=0xbfffe17c) at service.c:557 #14 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html