[Telepathy] [Bug 14341] New: Gabble blocked on recv() when creating a jabber account with SSL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 2 16:55:54 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14341

           Summary: Gabble blocked on recv() when creating a jabber account
                    with SSL
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-gabble
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: muadda at gmail.com


I try to create a new Jabber account with Empathy and Gabble is blocked with
this stack:

(gdb) bt
#0  0x00002b5719b4f885 in recv () from /lib/libc.so.6
#1  0x00002b571a01301a in ?? () from /usr/lib/libgnutls.so.13
#2  0x00002b571a0133ca in _gnutls_io_read_buffered ()
   from /usr/lib/libgnutls.so.13
#3  0x00002b571a01046a in _gnutls_recv_int () from /usr/lib/libgnutls.so.13
#4  0x00002b571a012956 in _gnutls_handshake_io_recv_int ()
   from /usr/lib/libgnutls.so.13
#5  0x00002b571a016d79 in _gnutls_recv_handshake ()
   from /usr/lib/libgnutls.so.13
#6  0x00002b571a017cc9 in _gnutls_handshake_client ()
   from /usr/lib/libgnutls.so.13
#7  0x00002b571a0181df in gnutls_handshake () from /usr/lib/libgnutls.so.13
#8  0x00002b5718cca6a9 in _lm_ssl_begin () from /usr/lib/libloudmouth-1.so.0
#9  0x00002b5718cc7bd3 in _lm_connection_succeeded ()
   from /usr/lib/libloudmouth-1.so.0
#10 0x00002b5718cc7ffc in ?? () from /usr/lib/libloudmouth-1.so.0
#11 0x00002b57197defd3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#12 0x00002b57197e22dd in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00002b57197e25ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0x00002b5718eee7ef in tp_run_connection_manager (
    prog_name=<value optimized out>, version=0x44f9c1 "0.7.2", 
    construct_cm=0x40dbd0 <tp_svc_channel_get_type at plt+344>, 
---Type <return> to continue, or q <return> to quit---
    argc=<value optimized out>, argv=<value optimized out>) at run.c:235
#15 0x00002b5719a98b44 in __libc_start_main () from /lib/libc.so.6
#16 0x000000000040dab9 in ?? ()
#17 0x00007fff92005728 in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb) c
Continuing.

I cannot chat with other Jabber account since Gabble is blocked. Restarting
Empathy does not help because Gabble is still blocked.

According to strace+netstat, Gabble waits some bytes from the Jabber server and
this tcp connection is established.

There is maybe 2 problems here:
1/ the jabber server sends nothing and Gabble want to receive something. I
don't know if this is a bug from the server or the client.
2/ Gabble do not use non-blocking socket. If the server is bogus, using
blocking socket will prevent the user to chat with contacts on other Jabber
accounts.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list