GNOME Bugzilla – Bug 637621
Orca crashes, logs me out
Last modified: 2011-01-24 21:12:47 UTC
I have tried gnome-orca many times, it always crashes on me. I use ubuntu 10.10 After another effort today this is what I got. $ orca --debug --debug-file=debug2.txt ** (orca:11632): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags' ** (orca:11632): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags' ** (orca:11632): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags' Traceback (most recent call last):
+ Trace 225197
init(pyatspi.Registry)
registry.registerEventListener(_onChildrenChanged,
raise RuntimeError('Could not find or activate registry')
# /usr/lib/at-spi/at-spi-registryd --version (process:17352): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.27.2/gobject/gtype.c:2710: You forgot to call g_type_init() (process:17352): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (process:17352): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed Segmentation fault $ uname -a Linux head 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux $ pulseaudio --version pulseaudio 0.9.21-63-gd3efa-dirty $ apt-cache policy python python: Installed: 2.6.6-2ubuntu2 Candidate: 2.6.6-2ubuntu2 Version table: *** 2.6.6-2ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ maverick-updates/main i386 Packages 100 /var/lib/dpkg/status 2.6.6-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ maverick/main i386 Packages $ lspci 00:00.0 Host bridge: Intel Corporation E7525 Memory Controller Hub (rev 0a) 00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A (rev 0a) 00:03.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A1 (rev 0a) 00:04.0 PCI bridge: Intel Corporation E7525/E7520 PCI Express Port B (rev 0a) 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 RAID bus controller: Intel Corporation 82801ER (ICH5R) SATA Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 10) 02:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09) 02:00.1 PIC: Intel Corporation 6700/6702PXH I/OxAPIC Interrupt Controller A (rev 09) 02:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09) 02:00.3 PIC: Intel Corporation 6700PXH I/OxAPIC Interrupt Controller B (rev 09) 04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 05:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] 05:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary) 06:02.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster 06:04.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
So it looks like something bad happened to your registry (which is not part of Orca.) With apologies, and at the risk of asking "is it plugged in": 1. You do have AT support enabled for your session? 2. You logged out and back in after having enabled it for the first time? 3. ps -elf | grep registry should actually find something like: 0 S jd 1529 1479 0 80 0 - 5245 poll_s Dec18 ? 00:05:30 /usr/lib/at-spi/at-spi-registryd
One more question: What do you get if you try to launch Accerciser under the same conditions?
1. I do not need it, but I try this out for the Ubuntu accessibility team. so, yes :) 2. I did, 2 months ago .. 3. $ ps -elf | grep registry 0 S keimpe 4796 2532 0 80 0 - 1002 pipe_w 02:06 pts/2 00:00:00 grep --color=auto registry 0 S keimpe 20265 20159 0 80 0 - 6076 poll_s 00:39 ? 00:00:07 /usr/lib/at-spi/at-spi-registryd 4. Which executable is Accerciser ?
(In reply to comment #3) > 4. Which executable is Accerciser ? http://live.gnome.org/Accerciser
I have installed accerciser looks interesting, have still to figure out what it can do. meanwhile that is also giving me errors on several of the applications on the left pane, it shows: Traceback (most recent call last):
+ Trace 225205
return self.func(*args, **kwargs)
ints = pyatspi.listInterfaces(acc)
io = obj.queryInterface(getInterfaceIID(ic)) OBJECT_NOT_EXIST
(In reply to comment #5) > I have installed accerciser > looks interesting, have still to figure out what it can do. All sorts of very cool things that all members of the Ubuntu accessibility team should be well-versed in. ;-) I think you'll find it quite handy as you work. > meanwhile that is also giving me errors > on several of the applications on the left pane, it shows: Yeah.... It really seems to me that *something* has gone horribly awry in your local environment to AT-SPI. :-( I have several Ubuntu boxes (Maverick and Natty) and cannot reproduce these issues. In addition, the majority of Orca users seem to be Ubuntu users. Plus you have Luke. And you are the first person encountering these problems. So, any ideas what you might have changed? Do you have a spare system on which you can test that a clean Ubuntu Maverick install works with Orca and Accerciser?
You're in luck, we have an ubuntu family, I have plenty of ubuntu 10.04.1 and 10.10 boxes to my avail. I will read up on Accerciser, to see what it can do for me. If my AT-SPI register has failed, I really would like to make a backup of this, see what it is, that is creating havoc and prevent it from happening again. Can you tell me how to easily do that ? I think we may have had many more disappointed users. such files would be attached here of course :) I have not heard from Luke in a long time. Pendulum says Hi. Changes... I do a lot of testing, so it could be anything.
Hmmm.... On the one hand, this is not an Orca bug and I don't know exactly what you should be backing up in terms of the registry. On the other hand, I really appreciate your work in testing and want to help. So, the best thing I can think of to do is CC Mike Gorse on this bug. Mike's been doing the D-Bus AT-SPI implementation, so he will hopefully be able to give you some hints. Thanks in advance Mike!
can we close this someow, seeing as its not a bug in orca or any other part of gnoem so far as we can see?
I am still waiting on contact form mike. I have looked at at-spi registry, but I am really puzzled here, maybe it is not orca failing, I don know, but to leave me hanging here, while I want to make a backup to send of before I reinstall these parts.... so please mike, respond.
After a month still no response from Mike ... Noone can help me how to make backup of the registry ?
Sorry--I can't think of anything to suggest, unless you're starting Orca from a console without setting $DISPLAY. If you've built ORBit from source, then perhaps it is looking for something in a different path from where at-spi-registryd is putting it, but I'm not really an expert on it. I'd suggest writing to gnome-accessibility-list or gnome-accessibility-devel (http://mail.gnome.org/mailman/listinfo) to see if anyone has any suggestions.
Thanks Mike! Given that this is not an Orca bug, but instead seems to be a problem with the local configuration/installation; and given that Mike has provided resources where the requested help can be found, I'm going to close this bug out.