stack smashing detected: pidgin terminated

Bug #211507 reported by Skout23
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
Fix Released
Low
Basilio Kublik

Bug Description

Binary package hint: pidgin

Pidgin worked initially when I upgraded to the recent beta, however has since not been able to start. It gives the following alarm and trace. Let me know if I can get anything more to help.

Thanks,

$ pidgin
*** stack smashing detected ***: pidgin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb766e028]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb766dfe0]
/usr/lib/purple-2/libjabber.so.0[0xb6551a64]
/usr/lib/purple-2/libjabber.so.0[0xb652b497]
/usr/lib/purple-2/libjabber.so.0(jabber_iq_parse+0xfa)[0xb6538937]
/usr/lib/purple-2/libjabber.so.0(jabber_process_packet+0x89)[0xb65393b5]
/usr/lib/purple-2/libjabber.so.0[0xb6544ec5]
/usr/lib/libxml2.so.2[0xb7487f34]
/usr/lib/libxml2.so.2(xmlParseChunk+0x589)[0xb74947b9]
/usr/lib/purple-2/libjabber.so.0(jabber_parser_process+0x9d)[0xb6545048]
/usr/lib/purple-2/libjabber.so.0[0xb6539e35]
/usr/lib/libpurple.so.0[0xb787c86a]
pidgin[0x80aba7b]
/usr/lib/libglib-2.0.so.0[0xb7779bcd]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x178)[0xb7745bd8]
/usr/lib/libglib-2.0.so.0[0xb7748e3e]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb77491c7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7c04244]
pidgin(main+0xba6)[0x80c6eba]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7597450]
pidgin[0x806c771]
======= Memory map: ========
08048000-08114000 r-xp 00000000 09:00 738833 /usr/bin/pidgin
08114000-08117000 rwxp 000cc000 09:00 738833 /usr/bin/pidgin
08117000-08593000 rwxp 08117000 00:00 0 [heap]
b443b000-b449b000 rwxs 00000000 00:09 950291 /SYSV00000000 (deleted)
b449b000-b44ba000 r-xp 00000000 09:00 737683 /usr/lib/libjpeg.so.62.0.0
b44ba000-b44bb000 rwxp 0001e000 09:00 737683 /usr/lib/libjpeg.so.62.0.0
b44cb000-b44cf000 r-xp 00000000 09:00 815623 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b44cf000-b44d0000 rwxp 00003000 09:00 815623 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b44d0000-b45d4000 rwxp b44d0000 00:00 0
b45d4000-b465b000 r-xp 00000000 09:00 1076971 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b465b000-b4672000 r-xs 00000000 09:00 1906405 /var/lib/aspell/en_US-wo_accents-only.rws
b4672000-b48fa000 r-xs 00000000 09:00 1906394 /var/lib/aspell/en-common.rws
b48fe000-b4a02000 rwxp b48fe000 00:00 0
b4a02000-b4a04000 r-xp 00000000 09:00 815206 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b4a04000-b4a05000 rwxp 00001000 09:00 815206 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b4a05000-b4a96000 r-xp 00000000 09:00 1076970 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b4a96000-b4a9c000 r-xs 00000000 09:00 1890591 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b4a9c000-b4a9f000 r-xs 00000000 09:00 1890589 /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b4a9f000-b4aa3000 r-xs 00000000 09:00 1890520 /var/cache/fontconfig/921a30a17f0be15c70ac14043cb7a739-x86.cache-2
b4aa3000-b4aa6000 r-xs 00000000 09:00 1890489 /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b4aa6000-b4aad000 r-xs 00000000 09:00 1890482 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b4aad000-b4ab0000 r-xs 00000000 09:00 1890463 /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b4ab0000-b4ab8000 r-xs 00000000 09:00 1890457 /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b4ab8000-b4ac0000 r-xs 00000000 09:00 1890412 /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b4ac0000-b4ae2000 r-xs 00000000 09:00 1890408 /var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-x86.cache-2
b4ae2000-b4ae5000 r-xs 00000000 09:00 1890362 /var/cache/fontconfig/de9486f0b47a4d768a594cb4198cb1c6-x86.cache-2
b4ae5000-b4aec000 r-xs 00000000 09:00 1890306 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b4aec000-b4dc7000 r-xp 00000000 09:00 815143 /usr/share/icons/hicolor/icon-theme.cache
b4dc7000-b5537000 r-xp 00000000 09:00 847094 /usr/share/icons/gnome/icon-theme.cache
b5537000-b55e2000 r-xp 00000000 09:00 1077642 /usr/share/icons/Tangerine/icon-theme.cache
b55e2000-b5748000 r-xp 00000000 09:00 963062 /usr/share/icons/Human/icon-theme.cache
b5748000-b5759000 r-xp 00000000 09:00 847178 /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
b5759000-b575a000 rwxp 00011000 09:00 847178 /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
b575a000-b579b000 r-xp 00000000 09:00 831973 /usr/lib/nss/libnssckbi.so
b579b000-b57a5000 rwxp 00040000 09:00 831973 /usr/lib/nss/libnssckbi.so
b57a5000-b57df000 r-xp 00000000 09:00 831411 /usr/lib/nss/libfreebl3.so
b57df000-b57e0000 rwxp 0003a000 09:00 831411 /usr/lib/nss/libfreebl3.so
b57e0000-b580e000 r-xp 00000000 09:00 831957 /usr/lib/nss/libsoftokn3.so
b580e000-b580f000 rwxp 0002e000 09:00 831957 /usr/lib/nss/libsoftokn3.so
b580f000-b5810000 ---p b580f000 00:00 0
b5810000-b6010000 rwxp b5810000 00:00 0
b6010000-b6027000 r-xp 00000000 09:00 1014223 /usr/lib/purple-2/libmyspace.so
b6027000-b6028000 rwxp 00016000 09:00 1014223 /usr/lib/purple-2/libmyspace.so
b6028000-b6029000 rwxp b6028000 00:00 0
b6029000-b6058000 r-xp 00000000 09:00 1014228 /usr/lib/purple-2/libqq.so
b6058000-b6059000 rwxp 0002f000 09:00 1014228 /usr/lib/purple-2/libqq.so
b6059000-b6075000 r-xp 00000000 09:00 1014224 /usr/lib/purple-2/libnovell.so
b6075000-b6076000 rwxp 0001b000 09:00 1014224 /usr/lib/purple-2/libnovell.so
b6076000-b6191000 r-xp 00000000 09:00 736316 /usr/lib/libperl.so.5.8.8
b6191000-b6196000 rwxp 0011a000 09:00 736316 /usr/lib/libperl.so.5.8.8
b6196000-b6198000 rwxp b6196000 00:00 0
b6198000-b6199000 r-xs 00000000 09:00 1890568 /var/cache/fontconfig/e3fa16a14183b06aa45b3e009278fd14-x86.cache-2
b6199000-b619a000 r-xs 00000000 09:00 1890515 /var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b619a000-b61a0000 r-xs 00000000 09:00 1890304 /var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-x86.cache-2
b61a0000-b61a4000 r-xp 00000000 09:00 815699 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b61a4000-b61a5000 rwxp 00003000 09:00 815699 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b61a5000-b61a7000 r-xp 00000000 09:00 1009918 /usr/lib/purple-2/idle.so
b61a7000-b61a8000 rwxp 00001000 09:00 1009918 /usr/lib/purple-2/idle.so
b61a8000-b61bc000 r-xp 00000000 09:00 16500 /usr/lib/libgadu.so.3.5
b61bc000-b61bd000 rwxp 00013000 09:00 16500 /usr/lib/libgadu.so.3.5
b61bd000-b61bf000 r-xs 00000000 09:00 1890238 /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2
b61bf000-b61c0000 r-xp 00000000 09:00 1009912 /usr/lib/purple-2/ssl-gnutls.so
b61c0000-b61c1000 rwxp 00000000 09:00 1009912 /usr/lib/purple-2/ssl-gnutls.so
b61c1000-b61cc000 r-xp 00000000 09:00 1009910 /usr/lib/purple-2/perl.so
b61cc000-b61cd000 rwxp 0000b000 09:00 1009910 /usr/lib/purple-2/perl.so
b61cd000-b61fa000 r-xp 00000000 09:00 1563665 /lib/libncurses.so.5.6
b61fa000-b61fd000 rwxp 0002c000 09:00 1563665 /lib/libncurses.so.5.6
b61fd000-b6229000 r-xp 00000000 09:00 1563894 /lib/libreadline.so.5.2
b6229000-b622d000 rwxp 0002c000 09:00 1563894 /lib/libreadline.so.5.2
b622d000-b622e000 rwxp b622d000 00:00 0
b622e000-b6231000 r-xp 00000000 09:00 16542 /usr/lib/libhesiod.so.0
b6231000-b6232000 rwxp 00002000 09:00 16542 /usr/lib/libhesiod.so.0
b6232000-b623c000 r-xp 00000000 09:00 16543 /usr/lib/libzephyr.so.3.0.0
b623c000-b623d000 rwxp 00009000 09:00 16543 /usr/lib/libzephyr.so.3.0.0
b623d000-b6240000 rwxp b623d000 00:00 0
b6240000-b6242000 r-xp 00000000 09:00 1009916 /usr/lib/purple-2/autoaccept.so
b6242000-b6243000 rwxp 00001000 09:00 1009916 /usr/lib/purple-2/autoaccept.so
b6243000-b624f000 r-xp 00000000 09:00 1014214 /usr/lib/purple-2/libgg.so
b624f000-b6250000 rwxp 0000b000 09:00 1014214 /usr/lib/purple-2/libgg.so
b6250000-b625c000 r-xp 00000000 09:00 1014232 /usr/lib/purple-2/libzephyr.so
b625c000-b625d000 rwxp 0000c000 09:00 1014232 /usr/lib/purple-2/libzephyr.so
b625d000-b625e000 r-xp 00000000 09:00 1009917 /usr/lib/purple-2/buddynote.so
b625e000-b625f000 rwxp 00000000 09:00 1009917 /usr/lib/purple-2/buddynote.so
b625f000-b628c000 r-xp 00000000 09:00 1014222 /usr/lib/purple-2/libmsn.so
b628c000-b628d000 rwxp 0002d000 09:00 1014222 /usr/lib/purple-2/libmsn.so
b628d000-b6290000 rwAborted (core dumped)

Tags: pidgin
Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi there
are you able to reproduce this crash using a new user account?

Thanks in advance

Changed in pidgin:
assignee: nobody → sourcercito
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Skout23 (scott-sm) wrote :

When I setup a new user that account is able to start pidgin. I am going to try and move my ~/.purple directory and see if it is just something corrupt in there.

Thanks,

Revision history for this message
Skout23 (scott-sm) wrote :

That worked!

Thanks,

Revision history for this message
Skout23 (scott-sm) wrote :
Download full text (8.2 KiB)

Nevermind as soon as it connects to an internal jabber server over SSL it dumps core again.

 *** stack smashing detected ***: pidgin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7699138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb76990f0]
/usr/lib/purple-2/libjabber.so.0[0xb657ca64]
/usr/lib/purple-2/libjabber.so.0[0xb6556497]
/usr/lib/purple-2/libjabber.so.0(jabber_iq_parse+0xfa)[0xb6563937]
/usr/lib/purple-2/libjabber.so.0(jabber_process_packet+0x89)[0xb65643b5]
/usr/lib/purple-2/libjabber.so.0[0xb656fec5]
/usr/lib/libxml2.so.2[0xb74b2f34]
/usr/lib/libxml2.so.2(xmlParseChunk+0x589)[0xb74bf7b9]
/usr/lib/purple-2/libjabber.so.0(jabber_parser_process+0x9d)[0xb6570048]
/usr/lib/purple-2/libjabber.so.0[0xb6564e35]
/usr/lib/libpurple.so.0[0xb78a786a]
pidgin[0x80aba7b]
/usr/lib/libglib-2.0.so.0[0xb77a4bcd]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x178)[0xb7770bd8]
/usr/lib/libglib-2.0.so.0[0xb7773e3e]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb77741c7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7c2f244]
pidgin(main+0xba6)[0x80c6eba]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb75c2450]
pidgin[0x806c771]
======= Memory map: ========
08048000-08114000 r-xp 00000000 09:00 738833 /usr/bin/pidgin
08114000-08117000 rwxp 000cc000 09:00 738833 /usr/bin/pidgin
08117000-0862f000 rwxp 08117000 00:00 0 [heap]
b42fb000-b435b000 rwxs 00000000 00:09 2261012 /SYSV00000000 (deleted)
b435b000-b436a000 r-xp 00000000 09:00 1563880 /lib/libbz2.so.1.0.4
b436a000-b436b000 rwxp 0000f000 09:00 1563880 /lib/libbz2.so.1.0.4
b436b000-b43ca000 r-xp 00000000 09:00 16335 /usr/lib/libgio-2.0.so.0.0.0
b43ca000-b43cc000 rwxp 0005e000 09:00 16335 /usr/lib/libgio-2.0.so.0.0.0
b43cc000-b43fe000 r-xp 00000000 09:00 738434 /usr/lib/libcroco-0.6.so.3.0.1
b43fe000-b4401000 rwxp 00031000 09:00 738434 /usr/lib/libcroco-0.6.so.3.0.1
b4401000-b4431000 r-xp 00000000 09:00 734157 /usr/lib/libgsf-1.so.114.0.7
b4431000-b4434000 rwxp 0002f000 09:00 734157 /usr/lib/libgsf-1.so.114.0.7
b4434000-b4435000 rwxp b4434000 00:00 0
b4435000-b4465000 r-xp 00000000 09:00 734161 /usr/lib/librsvg-2.so.2.22.2
b4465000-b4466000 rwxp 00030000 09:00 734161 /usr/lib/librsvg-2.so.2.22.2
b4466000-b44c6000 rwxs 00000000 00:09 2228243 /SYSV00000000 (deleted)
b44c6000-b44e5000 r-xp 00000000 09:00 737683 /usr/lib/libjpeg.so.62.0.0
b44e5000-b44e6000 rwxp 0001e000 09:00 737683 /usr/lib/libjpeg.so.62.0.0
b44f6000-b44fa000 r-xp 00000000 09:00 815623 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b44fa000-b44fb000 rwxp 00003000 09:00 815623 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b44fb000-b45ff000 rwxp b44fb000 00:00 0
b45ff000-b4686000 r-xp 00000000 09:00 1076971 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b4686000-b469d000 r-xs 00000000 09:00 1906405 /var/lib/aspell/en_US-wo_accents-only.rws
b469d000-b4925000 r-xs 00000000 09:00 1906394 /var/lib/aspell/en-common.rws
b4927000-b4928000 r-xp 00000000 09:00 815182 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b4928000-b4929000 rwxp 00000000 09:00 815182 ...

Read more...

Revision history for this message
Skout23 (scott-sm) wrote :
Download full text (8.2 KiB)

Still not working... even tried stopping the app-armor stuff.

$ pidgin
*** stack smashing detected ***: pidgin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7641138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb76410f0]
/usr/lib/purple-2/libjabber.so.0[0xb6522c44]
/usr/lib/purple-2/libjabber.so.0[0xb64fc524]
/usr/lib/purple-2/libjabber.so.0(jabber_iq_parse+0xfa)[0xb6509aff]
/usr/lib/purple-2/libjabber.so.0(jabber_process_packet+0x89)[0xb650a57d]
/usr/lib/purple-2/libjabber.so.0[0xb65160a1]
/usr/lib/libxml2.so.2[0xb745af34]
/usr/lib/libxml2.so.2(xmlParseChunk+0x589)[0xb74677b9]
/usr/lib/purple-2/libjabber.so.0(jabber_parser_process+0x9d)[0xb6516224]
/usr/lib/purple-2/libjabber.so.0[0xb650b00f]
/usr/lib/libpurple.so.0[0xb7851a3e]
pidgin[0x80abca3]
/usr/lib/libglib-2.0.so.0[0xb774cc5d]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x178)[0xb7718bf8]
/usr/lib/libglib-2.0.so.0[0xb771be5e]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb771c1e7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7bda244]
pidgin(main+0xbbc)[0x80c70d5]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb756a450]
pidgin[0x806c821]
======= Memory map: ========
08048000-08115000 r-xp 00000000 09:00 737788 /usr/bin/pidgin
08115000-08118000 rw-p 000cc000 09:00 737788 /usr/bin/pidgin
08118000-08599000 rw-p 08118000 00:00 0 [heap]
b43a5000-b4405000 rw-s 00000000 00:09 5177369 /SYSV00000000 (deleted)
b4405000-b4465000 rw-s 00000000 00:09 5144599 /SYSV00000000 (deleted)
b4465000-b4484000 r-xp 00000000 09:00 737683 /usr/lib/libjpeg.so.62.0.0
b4484000-b4485000 rw-p 0001e000 09:00 737683 /usr/lib/libjpeg.so.62.0.0
b4495000-b4499000 r-xp 00000000 09:00 815623 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b4499000-b449a000 rw-p 00003000 09:00 815623 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b449a000-b459e000 rw-p b449a000 00:00 0
b459e000-b4625000 r--p 00000000 09:00 1076971 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b4625000-b463c000 r--s 00000000 09:00 1906405 /var/lib/aspell/en_US-wo_accents-only.rws
b463c000-b48c4000 r--s 00000000 09:00 1906394 /var/lib/aspell/en-common.rws
b48c8000-b49cc000 rw-p b48c8000 00:00 0
b49cc000-b49ce000 r-xp 00000000 09:00 814993 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b49ce000-b49cf000 rw-p 00001000 09:00 814993 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b49cf000-b4a60000 r--p 00000000 09:00 1076970 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b4a60000-b4a66000 r--s 00000000 09:00 1889891 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b4a66000-b4a69000 r--s 00000000 09:00 1889883 /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b4a69000-b4a6d000 r--s 00000000 09:00 1889880 /var/cache/fontconfig/921a30a17f0be15c70ac14043cb7a739-x86.cache-2
b4a6d000-b4a70000 r--s 00000000 09:00 1889867 /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b4a70000-b4a77000 r--s 00000000 09:00 1889860 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b4a77000-b4a7a000 r--s 00000000 09:00 1889857 /var/cache...

Read more...

Revision history for this message
Bamaco (bamaco) wrote :
Download full text (6.2 KiB)

I have got the same problem.

Just upgraded from Ubuntu 7.08 to 8.04 and pidgin doesn't even starts, giving me this error :

$ pidgin
*** stack smashing detected ***: pidgin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb765e138]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb765e0f0]
/usr/lib/purple-2/libjabber.so.0[0xb5b01c44]
/usr/lib/purple-2/libjabber.so.0[0xb5adb524]
/usr/lib/purple-2/libjabber.so.0(jabber_iq_parse+0xfa)[0xb5ae8aff]
/usr/lib/purple-2/libjabber.so.0(jabber_process_packet+0x89)[0xb5ae957d]
/usr/lib/purple-2/libjabber.so.0[0xb5af50a1]
/usr/lib/libxml2.so.2[0xb7477f34]
/usr/lib/libxml2.so.2(xmlParseChunk+0x589)[0xb74847b9]
/usr/lib/purple-2/libjabber.so.0(jabber_parser_process+0x9d)[0xb5af5224]
/usr/lib/purple-2/libjabber.so.0[0xb5aea00f]
/usr/lib/libpurple.so.0[0xb786ea3e]
pidgin[0x80abca3]
/usr/lib/libglib-2.0.so.0[0xb7769c5d]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x178)[0xb7735bf8]
/usr/lib/libglib-2.0.so.0[0xb7738e5e]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb77391e7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7bf7264]
pidgin(main+0xbbc)[0x80c70d5]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7587450]
pidgin[0x806c821]
======= Memory map: ========
08048000-08115000 r-xp 00000000 08:01 11292944 /usr/bin/pidgin
08115000-08118000 rw-p 000cc000 08:01 11292944 /usr/bin/pidgin
08118000-0873c000 rw-p 08118000 00:00 0 [heap]
b37e7000-b37f6000 r-xp 00000000 08:01 8323108 /lib/libbz2.so.1.0.4
b37f6000-b37f7000 rw-p 0000f000 08:01 8323108 /lib/libbz2.so.1.0.4
b37f7000-b3856000 r-xp 00000000 08:01 10553879 /usr/lib/libgio-2.0.so.0.0.0
b3856000-b3858000 rw-p 0005e000 08:01 10553879 /usr/lib/libgio-2.0.so.0.0.0
b3858000-b388a000 r-xp 00000000 08:01 10553318 /usr/lib/libcroco-0.6.so.3.0.1
b388a000-b388d000 rw-p 00031000 08:01 10553318 /usr/lib/libcroco-0.6.so.3.0.1
b388d000-b38bd000 r-xp 00000000 08:01 10551350 /usr/lib/libgsf-1.so.114.0.7
b38bd000-b38c0000 rw-p 0002f000 08:01 10551350 /usr/lib/libgsf-1.so.114.0.7
b38c0000-b38c1000 rw-p b38c0000 00:00 0
b38c1000-b38f1000 r-xp 00000000 08:01 10553157 /usr/lib/librsvg-2.so.2.22.2
b38f1000-b38f2000 rw-p 00030000 08:01 10553157 /usr/lib/librsvg-2.so.2.22.2
b3908000-b3909000 r-xp 00000000 08:01 10600535 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b3909000-b390a000 rw-p 00000000 08:01 10600535 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b390a000-b396a000 rw-s 00000000 00:09 2097180 /SYSV00000000 (deleted)
b396a000-b3a6e000 rw-p b396a000 00:00 0
b3a6e000-b3af5000 r--p 00000000 08:01 196636 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b3af5000-b3b0c000 r--s 00000000 08:01 7340319 /var/lib/aspell/en_US-wo_accents-only.rws
b3b0c000-b3d94000 r--s 00000000 08:01 7340307 /var/lib/aspell/en-common.rws
b3d94000-b3e98000 rw-p b3d94000 00:00 0
b3e98000-b3e9a000 r-xp 00000000 08:01 10682391 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b3e9a000-b3e9b000 rw-p 00001000 08:01 10682391 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b3e9b000-b3f2c000 r--p 00000000 08:01 196635 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b3f2c000-b3...

Read more...

Changed in pidgin:
status: Incomplete → Confirmed
Revision history for this message
Bamaco (bamaco) wrote :

It seems to be active for an xmpp session, when trying to use the "plaintext auth over unencrypted streams" AND the "Force old (port 5223) SSL" in the tab "Advanced" for a XMPP account.

This is strange since this exact configuration worked and was required by some servers.

Furthermore, I'm not with the Beta but with the standard version brought with Ubuntu 8.04 in the last release.

$ pidgin --v
Pidgin 2.4.1

Revision history for this message
Bamaco (bamaco) wrote :

For information, the settings for this account that make pidgin badly crash are as follow :

[quote]
[...]
  <settings>
   <setting name='use-global-buddyicon' type='bool'>1</setting>
   <setting name='require_tls' type='bool'>0</setting>
   <setting name='check-mail' type='bool'>0</setting>
   <setting name='connect_server' type='string'>ichat.lip6.fr</setting>
   <setting name='old_ssl' type='bool'>1</setting>
   <setting name='auth_plain_in_clear' type='bool'>1</setting>
   <setting name='port' type='int'>5223</setting>
  </settings>
  <settings ui='gtk-gaim'>
   <setting name='auto-login' type='bool'>0</setting>
  </settings>
[/quote]

Revision history for this message
jkeegan (jkeegan) wrote :

Add me in the "me too" category.. Upgraded from Ubuntu 7.10 to 8.04 and now pidgin dies with the same error/stacktrace as above. I do have a company-internal jabber server account on my list of accounts, as was mentioned above, and I also used the "Force old (port 5223) SSL" option.

Revision history for this message
Steven McCoy (dsbunny) wrote :

Same problem configured with XMPP to a Mac OS X 10.5.2 iChat server, with default XMPP protocol settings.

The version in Gutsy works fine (1:2.2.1-1ubuntu4.1).

Revision history for this message
jkeegan (jkeegan) wrote :

I'd like to humbly disagree with the Importance ranking of "Low" on this bug. Lack of communication with my company's internal jabber server is directly affecting my day to day work, which must be the case with countless others as well. I'm at the point where I'm going to downgrade just to get back to a working configuration.

Revision history for this message
ahoffman (ahoffman) wrote :

The problem looks pretty straightforward.

In libpurple/protocols/jabber/auth.c,

static void auth_old_cb(JabberStream *js, xmlnode *packet, gpointer data)

...

   const char *challenge;
   guchar digest[16];
   char h[17], *p;
   int i;

...

   p = h;
   for(i=0; i<16; i++, p+=2)
    snprintf(p, 3, "%02x", digest[i]);

In the above snippet, change h[17] to h[33] and all is well...

Attaching a patch (against pidgin-2.4.1 in hardy) that resolves the issue for me.

Revision history for this message
Rusty Burchfield (gicodewarrior) wrote :

I experience this problem with the force old SSL or the allow plain-text over unencrypted options.

The patch above fixes it for me. Attached is a deb package to replace libpurple0 on 64-bit that includes the patch.

Revision history for this message
Rusty Burchfield (gicodewarrior) wrote :

Sorry, I meant to say "I experience this problem without the force old SSL or the allow plain-text over unencrypted options."

Revision history for this message
Rusty Burchfield (gicodewarrior) wrote :

Here is a package for i386 with the patch applied.

Revision history for this message
Rusty Burchfield (gicodewarrior) wrote :

Works fine now in version 1:2.4.3-0ubuntu1~hardy1.

Changed in pidgin:
status: Confirmed → Fix Released
Revision history for this message
Michael A. Phillips (maphilli14) wrote :

any chance at a patch for Jaunty?

Revision history for this message
ahoffman (ahoffman) wrote :

I pulled down what I think is the source for Jaunty (pidgin_2.5.5 plus ubuntu-specific diff patch) and looking at the code, it appears to use the (later) rewritten/reorganized authentication code (yay!)

If you're seeing the same symptoms, my guess is that maybe it's a different root cause this time. If you can capture the issues you're seeing in a new bug against pidgin 2.5.5, maybe that's the best way to pursue a fix.

I'm afraid I'm unable to help - we stopped using the Jabber (OS X) server that required the "Force old SSL" switch to be set which subsequently crashed Pidgin. Using "standard" SSL/TLS on our new server is working fine for me.

Revision history for this message
Michael A. Phillips (maphilli14) wrote :

Thanks! I appreciate having this info as we're all to quick to dismiss a similar bug as having the same root cause, which does not seem to be the case here!

Thanks much!

Mike

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.