[Pidgin] #7508: MSN crash sending offline message

Pidgin trac at pidgin.im
Thu Mar 11 22:16:09 EST 2010


#7508: MSN crash sending offline message
-----------------------------------+----------------------------------------
 Reporter:  noccy                  |        Owner:  khc    
     Type:  defect                 |       Status:  pending
Milestone:                         |    Component:  MSN    
  Version:  2.5.2                  |   Resolution:         
 Keywords:  crash offline message  |  
-----------------------------------+----------------------------------------

Comment(by malcolm):

 Ok, I've finally managed to reproduce this. For some reason, it seems like
 when running as `pidgin -d`, the bug seems to almost never occur. Also,
 when the bug did finally occur, it did not consume all my memory before
 finally crashing; it crashed within a couple of seconds, without consuming
 all memory. (However, as you will see in the debug output below, a
 Segmentation Fault still did occur.) I'm not certain that these
 differences are just because of the `-d` flag, but I thought I'd just
 mention it; it may be worth investigating.

 I sent an MSN message to an off-line buddy that had sent me a message. The
 sequence of events that occurred were as follows:
  1. Buddy came on-line.
  1. Buddy sends me two messages.
  1. Buddy goes off-line.
  1. I send a message to Buddy. The message was, in this case, a 9-digit
 number.
  1. Pidgin crashes soon after.

 I've tried to summarize the debug output below. Alternatively, I could
 send you the full raw debug output. (I don't have permission to attach
 files to this post, unfortunately).

 {{{
 (18:04:45) soap: POST //OimWS/oim.asmx HTTP/1.1
 SOAPAction: http://messenger.live.com/ws/2006/09/oim/Store2
 Content-Type:text/xml; charset=utf-8
 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
 Accept: */*
 Host: ows.messenger.msn.com
 Content-Length: 1868
 Connection: Keep-Alive
 Cache-Control: no-cache

 <soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
 xmlns:xsd='http://www.w3.org/2001/XMLSchema'
 xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Header><From
 xmlns='http://messenger.msn.com/ws/2004/09/oim/'
 memberName='me123456 at gmail.com'
 friendlyName='=?utf-8?B?bWxhbGtha2FAZ21haWwuY29t?=' xml:lang='en-US'
 proxy='MSNMSGR' msnpVer='MSNP15' buildVer='8.5.1288'/><To
 xmlns='http://messenger.msn.com/ws/2004/09/oim/'
 memberName='buddy123 at hotmail.com'/><Ticket
 xmlns='http://messenger.msn.com/ws/2004/09/oim/' appid='PROD0119GSJUC$18'
 lockkey='3837e834607c5dc116d6981d685db469'
 passport='t=EwDQATIiAQAUno9QpucDnNi8T5syqJTstzjjm3WAALbD0kRZ5i7LdB5myOSM5xfqLg7HEuDBmmWnx3OhO40/50ocLvJ9Ac4eGgRrSYNTOxlzsocZkdeaga5pmJLhEbg8im/dkJzTdhaha6CJENIT5+0RA5Dblfr1yBfJzLffJcPO+3yoTLapVewoibUOuuKfVDXYgQvVnUIQxyAQ/OIwA2YAAAjhtp2zZ0suzCABa96teDZjA5v9XHBPob/kMABmawHfx4ku2wKVPrg0vxcUnm2QTbA+2HkNLWSykDVZq1nZnwJVxf+6gGldTWwc84gtJP/EIBa8AlbgTFuT4DMnX/6WXoJVSmFiK1tg6C8PeUEZ9zmxHb0BQsKEt0q8LrR7K4GBT36AvUabeQg/OUPnpvwkzhJA/jeria8ljy0zHJILhzQcwaRDmAJIaSHlKbhZ3Zv84muOpeUS1oe1IkDeBpmbQDLjtAT5LQTsFf/cFZ4TlddYGa3KGfZ+2MrVCX9z5GONOLODCTb2ujbfjRhMz3BNP5NR/Wa2yqOzTuaWAbPflM4kn2qwYlhpnXQRm1wADiCQ1TXDj04zKtIaZ9nPLHKIq0nUqidLTCGBzGv0TAE=&p='/><Sequence
 xmlns='http://schemas.xmlsoap.org/ws/2003/03/rm'><Identifier
 xmlns='http://schemas.xmlsoap.org/ws/2002/07/utility'>http://messenger.msn.com</Identifier><MessageNumber>6</MessageNumber></Sequence></soap:Header><soap:Body><MessageType
 xmlns='http://messenger.msn.com/ws/2004/09/oim/'>text</MessageType><Content
 xmlns='http://messenger.msn.com/ws/2004/09/oim/'>MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: base64
 X-OIM-Message-Type: OfflineMessage
 X-OIM-Run-Id: {7386A3D9-B338-7267-30C8-9B4529C35FA6}
 X-OIM-Sequence-Num: 6

 MzAxMDIzNDky</Content></soap:Body></soap:Envelope>

 ...(The above output repeats itself multiple times.)...

 (18:04:45) soap: read 830 bytes
 (18:04:45) soap: current HTTP/1.1 500 Internal Server Error
 Cache-Control: private
 Content-Length: 614
 Content-Type: text/xml; charset=utf-8
 X-MSNSERVER: BY2MSG3020817
 X-AspNet-Version: 2.0.50727
 Date: Fri, 12 Mar 2010 02:04:44 GMT

 <?xml version="1.0" encoding="utf-8"?><soap:Envelope
 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><Machine
 name="BY2MSG3020817" ver="9.31.3909.0"
 xmlns="http://messenger.msn.com/ws/2004/09/oim/"
 /></soap:Header><soap:Body><soap:Fault><faultcode
 xmlns:q0="http://messenger.msn.com/ws/2004/09/oim/">q0:SenderThrottleLimitExceeded</faultcode><faultstring>Exception
 of type 'System.Web.Services.Protocols.SoapException' was
 thrown.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
 Segmentation fault
 dns[10484]: Oops, father has gone, wait for me, wait...!
 }}}

 In the output above, I've changed the email addresses, so that bots don't
 get at them, etc. My email address has been changed to
 `me123456 at gmail.com` and my friend's email address has been changed to
 `buddy123 at hotmail.com`.

 So judging from the debug output, it seems that Pidgin attempted to send
 my message multiple times to Buddy. Indeed, when I started Pidgin again, I
 opened the message log between me and Buddy, and here is what it said:
 {{{
 ...
 (06:04:31 PM) Me: 301023492
 (06:04:45 PM) Message was not sent because messages are being sent too
 quickly.
 (06:04:45 PM) 301023492
 }}}

 I hope this has been useful. If you need more information, please do not
 hesitate to ask, as I am eager for this issue to finally get resolved :).

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


More information about the Tracker mailing list