Cyrus IMAPd 2.2.7 Released
Ken Murchison
ken at oceana.com
Thu Jul 29 09:46:54 EDT 2004
Simon Matter wrote:
>>
>>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)
Try this patch:
Index: bc_eval.c
===================================================================
RCS file: /afs/andrew/system/cvs/src/sieve/bc_eval.c,v
retrieving revision 1.6
diff -u -r1.6 bc_eval.c
--- bc_eval.c 12 Jul 2004 15:52:18 -0000 1.6
+++ bc_eval.c 29 Jul 2004 13:45:46 -0000
@@ -975,8 +975,6 @@
res = do_notify(notify_list, id, method, options,
priority, message);
- free(options);
-
break;
}
case B_DENOTIFY:
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
---
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
More information about the Info-cyrus
mailing list