On Wed, 21 Jan 2004, Rob Mueller wrote: > I'm just testing out upgrading from cyrus 2.1.9 to cyrus 2.2.3. So far > everything seems to work pretty much fine, except for one thing. On some > existing folders, when you try to 'expunge' them, imapd segfaults. It's not > all folders, only some folders, though it is reproduceable for the "broken" > folders.
This sounds a *lot* like the bug I fixed right before release. And if thats the case, delivering message to the folder is also highly likely to fix the problem. > Program received signal SIGSEGV, Segmentation fault. > 0x08074b41 in mailbox_expunge (mailbox=0x81349a0, iscurrentdir=1, > decideproc=0, deciderock=0x0) at mailbox.c:2018 > 2018 cacheitem = CACHE_ITEM_NEXT(cacheitem); This, uh, doesn't line up with the line numbers in my mailbox.c. > 2016 cacheitembegin = cacheitem = mailbox->cache_base + > cache_offset; > 2017 for(cache_ent = 0; cache_ent < NUM_CACHE_FIELDS; > cache_ent++) { > 2018 cacheitem = CACHE_ITEM_NEXT(cacheitem); > 2019 } Though this code looks correct. OOC, what is the value of cache_ent when you crash? -Rob