Gwibber "hangs" after a while or after loosing network connection

Bug #367583 reported by Andres Mujica
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gwibber

Release of Ubuntu: 9.04
Package Version: 0.8-0ubuntu5
Expected Results: work without hangs
Actual Results: After a while (2-3 hours) or after loosing the network connection it hangs, the window gets white and unresponsive. It must be killed and started again

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: gwibber 0.8-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANG=es_CO.UTF-8
 SHELL=/bin/bash
SourcePackage: gwibber
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Andres Mujica (andres.mujica) wrote :
Revision history for this message
Andres Mujica (andres.mujica) wrote :

When starting from console, the hang occurs after the "Exception in thread Thread-2:"

 gwibber
/usr/lib/python2.6/dist-packages/gwibber/microblog/support/facelib.py:47: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 991, in process
    self.manage_indicator_items(view.message_store, tab_num=self.tabs.page_num(tab))
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 948, in manage_indicator_items
    if not self.is_gwibber_active():
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 945, in is_gwibber_active
    return self.window.xid == screen.get_active_window().get_xid()
AttributeError: 'NoneType' object has no attribute 'get_xid'

Revision history for this message
Andres Mujica (andres.mujica) wrote :
Download full text (3.6 KiB)

an strace shows:

ps ax | grep gwibber
22997 pts/0 Sl+ 0:05 /usr/bin/python /usr/bin/gwibber
25061 pts/1 S+ 0:00 grep gwibber
andres@vostro:~$ strace -p 22997
Process 22997 attached - interrupt to quit
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
futex(0x9ca8e88, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTAR...

Read more...

Revision history for this message
wakingrufus (wakingrufus) wrote :

i get the same error with package 0.9.2~bzr263-0ubuntu1~jaunty
from http://ppa.launchpad.net/gwibber-team/ppa/ubuntu

Revision history for this message
wakingrufus (wakingrufus) wrote :

this is the exact error i get in 0.9.2~bzr263-0ubuntu1~jaunty:
Exception in thread Thread-90:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 1094, in process
    self.manage_indicator_items(view.message_store, tab_num=self.tabs.page_num(tab))
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 1050, in manage_indicator_items
    if not self.is_gwibber_active():
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 1047, in is_gwibber_active
    return self.window.xid == screen.get_active_window().get_xid()
AttributeError: 'NoneType' object has no attribute 'get_xid'

Revision history for this message
wakingrufus (wakingrufus) wrote :

This is 100% reproducible on my machine via losing network connection. I have never had it happen just "after awhile" though. it always occurs at the time of a network disconnect.

Revision history for this message
Alexander Sack (asac) wrote :

this is fixed for me in current karmic gwibber: 1.2.0~bzr346-0ubuntu1

Changed in gwibber (Ubuntu):
status: New → Fix Released
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.