Summary: | att_remover plugin crash case | ||||||
---|---|---|---|---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | J <jerome> | ||||
Component: | Other | Assignee: | users | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.7.10 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
J
2011-12-01 12:02:38 UTC
Created attachment 1045 [details]
probable fix
Does this patch helps?
As for your build problems, I use script below to build plugins from cvs, just run it instead of autogen.sh CLAWS_DIR should point to your claws-mail cvs checkout and PREFIX probably should be /usr on your system Also set configure prefix option to your desired destination for binaries and you should be set ;-) #!/bin/sh CLAWS_DIR="/home/corn/projects/claws" PREFIX="/usr/local" CFLAGS="-I$PREFIX/include -I$PREFIX/include/gpgme -I$CLAWS_DIR -I$CLAWS_DIR/src" CFLAGS="$CFLAGS -I$CLAWS_DIR/src/common -I$CLAWS_DIR/src/gtk" export LDFLAGS="-L$PREFIX/lib" export CLAWS_MAIL_CFLAGS="$CFLAGS" aclocal \ && libtoolize --copy --force \ && autoheader \ && automake --add-missing --foreign --copy \ && autoconf \ && ./configure --enable-maintainer-mode \ --with-libiconv-prefix=$PREFIX \ --with-libintl-prefix=$PREFIX \ --prefix=/home/corn/test $@ Hi. Indeed, the patch fixes the issue. Congratulations. Thanks for your build script. Actually, I had this error because I had not "make install"ed claws-mail, I was testing it from its build directory. Installing it solves that and the autogen.sh works. Besides, I couldn't use att_remover on the cvs version of claws-mail : it complained that it was compiled for an older version. I tested it on my packaged claws-mail installation. Anyway, it worked. Thanks Pawel, Feel free to commit :) 2011-12-05 [pawel] 1.0.12cvs1 * commitHelper Support bash not in /bin * src/att_remover.c Split removal of attachments to 2 phases, first remove selected attachments and in second phase remove uneeded multipart leftovers. This allows us to avoid crashers and leave more sane MIME structure afterwards. Fixes bug #2555 'att_remover plugin crash case' |