Hi Antoine, On Sat, Jun 29, 2013 at 08:43:37PM -0400, Antoine Beaupré wrote: > (gdb) bt > #0 0x00007f6b57da8475 in *__GI_raise (sig=<optimized out>) > at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 > #1 0x00007f6b57dab6f0 in *__GI_abort () at abort.c:92 > #2 0x00007f6b57de352b in __libc_message (do_abort=<optimized out>, > fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 > #3 0x00007f6b57decd76 in malloc_printerr (action=3, > str=0x7f6b57ec5170 "munmap_chunk(): invalid pointer", ptr=<optimized out>) > at malloc.c:6283 > #4 0x00007f6b55c8ca9e in ?? () from /lib/x86_64-linux-gnu/libgcrypt.so.11 > #5 0x00007f6b5613b094 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.26 > #6 0x00007f6b56145645 in ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.26 > #7 0x00007f6b5614dba4 in gnutls_deinit () > from /usr/lib/x86_64-linux-gnu/libgnutls.so.26 > #8 0x00007f6b56a2b139 in _lm_ssl_close (ssl=0x26ba6c0) at lm-ssl-gnutls.c:300 > #9 0x00007f6b56a25e78 in connection_do_close (connection=0x26bb8a0) > at lm-connection.c:514 > #10 connection_do_close (connection=0x26bb8a0) at lm-connection.c:494 > #11 0x00007f6b56a27b32 in lm_connection_close (connection=0x26bb8a0, > error=0x0) > at lm-connection.c:1375 > #12 0x00007f6b56c403bd in server_cleanup () > from /usr/lib/irssi/modules/libxmpp_core.so > #13 0x000000000048e0ba in ?? () > #14 0x000000000048e56d in signal_emit () > ---Type <return> to continue, or q <return> to quit--- > #15 0x0000000000488ed0 in server_disconnect () > #16 0x00007f6b56c4c80e in check_ping_func () > from /usr/lib/irssi/modules/libxmpp_core.so > #17 0x00007f6b58bd8eeb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #18 0x00007f6b58bd8355 in g_main_context_dispatch () > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #19 0x00007f6b58bd8688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #20 0x00007f6b58bd8744 in g_main_context_iteration () > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #21 0x000000000041905c in main () > > >From what I can tell, it looks like loudmouth is throwing an exception > and the plugin is not handling it so crashes.
maybe you're seeing something that I fail to recognize, but where do you see the exception from loudmouth? irssi-plugin-xmpp times out in check_ping_func(), calls server_disconnect() which is in irssi-0.8.15:src/core/servers.c:489, which calls signal_emit("server disconnected", 1, server); which is irssi's regular way to tell all modules interested in this event that it has happened. It is handled in many places, both in irssi-plugin-xmpp and possibly elsewhere, before server_cleanup() gets it, which was added with signal_add_last(). From there onwards, the backtrace shows a regular teardown of an xmpp ssl connection, up to the double-free segfault. So I think this is essentially the same as #499229 or #707758, no? Sadly, I still have no idea what's corrupting gnutls's / gcrypt's ssl object, if not otr... Florian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org