Bug 15810 - в pidgin перестал работать ssl
Summary: в pidgin перестал работать ssl
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: pidgin (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Arseny Maslennikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 15403
  Show dependency tree
 
Reported: 2008-05-28 02:41 MSD by Igor Zubkov
Modified: 2008-07-12 01:28 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Zubkov 2008-05-28 02:41:26 MSD
После обновления gnutls до 2.0.4-alt2 перестал работать ssl в pidgin вот с такой
руганью:
(01:37:23) gnutls: receive failed: Decryption has failed.
(01:37:23) gnutls: receive failed: The specified session has been invalidated
for some reason.
Comment 1 Igor Zubkov 2008-05-28 21:32:31 MSD
Я пересобрал pidgin с отключённым gnutls и всключённым nss/nspr. XMPP заработал,
но начал падать.

http://developer.pidgin.im/ticket/5942
Comment 2 Igor Zubkov 2008-05-28 21:34:35 MSD
Как оказалось, всё намного хуже. При попытке просто выключить аккаунт,
(пересобранный pidgin без gnutls, но с nss/nspr) улетает в космос^Wsegfault с
вот таким трейсом:
$ LANG=C pidgin 
*** glibc detected *** pidgin: munmap_chunk(): invalid pointer: 0x08b0d1e0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb75d8082]
/lib/libglib-2.0.so.0(g_free+0x31)[0xb77bf831]
/usr/lib/purple-2/libjabber.so.0(jabber_close+0x26e)[0xb62f067e]
/usr/lib/libpurple.so.0(purple_connection_destroy+0xc3)[0xb76f0dc3]
/usr/lib/libpurple.so.0(purple_account_disconnect+0x63)[0xb76db373]
/usr/lib/libpurple.so.0(purple_connections_disconnect_all+0x28)[0xb76f01e8]
/usr/lib/libpurple.so.0(purple_core_quit+0x3e)[0xb76f7f5e]
/usr/lib/libgtk-x11-2.0.so.0[0xb7afef51]
/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb7865b39]
/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb78587a2]
/lib/libgobject-2.0.so.0[0xb7868d33]
/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb786a1e7]
/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb786a3a9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0xab)[0xb7c7d86d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0x1bd)[0xb7b34217]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b32f2d]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b2847f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b1e66d]
/lib/libgobject-2.0.so.0[0xb7856f99]
/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb78587a2]
/lib/libgobject-2.0.so.0[0xb786938b]
/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6a2)[0xb7869fc2]
/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb786a3a9]
/usr/lib/libgtk-x11-2.0.so.0[0xb7c7d76c]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_event+0x108)[0xb7c7d2b8]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x263)[0xb7b1cd4d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2fd)[0xb7b1b8b8]
/usr/lib/libgdk-x11-2.0.so.0[0xb796b9ea]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x163)[0xb77b7d93]
/lib/libglib-2.0.so.0[0xb77baf83]
/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0xb77bb2d7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xe8)[0xb7b1afc7]
pidgin(main+0x76f)[0x80bb92f]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb758b0ec]
pidgin[0x8069af1]
======= Memory map: ========
08048000-08102000 r-xp 00000000 03:02 1848161    /usr/bin/pidgin
08102000-08105000 rwxp 000ba000 03:02 1848161    /usr/bin/pidgin
08105000-08e87000 rwxp 08105000 00:00 0          [heap]
b5413000-b5443000 rwxs 00000000 00:08 4456469    /SYSV00000000 (deleted)
b5443000-b544e000 r-xp 00000000 03:02 540467    
/usr/share/fonts/type1/dmtr40in/XSS-I__2.pfb
b544e000-b546c000 r-xp 00000000 03:02 1847038    /usr/lib/libjpeg.so.62.0.0
b546c000-b546d000 rwxp 0001d000 03:02 1847038    /usr/lib/libjpeg.so.62.0.0
b5492000-b5494000 rwxp b5492000 00:00 0 
b5494000-b549a000 r-xp 00000000 03:02 1452510   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so
b549a000-b549b000 rwxp 00005000 03:02 1452510   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so
b549b000-b54fb000 rwxs 00000000 00:08 4423695    /SYSV00000000 (deleted)
b54fb000-b5584000 r-xp 00000000 03:02 1929440   
/usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf
b5584000-b558f000 r-xp 00000000 03:02 1991712   
/usr/share/fonts/type1/dmtr40in/XSS-B__2.pfb
b558f000-b55a6000 r-xs 00000000 03:02 1930663   
/usr/lib/aspell/en_GB-ise-wo_accents-only.rws
b55a6000-b55bd000 r-xs 00000000 03:02 1933069   
/usr/lib/aspell/en_US-wo_accents-only.rws
b55bd000-b5845000 r-xs 00000000 03:02 1927686    /usr/lib/aspell/en-common.rws
b5845000-b586c000 r-xp 00000000 03:02 1991430   
/usr/lib/enchant/libenchant_myspell.so
b586c000-b587d000 rwxp 00026000 03:02 1991430   
/usr/lib/enchant/libenchant_myspell.so
b587d000-b5888000 r-xp 00000000 03:02 1991429   
/usr/lib/enchant/libenchant_ispell.so
b5888000-b5889000 rwxp 0000b000 03:02 1991429   
/usr/lib/enchant/libenchant_ispell.so
b5889000-b591e000 r-xp 00000000 03:02 1929444   
/usr/share/fonts/ttf/dejavu/DejaVuSans.ttf
b591e000-b5920000 r-xp 00000000 03:02 2009480   
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b5920000-b5921000 rwxp 00001000 03:02 2009480   
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b5921000-b592c000 r-xp 00000000 03:02 540474    
/usr/share/fonts/type1/dmtr40in/XSS-R__2.pfb
b592c000-b5932000 r-xs 00000000 03:02 1687963   
/var/cache/fontconfig/4f70f4f1f809aff504a916f761d89035-x86.cache-2
b5932000-b5933000 r-xs 00000000 03:02 1687962   
/var/cache/fontconfig/11542eed80fc875fac6eb62e351774e3-x86.cache-2
b5933000-b596e000 r-xs 00000000 03:02 1687961   
/var/cache/fontconfig/3e306e0002aaf321b119e63228f782e2-x86.cache-2
b596e000-b59aa000 r-xs 00000000 03:02 1685985   
/var/cache/fontconfig/becf641f2ee47821cb7dd8d0c678dc0d-x86.cache-2
b59aa000-b59ba000 r-xp 00000000 03:02 1517994    /lib/libbz2.so.1.0.3
b59ba000-b59bb000 rwxp 00010000 03:02 1517994    /lib/libbz2.so.1.0.3
b59bb000-b5a17000 r-xp 00000000 03:02 1518230    /lib/libgio-2.0.so.0.0.0
b5a17000-b5a19000 rwxp 0005c000 03:02 1518230    /lib/libgio-2.0.so.0.0.0
b5a19000-b5a4c000 r-xp 00000000 03:02 1849485    /usr/lib/libcroco-0.6.so.3.0.1
b5a4c000-b5a4f000 rwxp 00032000 03:02 1849485    /usr/lib/libcroco-0.6.so.3.0.1
b5a4f000-b5a7e000 r-xp 00000000 03:02 1856853    /usr/lib/libgsf-1.so.114.0.8
b5a7e000-b5a81000 rwxp 0002e000 03:02 1856853    /usr/lib/libgsf-1.so.114.0.8
b5a81000-b5a82000 rwxp b5a81000 00:00 0 
b5a82000-b5ab2000 r-xp 00000000 03:02 1847318    /usr/lib/librsvg-2.so.2.22.2
b5ab2000-b5ab3000 rwxp 00030000 03:02 1847318    /usr/lib/librsvg-2.so.2.22.2
b5ab3000-b5ab4000 rwxp b5ab3000 00:00 0 
b5ab4000-b5ab8000 r-xp 00000000 03:02 1452595   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b5ab8000-b5ab9000 rwxp 00003000 03:02 1452595   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
b5ab9000-b5abc000 rwxp b5ab9000 00:00 0 
b5abd000-b5abf000 r-xp 00000000 03:02 1991428   
/usr/lib/enchant/libenchant_aspell.so
b5abf000-b5ac0000 rwxp 00001000 03:02 1991428   
/usr/lib/enchant/libenchant_aspell.so
b5ac0000-b5ac5000 r-xs 00000000 03:02 1687951   
/var/cache/fontconfig/15c0dee3e078bddec66f56eb4cdc63c1-x86.cache-2
b5ac5000-b5ac7000 r-xs 00000000 03:02 1686750   
/var/cache/fontconfig/602676315df2200a099db7aa99c430ab-x86.cache-2
b5ac7000-b5aca000 r-xs 00000000 03:02 1686748   
/var/cache/fontconfig/485a1f8355cd8a8a4650b1393993d618-x86.cache-2
b5aca000-b5ad1000 r-xs 00000000 03:02 1686302   
/var/cache/fontconfig/b21b32016269415eda92fbbbd5a18fed-x86.cache-2
b5ad1000-b5ae1000 r-xs 00000000 03:02 1686710   
/var/cache/fontconfig/05bfe6c0ea901d2d6593adc07dfde765-x86.cache-2
b5ae1000-b5ae2000 r-xp 00000000 03:02 1912283   
/usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b5ae2000-b5ae3000 rwxp 00000000 03:02 1912283   
/usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b5ae3000-b61fa000 r-xp 00000000 03:02 1884195   
/usr/share/icons/hicolor/icon-theme.cache
b61fa000-b61fe000 r-xp 00000000 03:02 1452597   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b61fe000-b61ff000 rwxp 00003000 03:02 1452597   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b61ff000-b623e000 r-xp 00000000 03:02 1850334    /usr/lib/libfreebl3.so
b623e000-b623f000 rwxp 0003f000 03:02 1850334    /usr/lib/libfreebl3.so
b623f000-b6260000 r-xp 00000000 03:02 1850542    /usr/lib/libsmime3.so
b6260000-b6262000 rwxp 00021000 03:02 1850542    /usr/lib/libsmime3.so
b6262000-b628a000 r-xp 00000000 03:02 1916774   
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b628a000-b628b000 rwxp 00027000 03:02 1916774   
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b628b000-b628d000 r-xp 00000000 03:02 1881457    /usr/lib/purple-2/statenotify.so
b628d000-b628e000 rwxp 00001000 03:02 1881457    /usr/lib/purple-2/statenotify.so
b628e000-b628f000 r-xp 00000000 03:02 1881429    /usr/lib/purple-2/ssl.so
b628f000-b6290000 rwxp 00000000 03:02 1881429    /usr/lib/purple-2/ssl.so
b6290000-b6293000 r-xp 00000000 03:02 1881428    /usr/lib/purple-2/ssl-nss.so
b6293000-b6294000 rwxp 00002000 03:02 1881428    /usr/lib/purple-2/ssl-nss.so
b6294000-b6296000 r-xp 00000000 03:02 1881426    /usr/lib/purple-2/psychic.so
b6296000-b6297000 rwxp 00001000 03:02 1881426    /usr/lib/purple-2/psychic.so
b6297000-b6299000 r-xp 00000000 03:02 1881425    /usr/lib/purple-2/offlinemsg.so
b6299000-b629a000 rwxp 00001000 03:02 1881425    /usr/lib/purple-2/offlinemsg.so
b629a000-b62d1000 r-xp 00000000 03:02 1881388    /usr/lib/purple-2/libyahoo.so
b62d1000-b62d3000 rwxp 00037000 03:02 1881388    /usr/lib/purple-2/libyahoo.so
b62d3000-b6305000 r-xp 00000000 03:02 1880841   
/usr/lib/purple-2/libjabber.so.0.0.0
b6305000-b6306000 rwxp 00032000 03:02 1880841   
/usr/lib/purple-2/libjabber.so.0.0.0
b6306000-b6309000 rwxp b6306000 00:00 0 
b6309000-b631c000 r-xp 00000000 03:02 1881389    /usr/lib/purple-2/libzephyr.so
b631c000-b631d000 rwxp 00013000 03:02 1881389    /usr/lib/purple-2/libzephyr.so
b631d000-b6320000 rwxp b631d000 00:00 0 
b6320000-b634a000 r-xp 00000000 03:02 1881381    /usr/lib/purple-2/libqq.so
b634a000-b634b000 rwxp 00029000 03:02 1881381    /usr/lib/purple-2/libqq.so
b634b000-b6355000 r-xp 00000000 03:02 1881382    /usr/lib/purple-2/libsimple.so
b6355000-b6356000 rwxp 00009000 03:02 1881382    /usr/lib/purple-2/libsimple.so
b6356000-b6366000 rwxp b6356000 00:00 0 
b6366000-b638f000 r-xp 00000000 03:02 1881374    /usr/lib/purple-2/libmsn.so
b638f000-b6390000 rwxp 00028000 03:02 1881374    /usr/lib/purple-2/libmsn.so
b6390000-b6393000 rwxp b6390000 00:00 0 
b6393000-b63a8000 r-xp 00000000 03:02 1881375    /usr/lib/purple-2/libmyspace.so
b63a8000-b63a9000 rwxp 00015000 03:02 1881375    /usr/lib/purple-2/libmyspace.so
b63a9000-b63aa000 rwxp b63a9000 00:00 0 
b63aa000-b63c5000 r-xp 00000000 03:02 1844751    /usr/lib/libgadu.so.3.9.0
b63c5000-b63c6000 rwxp 0001b000 03:02 1844751    /usr/lib/libgadu.so.3.9.0
b63c6000-b63c7000 r-xp 00000000 03:02 1881427    /usr/lib/purple-2/ssl-gnutls.so
b63c7000-b63c8000 rwxp 00000000 03:02 1881427    /usr/lib/purple-2/ssl-gnutls.so
b63c8000-b63e0000 r-xp 00000000 03:02 1881376    /usr/lib/purple-2/libnovell.so
b63e0000-b63e1000 rwxp 00018000 03:02 1881376    /usr/lib/purple-2/libnovell.so
b63e1000-b63f3000 r-xp 00000000 03:02 1880707    /usr/lib/purple-2/libirc.so
b63f3000-b63f4000 rwxp 00011000 03:02 1880707    /usr/lib/purple-2/libirc.so
b63f4000-b6431000 r-xp 00000000 03:02 1881380    /usr/lib/purple-2/liboscar.so.0.0.0
b6431000-b6433000 rwxp 0003Аварийный останов
$ 
Comment 3 Evgenii Terechkov 2008-06-01 12:25:40 MSD
*** Fatal error: Decryption has failed.
*** Server has terminated the connection abnormally.
Comment 4 Evgenii Terechkov 2008-06-01 12:27:44 MSD
Тьфу... я хотел сказать, этим сообщением (см. выше) у меня плюёт gnutls-cli,
запускаемый из емакса (jabber-клиент jabber.el запускает) при попытке
подключения к altlinux.org с STARTTLS.
Comment 5 ildar 2008-07-01 09:02:37 MSD
можно сделать проще: убрать /usr/lib/purple-2/ssl-gnutls.so
Правда, после этого MSN отвалалился :-)
Comment 6 Alexey Shabalin 2008-07-02 18:11:55 MSD
pidgin собрал с nss, gnutls выключен.(sasl тоже выключен). У меня работает. Будут проблемы, переоткрывайте баг.

PS: там в спеке ещё ошибка была, включение/выключение через %def_enable перепутаны между собой у sasl и nss