[Users] [Bug 2555] New: att_remover plugin crash case

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu Dec 1 12:02:39 CET 2011


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2555

           Summary: att_remover plugin crash case
           Product: Claws Mail
           Version: 3.7.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: users at lists.claws-mail.org
        ReportedBy: jerome at jolimont.fr


Hi.

I have this email with three attached files.

Removing all of them at once using att_remover plugin makes claws-mail crash
systematically. Removing them seperately works.


---------------------------------------------------------------

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe85ef641 in ?? () from /usr/lib/claws-mail/plugins/att_remover.so
(gdb) thread apply all bt

Thread 2 (Thread 0x7fffea7d9700 (LWP 28593)):
#0  0x00007ffff545d2c4 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff48006eb in mailsem_internal_wait () from /usr/lib/libetpan.so.15
#2  0x00000000005e7069 in thread_run (data=0xdcdc80) at
etpan-thread-manager.c:324
#3  0x00007ffff5458b40 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007ffff426036d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc49a0 (LWP 28590)):
#0  0x00007fffe85ef641 in ?? () from /usr/lib/claws-mail/plugins/att_remover.so
#1  0x00007ffff5211804 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x00007ffff522378a in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007ffff522ce11 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff522cfb2 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff73f0dc5 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x00007ffff5211804 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007ffff5222f7a in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff522ce11 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff522cfb2 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff73efbed in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007ffff7499418 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff5211804 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff52235bf in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff522cbe3 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff522cfb2 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff75b2301 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007ffff74975d3 in gtk_propagate_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007ffff7497933 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff710321c in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#20 0x00007ffff4d4c0cf in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff4d4c8c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff4d4ce02 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff7496987 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x000000000044c0c8 in main (argc=1, argv=0x7fffffffe828) at main.c:1681

---------------------------------------------------------------


Just before the crash :


imap.c:1416:trying to fetch cached
/home/jerome/.claws-mail/imapcache/domain/account/dir/subdir/964
imap.c:1425:message 964 has been already fully cached.
    message/rfc822 (offset:0 length:3363613 encoding: 6)
        multipart/mixed (offset:1538 length:3362075 encoding: 6)
            multipart/alternative (offset:1709 length:1160892 encoding: 6)
                text/plain (offset:1842 length:568 encoding: 1)
                multipart/related (offset:2533 length:1160026 encoding: 6)
                    text/html (offset:2650 length:1338 encoding: 0)
                    image/png (offset:4137 length:1158380 encoding: 4)
            application/pdf (offset:1162824 length:2200747 encoding: 4)
imap.c:1416:trying to fetch cached
/home/jerome/.claws-mail/imapcache/domain/account/dir/subdir/964
imap.c:1425:message 964 has been already fully cached.
    message/rfc822 (offset:0 length:3363613 encoding: 6)
        multipart/mixed (offset:1538 length:3362075 encoding: 6)
            multipart/alternative (offset:1709 length:1160892 encoding: 6)
                text/plain (offset:1842 length:568 encoding: 1)
                multipart/related (offset:2533 length:1160026 encoding: 6)
                    text/html (offset:2650 length:1338 encoding: 0)
                    image/png (offset:4137 length:1158380 encoding: 4)
            application/pdf (offset:1162824 length:2200747 encoding: 4)
imap.c:1416:trying to fetch cached
/home/jerome/.claws-mail/imapcache/domain/account/dir/subdir/964
imap.c:1425:message 964 has been already fully cached.
    message/rfc822 (offset:0 length:3363613 encoding: 6)
        multipart/mixed (offset:1538 length:3362075 encoding: 6)
            multipart/alternative (offset:1709 length:1160892 encoding: 6)
                text/plain (offset:1842 length:568 encoding: 1)
                multipart/related (offset:2533 length:1160026 encoding: 6)
                    text/html (offset:2650 length:1338 encoding: 0)
                    image/png (offset:4137 length:1158380 encoding: 4)
            application/pdf (offset:1162824 length:2200747 encoding: 4)
att_remover.c:174:called inc_lock (lock count 1)


Program received signal SIGSEGV, Segmentation fault.
0x00007fffe85ef641 in ?? () from /usr/lib/claws-mail/plugins/att_remover.so


---------------------------------------------------------------


FWIF, here's the structure of the message :


Content-Type: multipart/mixed;
 boundary="------------040408070706010509050800"

This is a multi-part message in MIME format.
--------------040408070706010509050800
Content-Type: multipart/alternative;
 boundary="------------090105080802090309080202"


--------------090105080802090309080202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit


[...]  Text


--------------090105080802090309080202
Content-Type: multipart/related;
 boundary="------------000103040906030202050305"


--------------000103040906030202050305
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

[...] html


--------------000103040906030202050305
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-ID: <part1.07030602.02050309 at laposte.net>

[...]

--------------000103040906030202050305--

--------------090105080802090309080202--

--------------040408070706010509050800
Content-Type: application/pdf;
 name="the_name_of_the_file.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="the_name_of_the_file.pdf"

[...]

--------------040408070706010509050800--


---------------------------------------------------------------


Not sur the trace is enough. I installed and used claws-mail-dbg but I didn't
find any debug package for the plugin.


I built (but did not install) the CVS version of claws-mail but I couldn't
build the plugin :

configure: error: Package requirements (claws-mail >= 3.6.1.27) were not met:

No package 'claws-mail' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CLAWS_MAIL_CFLAGS
and CLAWS_MAIL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I didn't know what to do after that.

Therefore, the trace I provided is made with packaged version.

Feel free to ask for more details. This is 100% reproducible.

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list