Hi, when copying a certain message from and to a Cyrus IMAPd 2.2.8 system using IMAP, imapd abort()s (100% reproducible):
imapd.log: master[17386]: process 17500 exited, signaled to death by 6 imapd process trace: 17500 imapd CALL read(0,0x814e000,0x1000) 17500 imapd GIO fd 0 read 31 bytes "166 UID FETCH 21 INTERNALDATE\r " 17500 imapd RET read 31/0x1f 17500 imapd CALL getrusage(0,0xbfbfbf10) 17500 imapd RET getrusage 0 17500 imapd CALL __stat13(0x80b3553,0xbfbfbee8) 17500 imapd NAMI "cyrus.index" 17500 imapd RET __stat13 0 17500 imapd CALL __fstat13(0x10,0xbfbfbee8) 17500 imapd RET __fstat13 0 17500 imapd CALL __sigprocmask14(0x3,0xbfbfbd98,0) 17500 imapd RET __sigprocmask14 0 17500 imapd CALL getpid 17500 imapd RET getpid 17500/0x445c 17500 imapd CALL kill(0x445c, SIGABRT) 17500 imapd PSIG SIGABRT SIG_DFL 17500 imapd NAMI "imapd.core" # gdb imapd imapd.core GNU gdb 5.0nb1 [...] This GDB was configured as "i386--netbsdelf"... Core was generated by `imapd'. Program terminated with signal 6, Abort trap. warning: current_sos: Can't read pathname for load map: Input/output error [...reading and loading symbols...] (gdb) bt #0 0x4840bae3 in kill () from /usr/lib/libc.so.12 #1 0x4840b430 in abort () from /usr/lib/libc.so.12 #2 0x808a81d in cyrus_ctime (date=-421120319, datebuf=0xbfbfbdfc "18-Dec-2002 19:2©7?H0¾¿¿") at global.c:605 #3 0x80669f6 in index_fetchreply (mailbox=0x8139880, msgno=21, rock=0xbfbfc000) at index.c:2278 #4 0x80650d9 in index_forsequence (mailbox=0x8139880, sequence=0x814d482 "", usinguid=1, proc=0x8066688 <index_fetchreply>, rock=0xbfbfc000, fetchedsomething=0xbfbfbfe8) at index.c:1539 #5 0x8063550 in index_fetch (mailbox=0x8139880, sequence=0x814d480 "21", usinguid=1, fetchargs=0xbfbfc000, fetchedsomething=0xbfbfbfe8) at index.c:751 #6 0x8056787 in cmd_fetch (tag=0x814d300 "166", sequence=0x814d480 "21", usinguid=1) at imapd.c:3087 #7 0x805061f in cmdloop () at imapd.c:1076 #8 0x804f1e2 in service_main (argc=1, argv=0x8144000, envp=0xbfbfdac0) at imapd.c:684 #9 0x804d32a in main (argc=1, argv=0xbfbfdab8, envp=0xbfbfdac0) at service.c:557 #10 0x804c1b0 in ___start () (gdb) Help is appreciated. Cheers, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ --- 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