Created attachment 1221 [details] gdb backtrace Selecting an IMAP folder, and doing the has_attachment quicksearch instantly causes an segfault. It works fine on a local folder.
Thanks for the report, fixing!
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.claws-mail.org/tracker/ 2013-01-23 [colin] 3.9.0cvs58 * src/imap.c Fix bug #2863, "Applying has_attachment quicksearch on IMAP segfaults".