Created attachment 1039 [details] Backtrace of crash When some action contains a filter action involving, for example, a move to some account (an IMAP one in my case), and the account gets renamed, the filter action still references the previous (now invalid) account, causing claws-mail to crash. Backtrace attached.
Created attachment 1040 [details] Tentative patch for fixing the observed crash. On a second visit to this seems the bug causing the crash is not because of a bad account name, it crashes equally with a good account name. Problem arises when the action is run and the message view is not shown, which in turn causes the mimeview not to have any part selected. The attached patch seems to fix it, but not fixes the bug itself (renaming of the account in the action).
Yeah, seems good. Probably related to Pawel's work in the mimeview tree :)
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/ 2011-11-17 [pawel] 3.7.10cvs86 * src/mimeview.c Fix crasher reported in bug #2543
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/ 2011-11-24 [pawel] 3.7.10cvs102 * src/account.c * src/filtering.c * src/filtering.h * src/imap_gtk.c * src/mh_gtk.c * src/prefs_actions.c * src/prefs_actions.h Implement actions updating on folder/account rename This fixes bug #2543 'filter actions in actionsrc not updated upon account renaming'
It's fixed in cvs103, thanks! :)