telepathy-butterfly crashed with KeyError in __getitem__()

Bug #450951 reported by Marcelo Messias
172
This bug affects 31 people
Affects Status Importance Assigned to Milestone
telepathy-butterfly
Confirmed
Medium
telepathy-butterfly (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: telepathy-butterfly

Ubuntu upgraded from 9.04

ProblemType: Crash
Architecture: amd64
Date: Wed Oct 14 01:00:57 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/telepathy/telepathy-butterfly
InterpreterPath: /usr/bin/python2.6
Package: telepathy-butterfly 0.5.0-0ubuntu3
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/telepathy/telepathy-butterfly
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=pt_BR.UTF-8
 LANG=pt_BR.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.46-generic
PythonArgs: ['/usr/lib/telepathy/telepathy-butterfly']
SourcePackage: telepathy-butterfly
Title: telepathy-butterfly crashed with KeyError in __getitem__()
Uname: Linux 2.6.31-14-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (gnome-settings-daemon:1574): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1574): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:1598): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1631): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Marcelo Messias (marcelomes) 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 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.

Changed in telepathy-butterfly (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Marco PE1NZJ (pe1nzj) wrote :

This bug also appears in ubuntu 10 beta.

after starting a audio conference empathy crashes with this bug.
normal chat (typing messages) goes without any problems

tags: added: bugpattern-needed
Revision history for this message
In , Markus Korn (thekorn) wrote :

This issue has originally been reported by Marcelo Messias and others at Launchpad: https://launchpad.net/bugs/450951

The reported Tracebacks are looking like:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/session_manager.py", line 53, in <lambda>
    lambda tr, blob: self._on_blob_received(blob))
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/session_manager.py", line 164, in _on_blob_received
    session = self._sessions[session_id]
  File "/usr/lib/python2.6/weakref.py", line 54, in __getitem__
    o = self.data[key]()
KeyError: 1098564

The version of papyon used is 0.4.5

I had I quick look at the code, line 164 of session_manger.py makes no sense to me. If session is None, it is None because ._get_session() returned None, and this is because session_id was not found in the ._sessions dict.
What about replacing this line with "return None"?

Thanks,
Markus

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

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

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

The bug is still getting duplicates in lucid

Changed in telepathy-butterfly (Ubuntu):
status: Incomplete → Confirmed
Changed in telepathy-butterfly (Ubuntu):
status: Confirmed → Triaged
Markus Korn (thekorn)
tags: added: bugpattern-written
removed: bugpattern-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could somebody having the bug 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:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in telepathy-butterfly:
importance: Medium → Unknown
Changed in telepathy-butterfly:
importance: Unknown → Medium
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.