unexpunge segfault part 2

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

 



I'm also seeing a segfault (i've seen bus error also) in unexpunge -l when
I set an expire annotation on a mailbox and run cyr_expire.  I'm running
cyrus 2.3.14 + the ipurge patch from Bron on f10 (x86_64), but that
doesn't help (i didn't think it would):

Program received signal SIGBUS, Bus error.
list_expunged (mailbox=0x7fffffffbf80, msgs=0x7ffff821ef90, exists=10,
    expunge_index_base=0x7ffff7e30000 "") at unexpunge.c:150
150             cacheitem = CACHE_ITEM_NEXT(cacheitem); /* skip envelope */
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.22-19.fc10.x86_64 db4-4.7.25-7.fc10.x86_64 e2fsprogs-libs-1.41.4-4.fc10.x86_64 glibc-2.9-3.x86_64 keyutils-libs-1.2-3.fc9.x86_64 krb5-libs-1.6.3-18.fc10.x86_64 libselinux-2.0.78-1.fc10.x86_64 openssl-0.9.8g-12.fc10.x86_64 zlib-1.2.3-18.fc9.x86_64
(gdb) th app all bt

Thread 1 (Thread 0x7ffff7f017b0 (LWP 14422)):
#0  list_expunged (mailbox=0x7fffffffbf80, msgs=0x7ffff821ef90, exists=10,
    expunge_index_base=0x7ffff7e30000 "") at unexpunge.c:150
#1  0x00007ffff7f2a98c in main (argc=10, argv=0x0) at unexpunge.c:632

It's easy to replicate this corruption:

1. turn on expunge: delayed in imap.conf
2. set the expire annotation on a user mailbox (mboxconfig user.doej
expire 100)
3. run cyr_expire -E 7 -X 100
4. run unexpunge -l user.doej
5. bus error.

unexpunge works fine until you run cyr_expire, then there is some type of
corruption happening with the cache files.

zing
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux