telepathy-butterfly crashed with AssertionError in send()

Bug #430768 reported by steveacab
854
This bug affects 185 people
Affects Status Importance Assigned to Milestone
telepathy-butterfly
Fix Released
Medium
telepathy-butterfly (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Karmic by Sebastien Bacher
Lucid
Fix Released
Medium
Sebastien Bacher

Bug Description

Binary package hint: telepathy-butterfly

telepathy-butterfly crashed with AssertionError in send()

ProblemType: Crash
Architecture: i386
CheckboxSubmission: f5427e221faa7219032035a9b55fe222
CheckboxSystem: eeed3db8c9aa4eb36aa62d151ce87f89
Date: Wed Sep 16 16:32:19 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/telepathy/telepathy-butterfly
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: telepathy-butterfly 0.5.0-0ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/telepathy/telepathy-butterfly
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=it_IT.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-10.32-generic
PythonArgs: ['/usr/lib/telepathy/telepathy-butterfly']
SourcePackage: telepathy-butterfly
Title: telepathy-butterfly crashed with AssertionError in send()
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
steveacab (antonio.chiurazzi) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in telepathy-butterfly (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?

 This will help us to find and resolve the problem.

Revision history for this message
João Eduardo (joaoedu) wrote :

Hi.

I really do not know how reproduce this error.
I've just turn on the computer and after logging I got this message.

thanks

Revision history for this message
Guillaume Pascal (guigui14100-deactivatedaccount) wrote :

I had the same error message when I change the status offline with me menu but I do not know if this has caused

Revision history for this message
In , Cristian Aravena Romero (caravena) wrote :

Open bug en launchpad.net
https://bugs.edge.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/430768

In comment:
https://bugs.edge.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/430768/comments/7

"I have this error when switching status too. Also when using the "Quit" option from the Empathy menu"

Revision history for this message
Spyros Kavvadias (thunk) wrote :

I have this error when switching status too. Also when using the "Quit" option from the Empathy menu

Regards

Changed in telepathy-butterfly:
status: Unknown → Confirmed
Brian Curtis (bcurtiswx)
Changed in telepathy-butterfly (Ubuntu):
status: New → Triaged
tags: added: bugpattern-needed
Brian Curtis (bcurtiswx)
tags: added: bugpattern-written
removed: bugpattern-needed
Revision history for this message
azendal (trasvina) wrote :

i got this error too, my msn account gets disconnected and i get this error

Revision history for this message
messajunior (messajunior) wrote :

me too

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Please do not add me too statements. There is a link at the top of the bug report for "this bug affects me too". Please use that instead.

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

A butterfly log would be pretty useful.

Revision history for this message
sid (skattoju) wrote :

This error seems to occur when internet access is disrupted on the network.

Steps to reproduce:

1)connect to network.
2)open chat.
3)disable internet access on network (for example from using your router configuration page.)

-->telepathy-butterfly crashes.

Revision history for this message
c. mehlis (mehlis-deactivatedaccount) wrote :

> This error seems to occur when internet access is disrupted on the network.

can confirm that.

Revision history for this message
dosordie (paranoid-eimik) wrote :

I found this if someone else want to know what is this :P

http://telepathy.freedesktop.org/wiki/Components

Revision history for this message
WalterCool (waltercool) wrote :

Tired of that

Revision history for this message
Ingo Gerth (igerth) wrote :

This bug occurred without me doing anything special. No idea where it came from.

Revision history for this message
Gama Franco (gama-franco) wrote :

same here

Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

I'm also logged into MSN via the IM client in my N900 (using pecan rather than haze) ; this error occurred a lot this afternoon and this evening.

Revision history for this message
AJerman (ajerman) wrote :

I seem to be getting this crash frequently when I come back to my computer after being away for a while. I would assume, based on the other comments, that I'm losing an internet connection for a period of time while I'm gone.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. could you add an empathy debug log it would help us to debug the issue?
You can get it in the empathy help, debug dialog by selecting butterfly in the combo, check for informations you don't want to share before adding it there though and clean those or just copy the chunk before the crash

Changed in telepathy-butterfly (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 430768] Re: telepathy-butterfly crashed with AssertionError in send()

Here you are, I saved all logs.

The crash happens when the internet connection is lost.

Revision history for this message
In , Sebastien Bacher (seb128) wrote :
Revision history for this message
alejandro gonzález (ale-g-gonzalez) wrote :

log with stack trace

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the log informations

Changed in telepathy-butterfly (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

Okay, that log was pretty useful and shows what's wrong with the SHA1D. Here is msn object XML:

<msnobj <email address hidden>" Size="19086" Type="3" Location="TFRlgrTEF.dat" Friendly="SQBtAGEAZwBlAG4AIAAxADAAAAA=" SHA1D="1h Jo825av2d/RagyNCPI0V3rTs=" SHA1C="VK4lMv5Ori9LfY1J6THi4o/sOAU="/>

Take the SHA1D attribute:

    SHA1D="1h Jo825av2d/RagyNCPI0V3rTs="

I've no idea what that "1h", but we need to work around it. I had a little look at the other MSN implementations and couldn't find anything about this. I'll cook up a patch.

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

Oh, also, the rogue string isn't always first in the SHA1D attribute:

% grep "Invalid SHA1" butterfly-log.txt
papyon/papyon.p2p-WARNING: 14/04/10 18:16:26.809406: Invalid SHA1D in MSNObject: /IkRrvJpPvK/ZFEZEM7eRhle k4=
papyon/papyon.p2p-WARNING: 14/04/10 18:16:27.35620: Invalid SHA1D in MSNObject: 1h Jo825av2d/RagyNCPI0V3rTs=
papyon/papyon.p2p-WARNING: 14/04/10 19:18:38.737390: Invalid SHA1D in MSNObject: 1h Jo825av2d/RagyNCPI0V3rTs=
papyon/papyon.p2p-WARNING: 14/04/10 19:20:31.38971: Invalid SHA1D in MSNObject: 1h Jo825av2d/RagyNCPI0V3rTs=

:-(

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

Please ignore the previous two comments, they should have gone on bug #27672. Sorry.

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

I wrote a patch to work around this. Check it out.

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

This happens eventually after I join or disconnect from my work VPN. When this happens, my external IP changes and so does my default route.

I also get this crash occasionally when changing status using the me menu.

Revision history for this message
Nicolas DERIVE (kalon33) wrote : apport information

Architecture: i386
CheckboxSubmission: 539d358f306f24d2328d27218c2b1427
CheckboxSystem: 0886efe3e95f2342b20ae33cd4eb5c2a
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100217)
Package: telepathy-butterfly 0.5.8-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid lucid
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: apport-collected
Revision history for this message
Nicolas DERIVE (kalon33) wrote : Dependencies.txt

apport information

Revision history for this message
Victor Torres (vito-ubb) wrote :

stderr-ERROR: 04/18/2010 11:37:32.92518: /usr/lib/python2.6/dist-packages/butterfly/handle.py:58: DeprecationWarning: object.__new__() takes no parameters
stderr-ERROR: 04/18/2010 11:37:32.92518: instance = object.__new__(cls, connection, *args)
papyon/papyon.protocol-WARNING: 04/18/2010 11:37:33.584287: Notification unhandled command : GCF 0 4845
 [payload]
papyon/papyon.msnp2p.session_manager-WARNING: 04/18/2010 13:07:54.613030: Received initial blob with SessionID=0 and non INVITE SLP data
papyon/papyon.msnp2p.session_manager-WARNING: 04/18/2010 13:11:43.117676: Received initial blob with SessionID=0 and non INVITE SLP data
stderr-ERROR: 04/18/2010 13:35:51.546680: Traceback (most recent call last):
stderr-ERROR: 04/18/2010 13:35:51.546756: File "/usr/lib/pymodules/python2.6/papyon/client.py", line 364, in disconnected
stderr-ERROR: 04/18/2010 13:35:51.547106: self._dispatch("on_client_error", ClientErrorType.NETWORK, reason)
stderr-ERROR: 04/18/2010 13:35:51.547215: File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 44, in _dispatch
stderr-ERROR: 04/18/2010 13:35:51.547348: if event_handler._dispatch_event(name, *args):
stderr-ERROR: 04/18/2010 13:35:51.547401: File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 65, in _dispatch_event
stderr-ERROR: 04/18/2010 13:35:51.547508: handler(*params)
stderr-ERROR: 04/18/2010 13:35:51.547558: File "/usr/lib/python2.6/dist-packages/butterfly/connection.py", line 312, in on_client_error
stderr-ERROR: 04/18/2010 13:35:51.547818: self._new_client(use_http=True)
stderr-ERROR: 04/18/2010 13:35:51.547868: File "/usr/lib/python2.6/dist-packages/butterfly/connection.py", line 130, in _new_client
stderr-ERROR: 04/18/2010 13:35:51.548007: self._msn_client.logout()
stderr-ERROR: 04/18/2010 13:35:51.548054: File "/usr/lib/pymodules/python2.6/papyon/client.py", line 268, in logout
stderr-ERROR: 04/18/2010 13:35:51.548259: self._protocol.signoff()
stderr-ERROR: 04/18/2010 13:35:51.548307: File "/usr/lib/pymodules/python2.6/papyon/msnp/notification.py", line 213, in signoff
stderr-ERROR: 04/18/2010 13:35:51.548495: self._send_command('OUT')
stderr-ERROR: 04/18/2010 13:35:51.548666: File "/usr/lib/pymodules/python2.6/papyon/msnp/base.py", line 80, in _send_command
stderr-ERROR: 04/18/2010 13:35:51.548789: increment, callback, *cb_args)
stderr-ERROR: 04/18/2010 13:35:51.548839: File "/usr/lib/pymodules/python2.6/papyon/transport.py", line 207, in send_command_ex
stderr-ERROR: 04/18/2010 13:35:51.549015: self.send_command(cmd, increment, callback, *cb_args)
stderr-ERROR: 04/18/2010 13:35:51.549065: File "/usr/lib/pymodules/python2.6/papyon/transport.py", line 277, in send_command
stderr-ERROR: 04/18/2010 13:35:51.549341: self._transport.send(str(command), self.__on_command_sent, *our_cb_args)
stderr-ERROR: 04/18/2010 13:35:51.549392: File "/usr/lib/pymodules/python2.6/papyon/gnet/io/iochannel.py", line 157, in send
stderr-ERROR: 04/18/2010 13:35:51.549556: assert(self._status == IoStatus.OPEN), self._status
stderr-ERROR: 04/18/2010 13:35:51.549658: AssertionError: 1

Revision history for this message
In , Cristian Aravena Romero (caravena) wrote :
Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

(In reply to comment #7)
> git:
> http://git.collabora.co.uk/?p=user/jonny/telepathy-butterfly.git;a=commit;h=ab368c248e95f731abe163f6afc259d97d083779

Yes, my branch (which is a more reliable bookmark) is linked to in the URL field.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now, the change will not be in lucid due to the freeze in effect now but in a stable update

Changed in telepathy-butterfly (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

Cristian, please don't close bugs which aren't actually fixed. I've written the said patch, but it has not been reviewed yet, and as a result, has not been merged upstream. Closing bugs prematurely will mean this bug isn't actually fixed, and we (the developers) will lose track of the bug and patch.

Revision history for this message
Andrew Clunis (orospakr) wrote :

Might it be appropriate to backport the change? This bug appears to be rather serious, and in a component of ubuntu-desktop.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Comment #29:
+1

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

*** Bug 27946 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

*** Bug 27932 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Olivier Le Thanh Duong (olethanh) wrote :

Merged, this fix is available in butterfly 0.5.10

Changed in telepathy-butterfly (Ubuntu Lucid):
assignee: nobody → Sebastien Bacher (seb128)
Revision history for this message
Sebastien Bacher (seb128) wrote :

sru team, the debdiff for the lucid update is on bug #570346

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted telepathy-butterfly into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in maverick as well now

Changed in telepathy-butterfly (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you test the upgrade and confirm it's working for you?

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Problem in:
telepathy-butterfly 0.5.11-1~ppa10.04+1 // 0.5.9, 0.5.10, 0.5.11

https://bugs.freedesktop.org/show_bug.cgi?id=28431

Revision history for this message
Sebastien Bacher (seb128) wrote :

could somebody confirm their msn is still working in empathy with this version so it can go to updates?

Revision history for this message
Omer Akram (om26er) wrote :

No regression for me with butterfly 0.5.11 in Lucid

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package telepathy-butterfly - 0.5.11-0ubuntu1

---------------
telepathy-butterfly (0.5.11-0ubuntu1) lucid-proposed; urgency=low

  * New upstream bug fix versions:
    Fixes:
    - fd.o#28354: make sure the correct type gets returned when getting
      PendingMessages.
    - Don't always remove pending messages when ListPendingMessages is called.
    - Don't assume "message-type" is set on calls to SendMessage.
    - Replace \r\n with \n in incoming messages. (lp: #546338)
    Enhancements:
    - Implement friendly names for groups chats
    Fixes:
    - Fix error when getting caps for certain contacts and offline contacts
    - Remove deprecation warning at start (lp: #570346)
    - Set Initator{ID,Handle} for all channels types
    - Don't connect via HTTP if we lost connection (lp: #430768)
    - Fix crash in check_handle when adding a contact (lp: #512596)
 -- Sebastien Bacher <email address hidden> Tue, 08 Jun 2010 18:41:38 +0200

Changed in telepathy-butterfly (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Shahar Or (mightyiam) wrote :

Hey, I have this
ii telepathy-butterfly 0.5.11-0ubuntu1 MSN connection manager for Telepathy
and I'm still getting this crash.

How I know it is this crash is because apport lets me report and then it brings me straight to this page telling me that it is this bug ("already been reported").

Blessings,
Shahar

Revision history for this message
Braiam Peguero (braiampe) wrote :

Try to reinstall the package.

apt-get --reinstall install telepathy-butterfly

Then reboot the computer.

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I'm still getting this crash (I've been redirected here through apport)
my telepathy-butterfly version is 0.5.12-1

Revision history for this message
Alberto Mardegan (mardy) wrote :

I don't get a crash, but it doesn't connect (using 0.5.11-0ubuntu1). Here's the log:

=====================
INFO:Butterfly.ConnectionManager:Connection manager created
DEBUG:Butterfly.MailNotification:Initialized
INFO:Butterfly.Handle:New Handle <ButterflyContactHandle id=1 <email address hidden>'>
INFO:Butterfly.Connection:Connection to the account <email address hidden> created
INFO:Butterfly.Presence:Setting Presence to 'BSY'
INFO:Butterfly.Presence:Setting Personal message to ''
INFO:Butterfly.Connection:Connecting
DEBUG:papyon.transport:<-> Connecting to messenger.hotmail.com:1863
DEBUG:papyon.transport:>>> VER 0 MSNP15
DEBUG:papyon.transport:<<< VER 0 MSNP15
DEBUG:papyon.transport:>>> CVR 1 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 msmsgs <email address hidden>
DEBUG:papyon.transport:<<< CVR 1 14.0.8089 14.0.8089 14.0.8089 http://msgruser.dlservice.microsoft.com/download/7/5/8/758BFCC9-1744-48F7-8162-E0AC1E7BF5C8/en/wlsetup-cvr.exe http://download.live.com/?sku=messenger
DEBUG:papyon.transport:>>> USR 2 SSO I <email address hidden>
DEBUG:papyon.transport:<<< XFR 2 NS 207.46.125.78:1863 U D
DEBUG:papyon.protocol.notification:<-> Redirecting to 207.46.125.78:1863
DEBUG:papyon.transport:>>> VER 3 MSNP15
DEBUG:papyon.transport:<<< VER 3 MSNP15
DEBUG:papyon.transport:>>> CVR 4 0x0409 winnt 5.1 i386 MSNMSGR 8.1.0178 msmsgs <email address hidden>
DEBUG:papyon.transport:<<< CVR 4 14.0.8089 14.0.8089 14.0.8089 http://msgruser.dlservice.microsoft.com/download/7/5/8/758BFCC9-1744-48F7-8162-E0AC1E7BF5C8/en/wlsetup-cvr.exe http://download.live.com/?sku=messenger
DEBUG:papyon.transport:>>> USR 5 SSO I <email address hidden>
DEBUG:papyon.transport:<<< GCF 0 5278^M
        [payload]
WARNING:papyon.protocol:Notification unhandled command : GCF 0 5278^M
        [payload]
DEBUG:papyon.transport:<<< USR 5 SSO S MBI_KEY_OLD My02sU/C5lVPQmqtGPDlUJBPcQwNh3edbF4MnIdJ660w5sJZLn86SBjdWxOIbvi8
WARNING:papyon.service:Transport Error :1
INFO:Butterfly.Connection:Failed to connect, trying HTTP (possibly again with another proxy)
DEBUG:papyon.transport:>>> OUT 6
=====================

Revision history for this message
Chris Wilson (notgary-deactivatedaccount) wrote :

I found this error message when I left my computer on overnight (to run a few downloads) and when I unlocked the screen I found the error message. Not sure what caused it though.

Revision history for this message
Lukian (launchpad-nevyn) wrote :

I received this error today upon attempting to exit Empathy.

Changed in telepathy-butterfly:
importance: Unknown → Medium
status: Confirmed → Fix Released
Revision history for this message
Eyad Salah (eyad-salah) wrote :

How come I'm still getting this error if a fix was released?

Revision history for this message
Leonardo Santagada (santagada) wrote :

I'm also getting this error, and it is not related to the network going down, just going online makes this error happen.

Revision history for this message
alexandre felix (afx-felix) wrote :

Não compativel com Nvidia Fx5500 em Ubuntu 10.10

Changed in telepathy-butterfly (Ubuntu Lucid):
status: Fix Released → Confirmed
Martin Pitt (pitti)
Changed in telepathy-butterfly (Ubuntu Lucid):
status: Confirmed → Fix Released
Revision history for this message
Darren Worrall (dazworrall) wrote :

Getting this on maverick consistently by changing my default gateway.

apt-cache policy telepathy-butterfly
telepathy-butterfly:
  Installed: 0.5.14-1
  Candidate: 0.5.14-1
  Version table:
 *** 0.5.14-1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Id2ndR (id2ndr) wrote :

I'm also getting this on maverick just after resuming (from RAM).

Revision history for this message
Id2ndR (id2ndr) wrote :

Apport sended me to this bug... even if it normaly doesn't exist since it has been fixed.

Revision history for this message
valkyr (locki) wrote :

Crashed on Maverick too. MSN has been playing up the last few days, requiring telepathy-butterfly be killed in order to connect.

Revision history for this message
Id2ndR (id2ndr) wrote :

For the crash at resume, I think this is Bug #497746.

Changed in telepathy-butterfly:
importance: Medium → Unknown
Changed in telepathy-butterfly:
importance: Unknown → Medium
Revision history for this message
Brian Proffitt (brian-proffitt) wrote : We always can get you the best on price you want.

CHRISTMAS SALE!!!

> You always dreamed of getting gorgeous watches as presents for christmas but couldn't pay for it? Thanks to our site anybody can have this comfort regardless his profits. We have lots of brands to decide from for men and women, for informal wear and special occasions. The watch of your vision has become reasonable today.

> We care about every our client as only the best presents with highest quality are offered to you by Prestige to chose the gifts to your relatives, friends and colleagues for Christmas and New Year holidays.

***************************************************
"By this e-mail I want to tell you that I have reiceived my two replica watches on last Wednesday. They are very nice. I hope I will buy someone more."

                     Margret Fletcher
***************************************************

CLICK HERE --->>> http://mahen.ru

------------------------
--------------
------
15% DISCOUNT FOR EVERY $250 OR MORE ORDER!!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.