GNOME Bugzilla – Bug 528617
__accessible.getChildAtIndex does not return
Last modified: 2009-01-19 08:51:43 UTC
Please describe the problem: debugging dogtail, I ended up in tree.py. This snippet is around line 465 of tree.py. elif attr == "children": if self.__hideChildren: return children = [] for i in xrange (self.__accessible.getChildCount ()): if isinstance(self, Root): try: a = self.__accessible.getChildAtIndex (i) except atspi.SpiException: import traceback logger.log(traceback.format_exc()) else: a = self.__accessible.getChildAtIndex (i) At some point, I can see try: a = self.__accessible.getChildAtIndex (i) getting called but then it never returns. Is this somehow known or can anyone suggest howto debug this further? Steps to reproduce: 1. setup: debian system at-spi 1.22.1-1 python-at-spi 0.6.1-1.1 python-dogtail 0.6.1-3 or subversion head 2. run sniff or recorder 3. they get stuck in the line mentioned above Actual results: Expected results: Does this happen every time? yes Other information:
using strace, I can see that it's a call to poll() that does not return. read(24, "GIOP\1\2\1\0010\0\0\0", 12) = 12 read(24, "\360C\337\277\0\0\0\0\1\0\0\0\1\0\0\0\f\0\0\0\1\1\1\1\1"..., 48) = 48 writev(24, [{"GIOP\1\2\1\0T\0\0\0", 12}, {"0A\337\277\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0 :\f`\5\32h"..., 84}], 2) = 96 poll([{fd=4, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=24, events=POLLIN|POLLPRI, revents=POLLIN}], 12, -1) = 1 read(24, "GIOP\1\2\1\0010\0\0\0", 12) = 12 read(24, "0A\337\277\0\0\0\0\1\0\0\0\1\0\0\0\f\0\0\0\1\1\1\1\1\0"..., 48) = 48 writev(17, [{"GIOP\1\2\1\0`\0\0\0", 12}, {"PI\337\277\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\366\226T\320"..., 96}], 2) = 108 poll(
You say you've reproduced it with dogtail svn. Can you try again and post a traceback? Note that dogtail-svn doesn't use python-at-spi (from the pyspi source package) but uses new python bindings from the at-spi source package called (on Fedora) at-spi-python.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!