Bug 2729 - crash when searching for messages (/)
Summary: crash when searching for messages (/)
Status: RESOLVED DUPLICATE of bug 2697
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Folder List (show other bugs)
Version: 3.8.1
Hardware: PC Linux
: P3 critical
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-09-04 10:12 UTC by michelbriand
Modified: 2012-09-05 10:12 UTC (History)
0 users

See Also:


Attachments
Backtrace log (6.48 KB, text/plain)
2012-09-04 10:12 UTC, michelbriand
no flags Details

Description michelbriand 2012-09-04 10:12:13 UTC
Created attachment 1154 [details]
Backtrace log

Hello,

(I've tried the claws-mail-dbg package on Debian, but the executable in here does not work);

Claws-mail search feature has worked for ages. But today I've found a severe bug :) !

Claws-mail crashes when I search for messages with the recursive mode and the expression : 'al 300 & B kwon'. I've tried a dozen times and it crashes every time.

My locale is 'fr_FR@euro' (iso-8859-15). I don't want to change this.

Here is the backtrace attached.

Cheers,
Michel
Comment 1 Ricardo Mones 2012-09-04 11:19:51 UTC
This is not related to search, but to a strange or malformed attachment in a message ('/home/michel/Mail/Projets & Dev/PG/37').

You may try to move that file out of that folder (e.g.: to your home folder), update summary view, and search again. That should work, unless you have more weird messages like that one of course.

BTW, Debian -dbg packages are not meant to be run, they only contain symbols for the debugger to be loaded when the executable is run, and this is already done automatically by Debian's gdb, so your backtrace is inadvertently correct ;)
Comment 2 Colin Leroy 2012-09-04 11:23:48 UTC
And the attachment parsing crash is triggered by the body search.
Comment 3 Colin Leroy 2012-09-04 11:30:51 UTC
It looks a lot like bug #2697. Using the content-disposition header found in the backtrace's #1 step ("filename*0*=ISO-8859-1''%56%65%72%73%69%6F%6E%20%73%75%63%63%69%6E%63%74; filename*1*=%65%20%64%75%20%6C%69%76%72%65%20%27%27%4E%6F%75%73%20%6F%6E; filename*2*=%20%70%65%75%74%20%21%27%27%20%20%64%65"), Claws crashes without bug #2697's fix, doesn't crash with.

*** This bug has been marked as a duplicate of bug 2697 ***
Comment 4 michelbriand 2012-09-04 11:54:37 UTC
Thank you, the move did the trick.
And yes, the -dbg thing is simpler than expected :).

Anyway I'll wait to see the complete resolution.
Comment 5 Ricardo Mones 2012-09-05 10:12:41 UTC
The fix is already in CVS, so if you're using Debian unstable on i386 or amd64 architectures you can install CVS packages from http://hydra.debian.net

These should work without the need of moving the file out of your mail folder.

Note You need to log in before you can comment on or make changes to this bug.