I can see what's going on; I'll try to see if I can get a patch for this 
soon:

(gdb) bt
#0  0x0000000000416446 in TodoDB::setDirty (this=0x3c0, d=true) at 
TodoDB.h:61
#1  0x000000000040f2e7 in TodoDB::remove (this=0x7ffffffff680) at 
TodoDB.cc:753
#2  0x0000000000408c16 in TodoDB::operator() (this=0x7ffffffff680, 
mode=Remove) at TodoDB.cc:81
#3  0x000000000042d319 in main (argc=2, argv=0x7ffffffff8b8) at main.cc:54

Notice "this" changes between remove() and setDirty(). The call in remove 
looks like "t->db->setDirty(true);". I haven't traced it through yet, but 
for some reason "t->db" isn't pointing somewhere valid.

-- 
Wesley J. Landaker <[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgpueC6bQmjjm.pgp
Description: PGP signature

Reply via email to