Recipe: * Fill in recipient * Fill subject * Write some text * Press Ctrl-w, choose "Save draft" * Press Ctrl-w again, choose "throw away" (or whatever it is called in English) * See claws crash (in GDB only the mail window disappears, no interaction possible with main window) Back trace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7eaa6d0 (LWP 26892)] 0x4c438af0 in pthread_mutex_trylock () from /lib/libpthread.so.0 (gdb) (gdb) bt #0 0x4c438af0 in pthread_mutex_trylock () from /lib/libpthread.so.0 #1 0x4909723d in ?? () from /usr/lib/libgthread-2.0.so.0 #2 0xffe6e6e6 in ?? () #3 0x4c43842e in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x080b2cef in compose_close () #5 0x48fc08e6 in ?? () from /usr/lib/libglib-2.0.so.0 #6 0x08303048 in ?? () #7 0x4c43842e in pthread_mutex_lock () from /lib/libpthread.so.0 #8 0x48fc011f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #9 0x48fc357f in ?? () from /usr/lib/libglib-2.0.so.0 #10 0x0833ba70 in ?? () #11 0x00000000 in ?? ()
this is a race, isn't it? you have to press ctrl-w quickly the second time?
(In reply to comment #1) > this is a race, isn't it? you have to press ctrl-w quickly the second time? The mail windows needs to be still open...oh, I should tell this is an IMAP server so it takes some time to save. SSL enable. Other information?
Changes related to this bug have been committed. Please check latest CVS and update the bug accordingly. You can also get the patch from: http://www.colino.net/claws-mail/ 2008-02-28 [colin] 3.3.1cvs5 * src/compose.c Fix bug 1534, 'Segmentation fault when doing some draft saving and then throwing away' * src/imap.c Fix bug 1533, 'Claws is unable to mark messages as "read" in IMAP shared folders' * src/etpan/imap-thread.c Fix bug 1515, 'large messages crash claws when syncing for offline mode'. This is rather a workaround, and mails > 64MB will still be problematic if there's less than 64MB available on the dataroot volume. * src/messageview.c MAEMO: Add information when fetching big messages