[Pidgin] #9198: pidgin crashes when xmpp enabled

Pidgin trac at pidgin.im
Tue May 19 14:01:16 EDT 2009


#9198: pidgin crashes when xmpp enabled
--------------------+-------------------------------------------------------
 Reporter:  edwin   |        Owner:  deryni   
     Type:  defect  |       Status:  closed   
Milestone:          |    Component:  XMPP     
  Version:          |   Resolution:  duplicate
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by deryni):

  * status:  new => closed
  * resolution:  => duplicate


Old description:

> I checked out im.pidgin.pidgin.vv  as described here:
>  http://developer.pidgin.im/wiki/UsingPidginMonotone
> http://developer.pidgin.im/wiki/vv
>
> It starts up fine, however as soon as I enable an XMPP account (my gmail
> account), and accepting the certificate it crashes.
> I tried starting up pidgin again, but now it crashes when it attempts to
> connect to the XMPP account.
>
> Here is the revision:
> o   -----------------------------------------------------------------
> |   Revision: 3df79459a6fe1d0e9b3b0ac81ff42391c6d519ef
> |   Ancestor: 2f4273f67a5548952bb40633ddb3e6105529606a
> |   Author: maiku at soc.pidgin.im
> |   Date: 2009-04-03T08:17:22
> |   Branch: im.pidgin.pidgin
> |   Branch: im.pidgin.pidgin.vv
> |
> |   Modified files:
> |           ChangeLog ChangeLog.API
>
> Here is the backtrace:
> (gdb) bt full
> #0  0x00007f929d92e1f0 in ?? ()
> No symbol table info available.
> #1  0x0000003b10e34844 in __xmlRaiseError () from /usr/lib/libxml2.so.2
> No symbol table info available.
> #2  0x0000003b10e38cf5 in ?? () from /usr/lib/libxml2.so.2
> No symbol table info available.
> #3  0x0000003b10e4dbe3 in xmlParseChunk () from /usr/lib/libxml2.so.2
> No symbol table info available.
> #4  0x00007f92a00d08cb in jabber_parser_free (js=0x1ec9280) at
> parser.c:212
> No locals.
> #5  0x00007f92a00c4515 in jabber_stream_init (js=0x1ec9280) at
> jabber.c:83
> No locals.
> #6  0x00007f92a00c5805 in jabber_login_callback_ssl (data=0x1eca3d0,
> gsc=0x2f48490, cond=<value optimized out>) at jabber.c:581
>         js = (JabberStream *) 0x1ec9280
> #7  0x00007f92ac680657 in purple_certificate_verify_complete
> (vrq=0x235c540, st=PURPLE_CERTIFICATE_VALID) at certificate.c:105
>         __PRETTY_FUNCTION__ = "purple_certificate_verify_complete"
> #8  0x00007f92ac680eb2 in x509_tls_cached_start_verify (vrq=0x235c540) at
> certificate.c:1273
>         tls_peers = <value optimized out>
>         __PRETTY_FUNCTION__ = "x509_tls_cached_start_verify"
> #9  0x00007f92a36223eb in ssl_gnutls_handshake_cb (data=0x2f48490,
> source=<value optimized out>, cond=PURPLE_INPUT_READ)
>     at ssl-gnutls.c:232
>         peers = (GList *) 0x1a85d80
>         ops = (PurpleSslOps *) 0x17b0350
>         peers = (GList *) 0x2f3b7a0
>         x509 = (PurpleCertificateScheme *) 0x7fffb52c9eb0
>         l = (GList *) 0x1
>         gnutls_data = (PurpleSslGnutlsData *) 0x7fffb52ca0b8
>         ret = <value optimized out>
> #10 0x000000000046ddae in pidgin_io_invoke (source=<value optimized out>,
> condition=<value optimized out>,
>     data=<value optimized out>) at gtkeventloop.c:78
> #11 0x0000003b0d439f7a in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #12 0x0000003b0d43d640 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #13 0x0000003b0d43db0d in g_main_loop_run () from
> /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #14 0x0000003b14935727 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> No symbol table info available.
> #15 0x00000000004854df in main (argc=1, argv=0x7fffb52cc6b8) at
> gtkmain.c:893
>         opt_force_online = 0
>         opt_help = <value optimized out>
>         opt_login = 0
>         opt_nologin = 0
>         opt_version = <value optimized out>
>         opt_si = 1
>         opt_config_dir_arg = 0x0
>         opt_login_arg = 0x0
>         opt_session_arg = 0x0
>         accounts = <value optimized out>
>         sigset = {__val = {82951, 0 <repeats 15 times>}}
>         prev_sig_disp = (void (*)(int)) 0x17b0350
>         errmsg =
> "\000\000\000\000\000\000\000\000\020�,��\177\000\000\200�,��\177\000\0008\000\000\000\000\000\000\000�\035h\n;",
> '\0' <repeats 11 times>, "��٬\222\177\000\000=�`\b;", '\0' <repeats 19
> times>,
> "�lb�\222\177\000\000��`\b;\000\000\000�\t��\222\177\000\000�I\224�\222\177\000\000\0000\224�\222\177\000\000�4\224�\222\177\000\000�\004��\222\177\000\000��٬\222\177\000\000����\222\177\000\000\000@\224�\222\177\000\000�D\224�\222\177\000\000��b�\222\177\000\000\000\000\000\000\000\000\000\0008\000\000\000\000\000\000\000�\035h\n;",
> '\0' <repeats 11 times>, "���"...
>         error = (GError *) 0x0
>         opt = <value optimized out>
> gui_check = <value optimized out>
>         debug_enabled = <value optimized out>
>         migration_failed = <value optimized out>
>         active_accounts = <value optimized out>
>         long_options = {{name = 0x4cfb82 "config", has_arg = 1, flag =
> 0x0, val = 99}, {name = 0x4bbbc0 "debug", has_arg = 0,
>     flag = 0x0, val = 100}, {name = 0x4cad9b "force-online", has_arg = 0,
> flag = 0x0, val = 100}, {name = 0x4beee5 "help",
>     has_arg = 0, flag = 0x0, val = 104}, {name = 0x4bb975 "login",
> has_arg = 2, flag = 0x0, val = 108}, {
>     name = 0x4cada8 "multiple", has_arg = 0, flag = 0x0, val = 109},
> {name = 0x4cadb1 "nologin", has_arg = 0, flag = 0x0,
>     val = 110}, {name = 0x4cfb78 "session", has_arg = 1, flag = 0x0, val
> = 115}, {name = 0x4c1e41 "version", has_arg = 0,
>     flag = 0x0, val = 118}, {name = 0x4cfb8b "display", has_arg = 1, flag
> = 0x0, val = 68}, {name = 0x4cadb9 "sync", has_arg = 0,
>     flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0, val =
> 0}}
>
> This is the end of pidgin:
> (20:51:22) oscar: MOTD: Unknown (5)
> (20:51:23) gnutls: Handshake complete
> (20:51:23) gnutls/x509: Key print:
> 9f:f8:3b:da:2c:a3:12:55:24:d5:b9:d6:fc:49:69:8f:0a:91:d8:cd
> (20:51:23) gnutls: Peer provided 1 certs
> (20:51:23) gnutls: Lvl 0 SHA1 fingerprint:
> 9f:f8:3b:da:2c:a3:12:55:24:d5:b9:d6:fc:49:69:8f:0a:91:d8:cd
> (20:51:23) gnutls: Serial: 07:3f:92
> (20:51:23) gnutls: Cert DN: C=US,ST=California,L=Mountain View,O=Google
> Inc.,CN=gmail.com
> (20:51:23) gnutls: Cert Issuer DN: C=US,O=Equifax,OU=Equifax Secure
> Certificate Authority
> (20:51:23) certificate/x509/tls_cached: Starting verify for
> talk.google.com
> (20:51:23) certificate/x509/tls_cached: Checking for cached cert...
> (20:51:23) certificate/x509/tls_cached: ...Found cached cert
> (20:51:23) gnutls: Attempting to load X.509 certificate from
> /home/edwin/.purple/certificates/x509/tls_peers/talk.google.com
> (20:51:23) certificate/x509/tls_cached: Peer cert matched cached
> (20:51:23) certificate: Successfully verified certificate for
> talk.google.com

New description:

 I checked out im.pidgin.pidgin.vv  as described here:
  http://developer.pidgin.im/wiki/UsingPidginMonotone
 http://developer.pidgin.im/wiki/vv

 It starts up fine, however as soon as I enable an XMPP account (my gmail
 account), and accepting the certificate it crashes.
 I tried starting up pidgin again, but now it crashes when it attempts to
 connect to the XMPP account.

 Here is the revision:
 {{{
 o   -----------------------------------------------------------------
 |   Revision: 3df79459a6fe1d0e9b3b0ac81ff42391c6d519ef
 |   Ancestor: 2f4273f67a5548952bb40633ddb3e6105529606a
 |   Author: maiku at soc.pidgin.im
 |   Date: 2009-04-03T08:17:22
 |   Branch: im.pidgin.pidgin
 |   Branch: im.pidgin.pidgin.vv
 |
 |   Modified files:
 |           ChangeLog ChangeLog.API
 }}}

 Here is the backtrace:
 {{{
 (gdb) bt full
 #0  0x00007f929d92e1f0 in ?? ()
 No symbol table info available.
 #1  0x0000003b10e34844 in __xmlRaiseError () from /usr/lib/libxml2.so.2
 No symbol table info available.
 #2  0x0000003b10e38cf5 in ?? () from /usr/lib/libxml2.so.2
 No symbol table info available.
 #3  0x0000003b10e4dbe3 in xmlParseChunk () from /usr/lib/libxml2.so.2
 No symbol table info available.
 #4  0x00007f92a00d08cb in jabber_parser_free (js=0x1ec9280) at
 parser.c:212
 No locals.
 #5  0x00007f92a00c4515 in jabber_stream_init (js=0x1ec9280) at jabber.c:83
 No locals.
 #6  0x00007f92a00c5805 in jabber_login_callback_ssl (data=0x1eca3d0,
 gsc=0x2f48490, cond=<value optimized out>) at jabber.c:581
         js = (JabberStream *) 0x1ec9280
 #7  0x00007f92ac680657 in purple_certificate_verify_complete
 (vrq=0x235c540, st=PURPLE_CERTIFICATE_VALID) at certificate.c:105
         __PRETTY_FUNCTION__ = "purple_certificate_verify_complete"
 #8  0x00007f92ac680eb2 in x509_tls_cached_start_verify (vrq=0x235c540) at
 certificate.c:1273
         tls_peers = <value optimized out>
         __PRETTY_FUNCTION__ = "x509_tls_cached_start_verify"
 #9  0x00007f92a36223eb in ssl_gnutls_handshake_cb (data=0x2f48490,
 source=<value optimized out>, cond=PURPLE_INPUT_READ)
     at ssl-gnutls.c:232
         peers = (GList *) 0x1a85d80
         ops = (PurpleSslOps *) 0x17b0350
         peers = (GList *) 0x2f3b7a0
         x509 = (PurpleCertificateScheme *) 0x7fffb52c9eb0
         l = (GList *) 0x1
         gnutls_data = (PurpleSslGnutlsData *) 0x7fffb52ca0b8
         ret = <value optimized out>
 #10 0x000000000046ddae in pidgin_io_invoke (source=<value optimized out>,
 condition=<value optimized out>,
     data=<value optimized out>) at gtkeventloop.c:78
 #11 0x0000003b0d439f7a in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #12 0x0000003b0d43d640 in ?? () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #13 0x0000003b0d43db0d in g_main_loop_run () from
 /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #14 0x0000003b14935727 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #15 0x00000000004854df in main (argc=1, argv=0x7fffb52cc6b8) at
 gtkmain.c:893
         opt_force_online = 0
         opt_help = <value optimized out>
         opt_login = 0
         opt_nologin = 0
         opt_version = <value optimized out>
         opt_si = 1
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         accounts = <value optimized out>
         sigset = {__val = {82951, 0 <repeats 15 times>}}
         prev_sig_disp = (void (*)(int)) 0x17b0350
         errmsg =
 "\000\000\000\000\000\000\000\000\020�,��\177\000\000\200�,��\177\000\0008\000\000\000\000\000\000\000�\035h\n;",
 '\0' <repeats 11 times>, "��٬\222\177\000\000=�`\b;", '\0' <repeats 19
 times>,
 "�lb�\222\177\000\000��`\b;\000\000\000�\t��\222\177\000\000�I\224�\222\177\000\000\0000\224�\222\177\000\000�4\224�\222\177\000\000�\004��\222\177\000\000��٬\222\177\000\000����\222\177\000\000\000@\224�\222\177\000\000�D\224�\222\177\000\000��b�\222\177\000\000\000\000\000\000\000\000\000\0008\000\000\000\000\000\000\000�\035h\n;",
 '\0' <repeats 11 times>, "���"...
         error = (GError *) 0x0
         opt = <value optimized out>
 gui_check = <value optimized out>
         debug_enabled = <value optimized out>
         migration_failed = <value optimized out>
         active_accounts = <value optimized out>
         long_options = {{name = 0x4cfb82 "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x4bbbc0 "debug", has_arg = 0,
     flag = 0x0, val = 100}, {name = 0x4cad9b "force-online", has_arg = 0,
 flag = 0x0, val = 100}, {name = 0x4beee5 "help",
     has_arg = 0, flag = 0x0, val = 104}, {name = 0x4bb975 "login", has_arg
 = 2, flag = 0x0, val = 108}, {
     name = 0x4cada8 "multiple", has_arg = 0, flag = 0x0, val = 109}, {name
 = 0x4cadb1 "nologin", has_arg = 0, flag = 0x0,
     val = 110}, {name = 0x4cfb78 "session", has_arg = 1, flag = 0x0, val =
 115}, {name = 0x4c1e41 "version", has_arg = 0,
     flag = 0x0, val = 118}, {name = 0x4cfb8b "display", has_arg = 1, flag
 = 0x0, val = 68}, {name = 0x4cadb9 "sync", has_arg = 0,
     flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}

 This is the end of pidgin:
 (20:51:22) oscar: MOTD: Unknown (5)
 (20:51:23) gnutls: Handshake complete
 (20:51:23) gnutls/x509: Key print:
 9f:f8:3b:da:2c:a3:12:55:24:d5:b9:d6:fc:49:69:8f:0a:91:d8:cd
 (20:51:23) gnutls: Peer provided 1 certs
 (20:51:23) gnutls: Lvl 0 SHA1 fingerprint:
 9f:f8:3b:da:2c:a3:12:55:24:d5:b9:d6:fc:49:69:8f:0a:91:d8:cd
 (20:51:23) gnutls: Serial: 07:3f:92
 (20:51:23) gnutls: Cert DN: C=US,ST=California,L=Mountain View,O=Google
 Inc.,CN=gmail.com
 (20:51:23) gnutls: Cert Issuer DN: C=US,O=Equifax,OU=Equifax Secure
 Certificate Authority
 (20:51:23) certificate/x509/tls_cached: Starting verify for
 talk.google.com
 (20:51:23) certificate/x509/tls_cached: Checking for cached cert...
 (20:51:23) certificate/x509/tls_cached: ...Found cached cert
 (20:51:23) gnutls: Attempting to load X.509 certificate from
 /home/edwin/.purple/certificates/x509/tls_peers/talk.google.com
 (20:51:23) certificate/x509/tls_cached: Peer cert matched cached
 (20:51:23) certificate: Successfully verified certificate for
 talk.google.com
 }}}

--

Comment:

 Closed as duplicate of #8830.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/9198#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list