Pidgin crashes. OTR session with xabber client!

Eion Robb eion at robbmob.com
Thu Jul 8 04:52:28 EDT 2021


Hi there,

Unfortunately this looks like 2 different crashes in libraries that Pidgin
uses but doesn't support:


   1. There's a crash in Pango (text rendering library) trying to double
   free some memory.  You might want to try running Pidgin through valgrind to
   see where the memory is being free'd twice.  You'll need to send this one
   up to the Pango guys to try fix.
   2. There's a crash in the OTR plugin, something to do with an error when
   reallocating memory.   Unfortunately Pidgin doesn't support this 3rd party
   library, so you'll need to send this one to them.

To help with both of these issues, you might want to recompile all
libraries in the backtrace with debug symbols, (libpango and libgcrypt in
particular), and maybe refer to
https://developer.pidgin.im/wiki/GetABacktrace about how to extract a more
meaningful backtrace that can reveal a bit more about what's happening
behind the scenes to cause those crashes.

Cheers,
Eion

On Thu, 8 Jul 2021 at 20:26, <mg983g at countermail.com> wrote:

> Hi,
> I'm using pidgin application on ArchLinux and pidgin-otr plugin for
> encrypted communication.
> When i'm trying to create new OTR conversation with people, who use
> xabber on Android, then app crash and give me error info in journal.
> With other IM messengers, everything is fine.
> Below is the text of the error itself.
>
> user at host ~ % uname -a
> Linux host 5.12.14-arch1-1 x86_64 GNU/Linux
>
> user at host ~ % pidgin -v
> Pidgin 2.14.5 (libpurple 2.14.5)
>
> user at host ~ % pacman -Qi pidgin
> Name            : pidgin
> Version         : 2.14.5-1
>
> user at host ~ % pacman -Qi libotr
> Name            : libotr
> Version         : 4.1.1-3
>
> user at host ~ % pacman -Qi pidgin-otr
> Name            : pidgin-otr
> Version         : 4.0.2-3
>
>
> Jul 08 08:15:14 host systemd-coredump[107497]: [🡕] Process 107459
> (pidgin) of user 1000 dumped core.
>
>                                                 Stack trace of thread
> 107459:
>                                                 #0  0x00007ffb580a9d22
> raise (libc.so.6 + 0x3cd22)
>                                                 #1  0x00007ffb58093862
> abort (libc.so.6 + 0x26862)
>                                                 #2  0x00007ffb580ebd28
> __libc_message (libc.so.6 + 0x7ed28)
>                                                 #3  0x00007ffb580f392a
> malloc_printerr (libc.so.6 + 0x8692a)
>                                                 #4  0x00007ffb580f7bbc
> _int_realloc (libc.so.6 + 0x8abbc)
>                                                 #5  0x00007ffb580f8ef6
> realloc (libc.so.6 + 0x8bef6)
>                                                 #6  0x00007ffb53e53de5
> n/a (libotr.so.5 + 0xade5)
>                                                 #7  0x00007ffb5717d3e5
> n/a (libgcrypt.so.20 + 0x143e5)
>                                                 #8  0x00007ffb5717dab5
> n/a (libgcrypt.so.20 + 0x14ab5)
>                                                 #9  0x00007ffb5717eac6
> n/a (libgcrypt.so.20 + 0x15ac6)
>                                                 #10 0x00007ffb5718034e
> n/a (libgcrypt.so.20 + 0x1734e)
>                                                 #11 0x00007ffb57178390
> gcry_sexp_build (libgcrypt.so.20 + 0xf390)
>                                                 #12 0x00007ffb53e4fd40
> otrl_privkey_verify (libotr.so.5 + 0x6d40)
>                                                 #13 0x00007ffb53e588f2
> n/a (libotr.so.5 + 0xf8f2)
>                                                 #14 0x00007ffb53e5a057
> otrl_auth_handle_revealsig (libotr.so.5 + 0x11057)
>                                                 #15 0x00007ffb53e56605
> otrl_message_receiving (libotr.so.5 + 0xd605)
>                                                 #16 0x00007ffb53e867f1
> n/a (pidgin-otr.so + 0x87f1)
>                                                 #17 0x00007ffb5843517f
> purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER
> (libpurple.so.0 + 0x9517f)
>                                                 #18 0x00007ffb58433f95
> purple_signal_emit_vargs_return_1 (libpurple.so.0 + 0x93f95)
>                                                 #19 0x00007ffb584340ff
> purple_signal_emit_return_1 (libpurple.so.0 + 0x940ff)
>                                                 #20 0x00007ffb58432539
> serv_got_im (libpurple.so.0 + 0x92539)
>                                                 #21 0x00007ffb53cafeac
> jabber_message_parse (libjabber.so.0 + 0x40eac)
>                                                 #22 0x00007ffb53cb1c35
> n/a (libjabber.so.0 + 0x42c35)
>                                                 #23 0x00007ffb5766e4bd
> n/a (libxml2.so.2 + 0x484bd)
>                                                 #24 0x00007ffb576755c9
> n/a (libxml2.so.2 + 0x4f5c9)
>                                                 #25 0x00007ffb576765a0
> xmlParseChunk (libxml2.so.2 + 0x505a0)
>                                                 #26 0x00007ffb53cb213f
> jabber_parser_process (libjabber.so.0 + 0x4313f)
>                                                 #27 0x00007ffb53ca05cf
> n/a (libjabber.so.0 + 0x315cf)
>                                                 #28 0x000055d5413f41a3
> n/a (pidgin + 0x751a3)
>                                                 #29 0x00007ffb5867a015
> g_main_context_dispatch (libglib-2.0.so.0 + 0x54015)
>                                                 #30 0x00007ffb586cdb99
> n/a (libglib-2.0.so.0 + 0xa7b99)
>                                                 #31 0x00007ffb58679693
> g_main_loop_run (libglib-2.0.so.0 + 0x53693)
>                                                 #32 0x00007ffb58d429fe
> gtk_main (libgtk-x11-2.0.so.0 + 0x1339fe)
>                                                 #33 0x000055d5413b598e
> main (pidgin + 0x3698e)
>                                                 #34 0x00007ffb58094b25
> __libc_start_main (libc.so.6 + 0x27b25)
>                                                 #35 0x000055d5413b60be
> _start (pidgin + 0x370be)
>
>                                                 Stack trace of thread
> 107460:
>                                                 #0  0x00007ffb58160b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007ffb534ca654
> n/a (libpulse.so.0 + 0x33654)
>                                                 #2  0x00007ffb534b39a9
> pa_mainloop_poll (libpulse.so.0 + 0x1c9a9)
>                                                 #3  0x00007ffb534be281
> pa_mainloop_iterate (libpulse.so.0 + 0x27281)
>                                                 #4  0x00007ffb534be331
> pa_mainloop_run (libpulse.so.0 + 0x27331)
>                                                 #5  0x00007ffb534ce7fe
> n/a (libpulse.so.0 + 0x377fe)
>                                                 #6  0x00007ffb534275cc
> n/a (libpulsecommon-14.2.so + 0x565cc)
>                                                 #7  0x00007ffb58242259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #8  0x00007ffb5816b5e3
> __clone (libc.so.6 + 0xfe5e3)
>
>                                                 Stack trace of thread
> 107462:
>                                                 #0  0x00007ffb58160b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007ffb586cdb29
> n/a (libglib-2.0.so.0 + 0xa7b29)
>                                                 #2  0x00007ffb58677871
> g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
>                                                 #3  0x00007ffb586778c2
> n/a (libglib-2.0.so.0 + 0x518c2)
>                                                 #4  0x00007ffb586a82c1
> n/a (libglib-2.0.so.0 + 0x822c1)
>                                                 #5  0x00007ffb58242259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #6  0x00007ffb5816b5e3
> __clone (libc.so.6 + 0xfe5e3)
>
>                                                 Stack trace of thread
> 107461:
>                                                 #0  0x00007ffb58160b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007ffb586cdb29
> n/a (libglib-2.0.so.0 + 0xa7b29)
>                                                 #2  0x00007ffb58679693
> g_main_loop_run (libglib-2.0.so.0 + 0x53693)
>                                                 #3  0x00007ffb531ce876
> n/a (libgstvideo4linux2.so + 0x17876)
>                                                 #4  0x00007ffb586a82c1
> n/a (libglib-2.0.so.0 + 0x822c1)
>                                                 #5  0x00007ffb58242259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #6  0x00007ffb5816b5e3
> __clone (libc.so.6 + 0xfe5e3)
>
>                                                 Stack trace of thread
> 107463:
>                                                 #0  0x00007ffb58160b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007ffb586cdb29
> n/a (libglib-2.0.so.0 + 0xa7b29)
>                                                 #2  0x00007ffb58679693
> g_main_loop_run (libglib-2.0.so.0 + 0x53693)
>                                                 #3  0x00007ffb588b68c8
> n/a (libgio-2.0.so.0 + 0x1018c8)
>                                                 #4  0x00007ffb586a82c1
> n/a (libglib-2.0.so.0 + 0x822c1)
>                                                 #5  0x00007ffb58242259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #6  0x00007ffb5816b5e3
> __clone (libc.so.6 + 0xfe5e3)
>
>
>
> Jul 08 08:17:37 host systemd-coredump[107573]: [🡕] Process 107532
> (pidgin) of user 1000 dumped core.
>
>                                                 Stack trace of thread
> 107532:
>                                                 #0  0x00007f29570f0d22
> raise (libc.so.6 + 0x3cd22)
>                                                 #1  0x00007f29570da862
> abort (libc.so.6 + 0x26862)
>                                                 #2  0x00007f2957132d28
> __libc_message (libc.so.6 + 0x7ed28)
>                                                 #3  0x00007f295713a92a
> malloc_printerr (libc.so.6 + 0x8692a)
>                                                 #4  0x00007f295713b826
> unlink_chunk.constprop.0 (libc.so.6 + 0x87826)
>                                                 #5  0x00007f295713c07b
> _int_free (libc.so.6 + 0x8807b)
>                                                 #6  0x00007f295713f9e8
> __libc_free (libc.so.6 + 0x8b9e8)
>                                                 #7  0x00007f29579c8e3d
> pango_glyph_string_free (libpango-1.0.so.0 + 0xfe3d)
>                                                 #8  0x00007f29579d461c
> n/a (libpango-1.0.so.0 + 0x1b61c)
>                                                 #9  0x00007f29576dcb08
> g_slist_foreach (libglib-2.0.so.0 + 0x6fb08)
>                                                 #10 0x00007f29579d4916
> pango_layout_line_unref (libpango-1.0.so.0 + 0x1b916)
>                                                 #11 0x00007f29579d496c
> n/a (libpango-1.0.so.0 + 0x1b96c)
>                                                 #12 0x00007f29579d8986
> n/a (libpango-1.0.so.0 + 0x1f986)
>                                                 #13 0x00007f29577c1611
> g_object_unref (libgobject-2.0.so.0 + 0x1f611)
>                                                 #14 0x00007f2957e3d518
> gtk_text_layout_free_line_display (libgtk-x11-2.0.so.0 + 0x1e7518)
>                                                 #15 0x00007f2957e3eaa0
> n/a (libgtk-x11-2.0.so.0 + 0x1e8aa0)
>                                                 #16 0x00007f2957e1e311
> n/a (libgtk-x11-2.0.so.0 + 0x1c8311)
>                                                 #17 0x00007f2957e25f0a
> n/a (libgtk-x11-2.0.so.0 + 0x1cff0a)
>                                                 #18 0x00007f2957e270f3
> n/a (libgtk-x11-2.0.so.0 + 0x1d10f3)
>                                                 #19 0x00007f29577b4d8f
> g_closure_invoke (libgobject-2.0.so.0 + 0x12d8f)
>                                                 #20 0x00007f29577cff5e
> n/a (libgobject-2.0.so.0 + 0x2df5e)
>                                                 #21 0x00007f29577d1c49
> g_signal_emit_valist (libgobject-2.0.so.0 + 0x2fc49)
>                                                 #22 0x00007f29577d21a0
> g_signal_emit (libgobject-2.0.so.0 + 0x301a0)
>                                                 #23 0x0000560202195a06
> gtk_imhtml_insert_html_at_iter (pidgin + 0x84a06)
>                                                 #24 0x0000560202198865
> gtk_imhtml_append_text_with_images (pidgin + 0x87865)
>                                                 #25 0x0000560202177a95
> n/a (pidgin + 0x66a95)
>                                                 #26 0x00007f295743fab7
> purple_conversation_write (libpurple.so.0 + 0x58ab7)
>                                                 #27 0x00007f2952eda22e
> n/a (pidgin-otr.so + 0x1522e)
>                                                 #28 0x00007f2952e9b4a7
> n/a (libotr.so.5 + 0xb4a7)
>                                                 #29 0x00007f2952ea1226
> otrl_auth_handle_revealsig (libotr.so.5 + 0x11226)
>                                                 #30 0x00007f2952e9d605
> otrl_message_receiving (libotr.so.5 + 0xd605)
>                                                 #31 0x00007f2952ecd7f1
> n/a (pidgin-otr.so + 0x87f1)
>                                                 #32 0x00007f295747c17f
> purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER
> (libpurple.so.0 + 0x9517f)
>                                                 #33 0x00007f295747af95
> purple_signal_emit_vargs_return_1 (libpurple.so.0 + 0x93f95)
>                                                 #34 0x00007f295747b0ff
> purple_signal_emit_return_1 (libpurple.so.0 + 0x940ff)
>                                                 #35 0x00007f2957479539
> serv_got_im (libpurple.so.0 + 0x92539)
>                                                 #36 0x00007f2952cf6eac
> jabber_message_parse (libjabber.so.0 + 0x40eac)
>                                                 #37 0x00007f2952cf8c35
> n/a (libjabber.so.0 + 0x42c35)
>                                                 #38 0x00007f29566b54bd
> n/a (libxml2.so.2 + 0x484bd)
>                                                 #39 0x00007f29566bc5c9
> n/a (libxml2.so.2 + 0x4f5c9)
>                                                 #40 0x00007f29566bd5a0
> xmlParseChunk (libxml2.so.2 + 0x505a0)
>                                                 #41 0x00007f2952cf913f
> jabber_parser_process (libjabber.so.0 + 0x4313f)
>                                                 #42 0x00007f2952ce75cf
> n/a (libjabber.so.0 + 0x315cf)
>                                                 #43 0x00005602021861a3
> n/a (pidgin + 0x751a3)
>                                                 #44 0x00007f29576c1015
> g_main_context_dispatch (libglib-2.0.so.0 + 0x54015)
>                                                 #45 0x00007f2957714b99
> n/a (libglib-2.0.so.0 + 0xa7b99)
>                                                 #46 0x00007f29576c0693
> g_main_loop_run (libglib-2.0.so.0 + 0x53693)
>                                                 #47 0x00007f2957d899fe
> gtk_main (libgtk-x11-2.0.so.0 + 0x1339fe)
>                                                 #48 0x000056020214798e
> main (pidgin + 0x3698e)
>                                                 #49 0x00007f29570dbb25
> __libc_start_main (libc.so.6 + 0x27b25)
>                                                 #50 0x00005602021480be
> _start (pidgin + 0x370be)
>
>                                                 Stack trace of thread
> 107534:
>                                                 #0  0x00007f29571a7b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007f2957714b29
> n/a (libglib-2.0.so.0 + 0xa7b29)
>                                                 #2  0x00007f29576c0693
> g_main_loop_run (libglib-2.0.so.0 + 0x53693)
>                                                 #3  0x00007f2952215876
> n/a (libgstvideo4linux2.so + 0x17876)
>                                                 #4  0x00007f29576ef2c1
> n/a (libglib-2.0.so.0 + 0x822c1)
>                                                 #5  0x00007f2957289259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #6  0x00007f29571b25e3
> __clone (libc.so.6 + 0xfe5e3)
>
>                                                 Stack trace of thread
> 107536:
>                                                 #0  0x00007f29571a7b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007f2957714b29
> n/a (libglib-2.0.so.0 + 0xa7b29)
>                                                 #2  0x00007f29576c0693
> g_main_loop_run (libglib-2.0.so.0 + 0x53693)
>                                                 #3  0x00007f29578fd8c8
> n/a (libgio-2.0.so.0 + 0x1018c8)
>                                                 #4  0x00007f29576ef2c1
> n/a (libglib-2.0.so.0 + 0x822c1)
>                                                 #5  0x00007f2957289259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #6  0x00007f29571b25e3
> __clone (libc.so.6 + 0xfe5e3)
>
>                                                 Stack trace of thread
> 107535:
>                                                 #0  0x00007f29571a7b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007f2957714b29
> n/a (libglib-2.0.so.0 + 0xa7b29)
>                                                 #2  0x00007f29576be871
> g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
>                                                 #3  0x00007f29576be8c2
> n/a (libglib-2.0.so.0 + 0x518c2)
>                                                 #4  0x00007f29576ef2c1
> n/a (libglib-2.0.so.0 + 0x822c1)
>                                                 #5  0x00007f2957289259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #6  0x00007f29571b25e3
> __clone (libc.so.6 + 0xfe5e3)
>
>                                                 Stack trace of thread
> 107533:
>                                                 #0  0x00007f29571a7b2f
> __poll (libc.so.6 + 0xf3b2f)
>                                                 #1  0x00007f2952511654
> n/a (libpulse.so.0 + 0x33654)
>                                                 #2  0x00007f29524fa9a9
> pa_mainloop_poll (libpulse.so.0 + 0x1c9a9)
>                                                 #3  0x00007f2952505281
> pa_mainloop_iterate (libpulse.so.0 + 0x27281)
>                                                 #4  0x00007f2952505331
> pa_mainloop_run (libpulse.so.0 + 0x27331)
>                                                 #5  0x00007f29525157fe
> n/a (libpulse.so.0 + 0x377fe)
>                                                 #6  0x00007f295246e5cc
> n/a (libpulsecommon-14.2.so + 0x565cc)
>                                                 #7  0x00007f2957289259
> start_thread (libpthread.so.0 + 0x9259)
>                                                 #8  0x00007f29571b25e3
> __clone (libc.so.6 + 0xfe5e3)
>
> _______________________________________________
> Support at pidgin.im mailing list
> Want to unsubscribe?  Use this link:
> https://lists.pidgin.im/listinfo/support


More information about the Support mailing list