Claws Mail crashes when performing IMAP operations. The crashes don't seem to be following any discernable pattern, other that when moving/copying/fetching messages between IMAP directories and accounts. This began happening when I upgraded from version 3.3.1, which I installed from the Ubuntu repositories, to version 3.5.0, which I installed from the Launchpad repositories. I'm running Xubuntu Linux version 8.04, kernel 2.6.24-19-generic Backtrace from the latest crash follows: GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run Starting program: /usr/bin/claws-mail [Thread debugging using libthread_db enabled] [New Thread 0xb6d7f720 (LWP 17376)] [New Thread 0xb680bb90 (LWP 17379)] ** (claws-mail:17376): WARNING **: [20:20:10] IMAP error: STATUS error ** (claws-mail:17376): WARNING **: [20:20:10] IMAP error: STATUS error ** (claws-mail:17376): WARNING **: [20:20:11] IMAP error: STATUS error (claws-mail:17376): Gtk-WARNING **: Theme directory 256x256/emblems of theme Industrial has no size field (claws-mail:17376): Gtk-WARNING **: Theme directory 32x32/stock of theme Oxygen has no size field (claws-mail:17376): Gtk-WARNING **: Theme directory 48x48/stock of theme Oxygen has no size field (claws-mail:17376): Gtk-WARNING **: Theme directory 64x64/stock of theme Oxygen has no size field (claws-mail:17376): Gtk-WARNING **: Theme directory 128x128/stock of theme Oxygen has no size field Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6d7f720 (LWP 17376)] 0xb74a025b in strlen () from /lib/tls/i686/cmov/libc.so.6 (gdb) backtrace full #0 0xb74a025b in strlen () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb746f812 in vfprintf () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7470582 in ?? () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #3 0xb746c22a in vfprintf () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #4 0xb7475322 in fprintf () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #5 0xb6c56e53 in newmail_hook () from /usr/lib/claws-mail/plugins/newmail.so No symbol table info available. #6 0x08204f82 in hooks_marshal (hook=0x8369460, data=0xbfaad22c) at hooks.c:107 No locals. #7 0xb76431dd in IA__g_hook_list_marshal (hook_list=0x836d3c0, may_recurse=1, marshaller=0x8204f60 <hooks_marshal>, data=0xbfaad22c) at /build/buildd/glib2.0-2.16.3/glib/ghook.c:386 hook = (GHook *) 0x8369460 __PRETTY_FUNCTION__ = "IA__g_hook_list_marshal" #8 0x082050a2 in hooks_invoke (hooklist_name=0x82395ef "mail_postfiltering_hooklist", source=0x88eca10) at hooks.c:125 hooklist = (GHookList *) 0x3 marshal_data = {source = 0x88eca10, abort = 0} __PRETTY_FUNCTION__ = "hooks_invoke" #9 0x080e6337 in do_copy_msgs (dest=0x8633fd8, msglist=0x8954208, remove_source=1) at folder.c:3456 newmsginfo = (MsgInfo *) 0x88eca10 msginfo = (MsgInfo *) 0x8869a80 tuples = <value optimized out> folder = (Folder *) 0x8628c90 l = (GSList *) 0x8954208 num = 3 lastnum = -1 folderscan = 0 relation = (GRelation *) 0x84ef6e0 not_moved = (GSList *) 0x0 total = 1 curmsg = 1 msginfo = <value optimized out> __PRETTY_FUNCTION__ = "do_copy_msgs" #10 0x080e683a in folder_item_move_msgs (dest=0x8633fd8, msglist=0x8954208) at folder.c:3508 result = <value optimized out> __PRETTY_FUNCTION__ = "folder_item_move_msgs" #11 0x081a6ac6 in procmsg_move_messages (mlist=0x8954210) at procmsg.c:325 cur = (GSList *) 0x0 movelist = (GSList *) 0x8954208 msginfo = (MsgInfo *) 0x8869a80 dest = (FolderItem *) 0x8633fd8 retval = 0 finished = 0 #12 0x081c52c8 in summary_execute (summaryview=0x8495c00) at summaryview.c:4833 node = <value optimized out> next = <value optimized out> new_selected = <value optimized out> move_val = 0 #13 0x081c63f6 in summary_move_selected_to (summaryview=0x8495c00, to_folder=0x8633fd8) at summaryview.c:4371 cur = (GList *) 0x0 sel_last = (GtkCTreeNode *) 0x87bca70 froze = 0 #14 0x081c657a in summary_move_to (summaryview=0x8495c00) at summaryview.c:4398 to_folder = (FolderItem *) 0x3 #15 0xb7be5886 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 No symbol table info available. #16 0xb76dfa4f in IA__g_cclosure_marshal_VOID__VOID (closure=0x84b63e8, return_value=0x0, n_param_values=1, param_values=0xbfaad704, invocation_hint=0xbfaad60c, marshal_data=0xb7be5840) at /build/buildd/glib2.0-2.16.3/gobject/gmarshal.c:77 data1 = (gpointer) 0x849fec0 data2 = (gpointer) 0x3 __PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID" #17 0xb76d2759 in IA__g_closure_invoke (closure=0x84b63e8, return_value=0x0, n_param_values=1, param_values=0xbfaad704, invocation_hint=0xbfaad60c) at /build/buildd/glib2.0-2.16.3/gobject/gclosure.c:490 marshal = (GClosureMarshal) 0xb76dfa00 <IA__g_cclosure_marshal_VOID__VOID> marshal_data = (gpointer) 0x0 __PRETTY_FUNCTION__ = "IA__g_closure_invoke" #18 0xb76e6d1d in signal_emit_unlocked_R (node=0x83a2470, detail=0, instance=0x849fec0, emission_return=0x0, instance_and_params=0xbfaad704) at /build/buildd/glib2.0-2.16.3/gobject/gsignal.c:2440 tmp = <value optimized out> handler = (Handler *) 0x84b4d20 accumulator = (SignalAccumulator *) 0x0 emission = {next = 0xbfaadc24, instance = 0x849fec0, ihint = {signal_id = 133, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4} class_closure = (GClosure *) 0x83a2448 handler_list = (Handler *) 0x84b4d20 return_accu = (GValue *) 0x0 accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}} signal_id = 133 max_sequential_handler_number = 2783 return_value_altered = 1 #19 0xb76e8916 in IA__g_signal_emit_valist (instance=0x3, signal_id=133, detail=0, var_args=0xbfaad93c "*rŅ·\234
*** Bug 1653 has been marked as a duplicate of this bug. ***
Seems to be due to the Newmail plugin. Can you try without it? Can you make sure it's compiled against the running Claws Mail?
I tried Claws-Mail without newmail plugin and everything works fine. The newmail-plugin has version 3.5.0-1hardyubuntu7, Claws-Mail has version 3.5.0-1hardyubuntu3.
Yes, it is the NewMail plugin. After unloading it I tested the heck out of Claws Mail before using normaly for a time, and it seems to work fine. From now on I wont be using any plugins unless the their version matches Claws Mail. Thank you.
The problem is that the versions match, even if the build number is greater for the plugin. I'll give a look at it.
Fixed in CVS
*** Bug 1734 has been marked as a duplicate of this bug. ***