Bug 26700

Summary: Possible race or something which is causing embarrassing traceback.
Product: Telepathy Reporter: David Laban <david.laban>
Component: fargoAssignee: David Laban <david.laban>
Status: NEW --- QA Contact: Simon McVittie <smcv>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description David Laban 2010-02-22 07:23:49 UTC
Found during load testing. Not sure whether all of this information is useful, but:

2010-02-22 11:46:44,833 dbus.connection E: Exception in handler for D-Bus signal:
Traceback (most recent call last):                                               
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)                                                              
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 575, in __on_status_changed                                                                                          
    self.invalidate()                                                                              
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 341, in invalidate
    do_reply(h)                                                                                    
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/util.py", line 255, in do_reply               
    reply_handler[0](*(reply_handler[1:] + args))                                                  
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 653, in weak_invalidate                                                                                              
    o.invalidate()                                                                                 
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 341, in invalidate
    do_reply(h)                                                                                    
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/util.py", line 259, in do_reply               
    reply_handler(*args)                                                                           
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 179, in channel_invalidated 
    message=self.channel.termination_message)                                                      
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 481, in terminate           
    self.send(self.__session_initiate_stanza())                                                    
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 500, in __session_initiate_stanza                                                                                              
    stream.insert_content_element(jingle)                                                          
AttributeError: 'NoneType' object has no attribute 'insert_content_element'                        
2010-02-22 11:46:45,847 fargo.channel E: GetSessionHandlers() on /org/freedesktop/Telepathy/Connection/sofiasip/sip/initiator30_40cross_2evirt/MediaChannel0:                                         
Traceback (most recent call last):                                                                 
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 588, in handle_incoming_call
    session_handlers = yield self[SIGNALLING].GetSessionHandlers()                                 
DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetSessionHandlers" with signature "" on interface "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling" doesn't exist  

Followed quite closely by:

2010-02-22 11:46:45,848 fargo.channel E: GetAll(GROUP) on /org/freedesktop/Telepathy/Connection/sofiasip/sip/initiator30_40cross_2evirt/MediaChannel0:                                                
Traceback (most recent call last):                                                                 
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 608, in __get_group         
    group_props = yield self[GROUP].get_all_properties()                                           
DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

followed quite closely by:

2010-02-22 11:46:46,376 dbus.connection E: Exception in handler for D-Bus signal:
Traceback (most recent call last):                                               
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)                                                              
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 575, in __on_status_changed                                                                                          
    self.invalidate()                                                                              
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 341, in invalidate
    do_reply(h)                                                                                    
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/util.py", line 255, in do_reply               
    reply_handler[0](*(reply_handler[1:] + args))                                                  
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 653, in weak_invalidate                                                                                              
    o.invalidate()                                                                                 
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/twisted_telepathy.py", line 341, in invalidate
    do_reply(h)                                                                                    
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/util.py", line 259, in do_reply               
    reply_handler(*args)                                                                           
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 179, in channel_invalidated 
    message=self.channel.termination_message)                                                      
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 481, in terminate           
    self.send(self.__session_initiate_stanza())                                                    
  File "/srv/tpfargo/telepathy-fargo/telepathy_fargo/channel.py", line 500, in __session_initiate_stanza                                                                                              
    stream.insert_content_element(jingle)                                                          
AttributeError: 'NoneType' object has no attribute 'insert_content_element'

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.