<<< Date Index >>>     <<< Thread Index >>>

crash with hcache



moin,

with current cvs i get this crash right at startup:

Reading /home/ossi/maildir/inbox... 0Segmentation fault

#0  0xa7d2767f in memcpy () from /lib/tls/libc.so.6
#1  0x0809a1c4 in restore_char (c=0x758b0558,
    d=0x81f9aae "7150014.GC21832@xxxxxxxxxx>", off=0x81faffe) at hcache.c:171
#2  0x0809a450 in mutt_hcache_restore (d=0x81f99b0 "v÷`C)`\n", oh=0x81f37d0)
    at hcache.c:434
#3  0x08071c37 in maildir_delayed_parsing (ctx=0x8153c98, md=0x81f37d0)
    at mh.c:942
#4  0x08071e09 in mh_read_dir (ctx=0x8153c98, subdir=0x80a640c "cur")
    at mh.c:1000
#5  0x08071e42 in maildir_read_dir (ctx=0x8153c98) at mh.c:1012
#6  0x08073eae in mx_open_mailbox (path=0xafe3008c "/home/ossi/maildir/inbox",
    flags=Variable "flags" is not available.
) at mx.c:688
#7  0x0806c8a0 in main (argc=1, argv=0xafe30284) at main.c:957

under valgrind it (mutt, not valgrind) says "out of memory!" when it
tries to display the index.

my suspicion is, that the cache files had a binary incompatible change 
and the new parser does not cope with old files. deleting the cache 
seems to confirm this. if this is really the problem, add some versioning
to the cache files.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.