C++/stl_deque problem

Jerry Lundström <[email protected]> Mon, 11 Jul 2005 13:47:20 +0200
Newsgroups gmane.mail.imap.binc.devel
Message-ID <[email protected]>
Hey all,

I'm messing some with the 1.3.x code trying to make a tool using the 
bincimap-updatecache.cc and after Mailbox->createMessage and commiting 
it I get this just Mailbox->close()ing:

(gdb) bt
#0  0x4011a251 in kill () from /lib/libc.so.6
#1  0x40119e85 in raise () from /lib/libc.so.6
#2  0x4011b678 in abort () from /lib/libc.so.6
#3  0x4009cdde in __cxxabiv1::__terminate (handler=0x4011b500 <abort>) 
at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x4009ce08 in std::terminate () at 
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x4009d1d8 in __cxa_pure_virtual () at 
../../../../libstdc++-v3/libsupc++/pure.cc:50
#6  0x080731f9 in Binc::MaildirMessageCache::clear (this=0x8084860) at 
stl_deque.h:128
#7  0x08072ec4 in ~MaildirMessageCache (this=0x8084860) at 
maildirmessage.cc:1054
#8  0x4011c752 in exit () from /lib/libc.so.6
#9  0x40106a1e in __libc_start_main () from /lib/libc.so.6
#10 0x08049f61 in _start () at ../sysdeps/i386/elf/start.S:102

I don't know C++ as well as I'd want, what have I missed?

-- 
Jerry Lundström
Sektionen för IT och media, Stockholms universitet
+46 (0)8 16 19 99 / http://www.it.su.se