[Users] [Bug 3979] Hang (with killing needed) during action which extracts attachments
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Thu Jan 3 23:12:20 CET 2019
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3979
--- Comment #5 from Andrej Kacian <andrej at kacian.sk> ---
I managed to reproduce the described issue. GDB gives following backtrace:
[...]
action.c:982:spawning echo
"/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3431" >`mktemp -u
/tmp/zz/XXXXXX`: 1
imap.c:1571:trying to fetch cached
/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3436
imap.c:1581:message 3436 has been already fully cached.
[Detaching after fork from child process 23466]
action.c:982:spawning echo
"/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3436" >`mktemp -u
/tmp/zz/XXXXXX`: 1
imap.c:1571:trying to fetch cached
/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3437
imap.c:1581:message 3437 has been already fully cached.
[Detaching after fork from child process 23468]
action.c:982:spawning echo
"/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3437" >`mktemp -u
/tmp/zz/XXXXXX`: 1
imap.c:1571:trying to fetch cached
/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3438
imap.c:1581:message 3438 has been already fully cached.
action.c:982:spawning echo
"/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3438" >`mktemp -u
/tmp/zz/XXXXXX`: 0
alertpanel.c:253:Creating alert panel dialog...
alertpanel.c:211:called inc_lock (lock count 1)
action.c:1541:Catching grand child's output.
action.c:1170:Freeing children data 0x5555570ebcd0
action.c:1541:Catching grand child's output.
action.c:1170:Freeing children data 0x5555570ebcd0
free(): double free detected in tcache 2
Thread 1 "claws-mail" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff587a85b in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff5865535 in __GI_abort () at abort.c:79
#2 0x00007ffff58bc718 in __libc_message (action=action at entry=do_abort,
fmt=fmt at entry=0x7ffff59c729a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ffff58c2e3a in malloc_printerr (str=str at entry=0x7ffff59c8f60
"free(): double free detected in tcache 2") at malloc.c:5382
#4 0x00007ffff58c491d in _int_free (av=0x7ffff59fec40 <main_arena>,
p=0x5555561998b0, have_lock=<optimized out>) at malloc.c:4193
#5 0x0000555555688023 in free_children (children=0x5555570ebcd0) at
action.c:1172
#6 0x0000555555687d88 in wait_for_children (children=0x5555570ebcd0) at
action.c:1094
#7 0x0000555555689859 in catch_output (data=0x5555570e8560, source=25,
cond=G_IO_HUP) at action.c:1615
#8 0x00005555558eddcf in claws_io_invoke (source=0x55555603c330,
condition=G_IO_HUP, data=0x5555570e0440) at gtkutils.c:1651
#9 0x00007ffff6809ae8 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff6809ed8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff6809f6c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff7a61b01 in gtk_main_iteration () at
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x000055555569bc99 in alertpanel_show () at alertpanel.c:213
#14 0x000055555569b79c in alertpanel_message
(title=0x55555594a17b "Error", message=0x7fffffffab50 "Could not fork to
execute the following command:\necho
\"/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3438\" >`mktemp
-u /tmp/zz/XXXXXX`\nToo many open files", type=3) at alertpanel.c:131
#15 0x000055555569ba3e in alertpanel_error (format=0x555555948c88 "Could not
fork to execute the following command:\n%s\n%s") at alertpanel.c:170
#16 0x0000555555687947 in fork_child (cmd=0x555557182760 "echo
\"/home/ticho/.claws-mail/imapcache/vala/ticho/ML/claws/users/3438\" >`mktemp
-u /tmp/zz/XXXXXX`", msg_str=0x5555570e1e50 "", children=0x5555570ebcd0) at
action.c:987
#17 0x000055555568746a in execute_actions (action=0x5555562e394e "echo %f
>`mktemp -u /tmp/zz/XXXXXX`", msg_list=0x55555689a890 = {...},
text=0x555555ea4e60, body_pos=0, partinfo=0x0, callback=0x0, data=0x0) at
action.c:879
#18 0x0000555555686c34 in message_actions_execute (msgview=0x555555f86a00,
action_nb=3, msg_list=0x55555689a890 = {...}) at action.c:690
#19 0x0000555555686790 in mainwin_actions_execute (mainwin=0x555555d074b0,
action_nb=3, widget=0x0) at action.c:629
#20 0x0000555555686747 in mainwin_actions_execute_cb (widget=0x555555d2a220,
data=0x555555d074b0) at action.c:620
#21 0x00007ffff68e9b6d in g_closure_invoke () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff68fc8f3 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff6905882 in g_signal_emit_valist () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff6905ecf in g_signal_emit () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff7b79a4a in gtk_widget_activate () at
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff7a764bd in gtk_menu_shell_activate_item () at
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff7a7678e in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007ffff7a641eb in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007ffff68e9b6d in g_closure_invoke () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff68fc124 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff6904f43 in g_signal_emit_valist () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff6905ecf in g_signal_emit () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff7b7acac in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff7a6248c in gtk_propagate_event () at
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#35 0x00007ffff7a6287b in gtk_main_do_event () at
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#36 0x00007ffff78d5bac in () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#37 0x00007ffff6809c3e in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff6809ed8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff680a1d2 in g_main_loop_run () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff7a618e7 in gtk_main () at
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#41 0x0000555555713292 in main (argc=1, argv=0x7fffffffe168) at main.c:1626
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list