[Pidgin] #10881: Pidgin Crashes when connecting to iChat user with XMPP

Pidgin trac at pidgin.im
Wed Dec 2 14:43:02 EST 2009


#10881: Pidgin Crashes when connecting to iChat user with XMPP
------------------------------+---------------------------------------------
 Reporter:  amcguire          |     Owner:  rekkanoryo
     Type:  defect            |    Status:  new       
Component:  unclassified      |   Version:  2.6.3     
 Keywords:  crash ichat xmpp  |  
------------------------------+---------------------------------------------
 Ubuntu 8.04 (Hardy)
 Pidgin 2.6.3

 Found Pidgin randomly crashing and then crashing consistently on start up
 today.  Using "pidgin -n" was able to narrowed it down to my XMPP account.
 Deleted account, restarted, and Added the account which instantly crashed.
 Using another XMPP client, determined server side seemed ok.  Checked
 debug using "pidgin -d" and found that the iChat user seemed to be
 referenced a lot before the crash.  Using other XMPP client, deleted the
 user and then started Pidgin and it started just fine.

 It seems that whenever the iChat user was on at start-up or logged in
 while Pidgin was on Pidgin would crash.  This did not happen before so am
 wondering if the iChat user added some fancy thing that is causing the
 crash since it seems his client is trying to send some sort of information
 like a vcard that Pidgin does not like?

 Any ideas.  I will be posting more when I am able to get in contact with
 the iChat user via phone and see if I can find out what he did.

 Here is the part of the debug that resulted when starting my XMPP account
 through to the resulting crash.  Let me know if more details are needed
 and I will try and get them.  Thanks.
 {{{
 (13:57:33) prefs: /purple/savedstatus/default changed, scheduling save.
 (13:57:33) account: Connecting to account amcguire at mcguireclan.org/Laptop.
 (13:57:33) connection: Connecting. gc = 0x8689600
 (13:57:33) dnssrv: querying SRV record for mcguireclan.org: _xmpp-
 client._tcp.mcguireclan.org
 (13:57:33) dnssrv: res_query returned an error
 (13:57:33) dns: DNS query for 'mcguireclan.org' queued
 (13:57:33) dns: Created new DNS child 17484, there are now 1 children.
 (13:57:33) dns: Successfully sent DNS request to child 17484
 (13:57:33) dns: Got response for 'mcguireclan.org'
 (13:57:33) dnsquery: IP resolved for mcguireclan.org
 (13:57:33) proxy: Attempting connection to 208.113.206.168
 (13:57:33) proxy: Connecting to mcguireclan.org:5222 with no proxy
 (13:57:33) proxy: Connection in progress
 (13:57:33) proxy: Connecting to mcguireclan.org:5222.
 (13:57:33) proxy: Connected to mcguireclan.org:5222.
 (13:57:33) jabber: Sending: <?xml version='1.0' ?>
 (13:57:33) jabber: Sending: <stream:stream to='mcguireclan.org'
 xmlns='jabber:client'
 xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
 (13:57:34) jabber: Recv (143): <?xml version='1.0'?><stream:stream
 xmlns:stream='http://
 etherx.jabber.org/streams' id='4B16B89D' xmlns='jabber:client'
 from='mcguireclan.org'>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaea'><query
 xmlns='jabber:iq
 :auth'><username>amcguire</username></query></iq>
 (13:57:34) jabber: Recv (187): <iq type='result' id='purple168aaea'><query
 xmlns='jabber:iq
 :auth'><username>amcguire</username><password/><digest/><sequence>499</sequen
 ce><token>44282555</token><resource/></query></iq>
 (13:57:34) jabber: Sending: <iq type='set' id='purple168aaeb'><query
 xmlns='jabber:iq
 :auth'><username>amcguire</username><resource>Laptop</resource><digest>507e83bda02020ad
 1c03a01f2e9aef29c47155cc</digest></query></iq>
 (13:57:34) jabber: Recv (38): <iq type='result' id='purple168aaeb'/>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaec'
 to='mcguireclan.org'><q
 uery xmlns='http://jabber.org/protocol/disco#items'/></iq>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaed'
 to='mcguireclan.org'><q
 uery xmlns='http://jabber.org/protocol/disco#info'/></iq>
 (13:57:34) jabber: Recv (191): <iq type='error' id='purple168aaec'
 to='amcguire at mcguirecla
 n.org/Laptop' from='mcguireclan.org'><query
 xmlns='http://jabber.org/protocol/disco#items'/
 ><error code='404'>Not Found</error></iq>
 (13:57:34) jabber: Recv (190): <iq type='error' id='purple168aaed'
 to='amcguire at mcguirecla
 n.org/Laptop' from='mcguireclan.org'><query
 xmlns='http://jabber.org/protocol/disco#info'/>
 <error code='404'>Not Found</error></iq>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaee'><vCard xmlns
 ='vcard-tem
 p'/></iq>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaef'><query
 xmlns='jabber:iq
 :roster'/></iq>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaf0'
 to='proxy.eu.jabber.org
 '><query xmlns='http://jabber.org/protocol/bytestreams'/></iq>
 (13:57:34) jabber: Recv (108): <iq type='result' id='purple168aaee'
 from='amcguire at mcguirec
 lan.org/Laptop'><vCard xmlns='vcard-temp'/></iq>
 (13:57:34) jabber: Recv (833): <iq type='result' id='purple168aaef'
 from='amcguire at mcguirec
 lan.org/Laptop'><query xmlns='jabber:iq:roster'><item
 jid='Josh at mcguireclan.o
 rg' name='Josh McGuire'
 subscription='both'><group>Family</group></item><item jid='mom at m
 cguireclan.org' name='Mom McGuire'
 subscription='both'><group>Family</group></
 item><item jid='allan.mcguire at gmail.com' name='Allan Google Talk'
 subscription='none' ask
 ='subscribe'><group>General</group></item><item jid='joyce at mcguireclan.
 org' name='Joyce' subscription='both'><group>Family</group></item><item
 jid='joe at p
 esolaclan.org' name='Joe (XMPP)'
 subscription='both'><group>Family</group></
 item><item jid='esther at pesolaclan.org' name='Esther'
 subscription='both'><gr
 oup>Family</group></item><item jid='papa at pesolaclan.org' name='Dad Pesola'
 subscription='b
 oth'><group>Family</group></item></query></iq>
 (13:57:34) jabber: jabber_roster_parse(): Adding Josh at mcguireclan.org to
 groups: Family
 (13:57:34) jabber: jabber_roster_parse(): Adding mom at mcguireclan.org to
 groups: Family
 (13:57:34) jabber: jabber_roster_parse(): Adding allan.mcguire at gmail.com
 to groups: General
 (13:57:34) jabber: jabber_roster_parse(): Adding joyce at mcguireclan.org to
 groups: Family
 (13:57:34) jabber: jabber_roster_parse(): Adding joe at pesolaclan.org to
 groups: Family
 (13:57:34) jabber: jabber_roster_parse(): Adding esther at pesolaclan.org to
 groups: Family
 (13:57:34) jabber: jabber_roster_parse(): Adding papa at pesolaclan.org to
 groups: Family
 (13:57:34) jabber: Sending: <presence><priority>1</priority><c
 xmlns='http://jabber.or
 g/protocol/caps' node='http://pidgin.im/' hash='sha-1'
 ver='ZJcqUfuUIFo9PX0wTg
 U7J3kB5hA='/><x xmlns='vcard-temp:x:update'><photo/></x></presence>
 (13:57:34) g_log: purple_find_buddy: assertion `(name != NULL) && (*name
 != '\0')' failed
 (13:57:34) jabber: jabber_actions: have pep: NO
 (13:57:34) connection: Activating keepalive.
 (13:57:34) jabber: Recv (482): <presence from='joe at pesolaclan.org/iChat'
 to='amcgu
 ire at mcguireclan.org'>
 <show>away</show>
 <status>Away</status>
 <priority>0</priority>
 <x xmlns='vcard-temp:x:update'>
 <photo>da39a3ee5e6b4b0d3255bfef95601890afd80709</photo>
 </x>
 <c xmlns='http://jabber.org/protocol/caps' node='apple:ichat:caps'
 ver='445' ext='avcap
  avavail maudio audio'/>
 <x xmlns='http://jabber.org/protocol/tune'/>
 <x xmlns='jabber:x:delay' from='joe at pesolaclan.org/iChat'
 stamp='20091202T17:44:46'/></presence>
 (13:57:34) jabber: Sending: <iq type='get' id='purple168aaf1'
 to='joe at pesolaclan.o
 rg'><vCard xmlns='vcard-temp'/></iq>
 (13:57:34) blist: Updating buddy status for joe at pesolaclan.org (XMPP)
 (13:57:34) jabber: Recv (685): <presence from='joyce at mcguireclan.org/Home'
 to='amcg
 uire at mcguireclan.org'><show>away</show><status>Brushing kids teeth and
 song time</status>
 <query xmlns='jabber:iq:last' seconds='302'/><c
 xmlns='http://jabber.org/protocol/caps'
  node='http://pidgin.im/' hash='sha-1'
 ver='ZJcqUfuUIFo9PX0wTgU7J3kB5hA='/><x xmlns='vcard-temp:x:update'>
 <photo/></x><x xmlns='jabber:x:delay' from='joyce at mcguireclan.org/Home'
 stamp='20091202T18:40:46'/>
 </presence><iq from='proxy.eu.jabber.org'
 to='amcguire at mcguireclan.org/Laptop' id='purple168aaf0'
 type='result'><query
 xmlns='http://jabber.org/protocol/bytestreams'><streamhost jid='proxy.
 eu.jabber.org' host='91.121.109.155' port='7777'/></query></iq>
 (13:57:34) jabber: got delay 20091202T18:40:46 yielding 1008 s offset
 (13:57:34) blist: Updating buddy status for joyce at mcguireclan.org (XMPP)
 (13:57:34) jabber: Discovered bytestream proxy server:
 jid='proxy.eu.jabber.org' host='91.121.109.155'
 port='7777' zeroconf=''
 (13:57:34) jabber: Recv (200): <iq type='result' id='purple168aaf1'
 to='amcguire at mcguirec
 lan.org/Laptop' from='joe at pesolaclan.org'><vCard xmlns='vcard-temp'>
 <PHOTO>
 <TYPE>image/jpeg</TYPE>
 <BINVAL>
 </BINVAL>
 </PHOTO>
 </vCard></iq>
 (13:57:34) GLib: g_base64_decode: assertion `input_length > 1' failed
 (13:57:34) GLib: g_checksum_update: assertion `data != NULL' failed
 dns[17484]: Oops, father has gone, wait for me, wait...!
 Segmentation fault
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10881>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list