Bug 770894 - Caribou daemon will cause the gnome-shell crash some times
Summary: Caribou daemon will cause the gnome-shell crash some times
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: caribou
Version: 16
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-30 02:26 UTC by Tony
Modified: 2012-12-18 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-18 15:38:00 UTC
Type: ---


Attachments (Terms of Use)
var_log_messages (18.42 KB, application/octet-stream)
2011-12-30 03:05 UTC, Tony
no flags Details
maps (50.33 KB, patch)
2011-12-30 03:05 UTC, Tony
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.