[Pidgin] #4160: Frequent coredump in Jabber (XMPP) protocol

Pidgin trac at pidgin.im
Thu Nov 29 16:53:22 EST 2007


#4160: Frequent coredump in Jabber (XMPP) protocol
---------------------+------------------------------------------------------
  Reporter:  emilal  |       Owner:  resiak                  
      Type:  defect  |      Status:  assigned                
  Priority:  minor   |   Milestone:                          
 Component:  XMPP    |     Version:  2.3.0                   
Resolution:          |    Keywords:  Jabber freuently crashes
   Pending:  0       |  
---------------------+------------------------------------------------------
Comment (by emilal):

 I'm not using libpurple as obvious UI, instead I built module to "wrap" IM
 finctionality. The full trace is as follow:

 {{{

 (gdb) bt full


 #0  0x00c6fab1 in _int_free () from /lib/tls/libc.so.6
 No symbol table info available.


 #1  0x00c7033a in free () from /lib/tls/libc.so.6
 No symbol table info available.
 [[BR]]
 #2  0x001ab270 in IA__g_free (mem=0xd36840) at gmem.c:187
 No locals.

 #3  0x006bdd5e in jabber_caps_free_clientinfo (clientinfo=0x84234f0) at
 caps.c:320
         id = (JabberCapsIdentity *) 0xd36b08

 #4  0x006b6af3 in jabber_presence_set_capabilities (info=0x8405a78,
 user_data=0x83f94c0) at presence.c:379
         userdata = (JabberPresenceCapabilities *) 0x83f94c0
         iter = (GList *) 0x842fe78

 #5  0x006bde43 in jabber_caps_get_info_check_completion
 (userdata=0x842fe18) at caps.c:355
 No locals.

 #6  0x006be142 in jabber_caps_ext_iqcb (js=0x84241d0, packet=0x8423498,
 data=0x8405a78) at caps.c:428
         query = (xmlnode *) 0x8413d80
         extuserdata = (jabber_ext_userdata *) 0x8405a78
         userdata = (jabber_caps_cbplususerdata *) 0x842fe18
         node = 0x842ffd8 ""

 #7  0x006ab60b in jabber_iq_parse (js=0x84241d0, packet=0x8423498) at
 iq.c:326
         jcd = (JabberCallbackData *) 0x8408490
         query = (xmlnode *) 0x8413d80
         error = (xmlnode *) 0xbfffedc8
         x = (xmlnode *) 0x72be2c
         xmlns = 0x83e8c40 "\001"
         type = 0x8409e90 "error"
         id = 0x841c198 "purple2b9997f0"
         from = 0x841c0d0 "eqodev0 at gmail.com/Home5371499D"
         jih = (JabberIqHandler *) 0x83ee1a0

 #8  0x006abef3 in jabber_process_packet (js=0x84241d0, packet=0xbfffedf0)
 at jabber.c:205
         xmlns = 0x8413dc8 "urn:ietf:params:xml:ns:xmpp-stanzas"

 #9  0x006b5655 in jabber_parser_element_end_libxml (user_data=0x84241d0,
 element_name=0x841b6e4 "iq", prefix=0x0,
     namespace=0x841b743 "urn:ietf:params:xml:ns:xmpp-stanzas") at
 parser.c:116
         packet = (xmlnode *) 0x8423498
         js = (JabberStream *) 0x84241d0

 #10 0x002c26c9 in xmlSkipBlankChars () from /usr/lib/libxml2.so.2
 No symbol table info available.

 #11 0x002c43e0 in xmlParseChunk () from /usr/lib/libxml2.so.2
 No symbol table info available.

 #12 0x006b5759 in jabber_parser_process (js=0x84241d0,
     buf=0x740fc0 "<iq type=\"error\" id=\"purple2b9997f0\"
 to=\"eqodev1 at gmail.com/HomeFF6209C6\"
 from=\"eqodev0 at gmail.com/Home5371499D\"><query
 node=\"http://pidgin.im/caps#moodn\"
 xmlns=\"http://jabber.org/protocol/disco#info\"/>"..., len=311) at
 parser.c:195
 No locals.

 #13 0x006ac537 in jabber_recv_cb_ssl (data=0x8418ab0, gsc=0x8413df0,
 cond=PURPLE_INPUT_READ) at jabber.c:414
 ---Type <return> to continue, or q <return> to quit---
         gc = (PurpleConnection *) 0x8418ab0
         js = (JabberStream *) 0x84241d0
         len = 311
         buf = "<iq type=\"error\" id=\"purple2b9997f0\"
 to=\"eqodev1 at gmail.com/HomeFF6209C6\"
 from=\"eqodev0 at gmail.com/Home5371499D\"><querynode=\"http://pidgin.im/caps#moodn\"
 xmlns=\"http://jabber.org/protocol/disco#info\"/>"...

 #14 0x00646f9d in recv_cb (data=0x8413df0, source=7,
 cond=PURPLE_INPUT_READ) at sslconn.c:143
         gsc = (PurpleSslConnection *) 0x8413df0

 #15 0x08084811 in purple_gnt_io_invoke (source=0x8415738,
 condition=G_IO_IN, data=0x83f9cd0) at GaimWrapper.cpp:161
         closure = (PurpleGntIOClosure *) 0x83f9cd0
         purple_cond = PURPLE_INPUT_READ

 #16 0x001c8acb in g_io_unix_dispatch (source=0x8415780, callback=0x8084680
 <purple_gnt_io_invoke>, user_data=0x83f9cd0) at giounix.c:162
         buffer_condition = Variable "buffer_condition" is not available.

 (gdb)
 }}}

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


More information about the Tracker mailing list