Bug 770894

Summary: Caribou daemon will cause the gnome-shell crash some times
Product: [Fedora] Fedora Reporter: Tony <tonyqu>
Component: caribouAssignee: Parag Nemade <pnemade>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-18 15:38:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
var_log_messages
none
maps none

Description Tony 2011-12-30 02:26:34 UTC
Description of problem:
Caribou daemon  will cause the gnome-shell crash some times 

Version-Release number of selected component (if applicable):

Fedora release 16(Verne)
gnome-shell: gnome-shell-3.2.1-2.fc16.i686
caribou: caribou-0.4.0-1.fc16.i686 (the latest 0.4.1-3 also has this problem)
at-spi2-core-2.2.1-2.fc16.i686
pyatspi-2.2.1-1.fc16.noarch

How reproducible:
Enable the on screen-keyboard, and keep the caribou daemon running,click the icon on status bar ,click the Activities , let the focus switching  among different applications repeatedly, gnome-shell may crash sometimes.  
Or let the system idle for several minutes  ,then click any icons,gnome-shell may crash sometimes.

Steps to Reproduce:

Fast reproduce the issue can by the following steps.
1.Open gnome-terminal ,kill the caribou process existed, then execute the command 'caribou'.
2.Let the focus switching  among different applications repeatedly.
3.gnome-shell may crash sometimes.
  
Actual results:


Expected results:


Additional info:
Crash error info shown on terminal:
** (-c:1562): WARNING **: at-spi: Got no message at atspi-accessible.c line 672


** (-c:1562): WARNING **: at-spi: Got no message at atspi-accessible.c line 672


** (-c:1562): WARNING **: at-spi: Got no message at atspi-accessible.c line 672


** (-c:1562): WARNING **: at-spi: Got no message at atspi-accessible.c line 672


** (-c:1562): WARNING **: at-spi: Got no message at atspi-accessible.c line 672

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyatspi/registry.py", line 193, in eventWrapper
    return callback(event)
  File "/usr/lib/python2.7/site-packages/caribou/daemon/main.py", line 145, in on_focus
    self._set_entry_location(acc)
  File "/usr/lib/python2.7/site-packages/caribou/daemon/main.py", line 127, in _set_entry_location
    self.keyboard_proxy.SetCursorLocation(bx, by, bw, bh)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.45 was not provided by any .service files
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyatspi/registry.py", line 193, in eventWrapper
    return callback(event)
  File "/usr/lib/python2.7/site-packages/caribou/daemon/main.py", line 145, in on_focus
    self._set_entry_location(acc)
  File "/usr/lib/python2.7/site-packages/caribou/daemon/main.py", line 127, in _set_entry_location
    self.keyboard_proxy.SetCursorLocation(bx, by, bw, bh)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.45 was not provided by any .service files

Comment 1 Tony 2011-12-30 03:03:33 UTC
When I try to print the event information in  
File "/usr/lib/python2.7/site-packages/pyatspi/registry.py", line 193, in
eventWrapper 
every time gnome-shell crashes will print the 'invalid' information as below:

object:state-changed:focused(0, 0, 0)
	source: [canvas | ]
	host_application: [application | gnome-shell]
object:state-changed:focused(1, 0, 0)
	source: [invalid | ]
	host_application: [application | gnome-shell]
focus:(0, 0, 0)
	source: [invalid | ]
	host_application: [application | gnome-shell]
object:state-changed:focused(1, 0, 0)
	source: [invalid | ]
	host_application: [application | gnome-shell]
object:text-caret-moved(687, 0, 0)
	source: [terminal | Terminal]
	host_application: [application | gnome-terminal]

Comment 2 Tony 2011-12-30 03:05:11 UTC
Created attachment 550011 [details]
var_log_messages

Comment 3 Tony 2011-12-30 03:05:53 UTC
Created attachment 550012 [details]
maps

Comment 4 Parag Nemade 2012-07-06 13:53:28 UTC
Does this happen against current caribou-0.4.1-3.fc16?

Comment 5 Parag Nemade 2012-12-18 15:38:00 UTC
Please test the new caribou in either F18 or F19.