Re: [g-a-devel] Strange crashes with pyatspi



Hi Li,

Li Yuan wrote:
Hi Zack,

Zack Cerza wrote:
Hi all,

So I've been working on a port[0] of dogtail to pyatspi whenever I've been able to for the last few months, and I'm having one major problem: Sometimes the entire session just crashes. That's right, the whole session. :(

I've spent a lot of time trying to debug this to no avail. The furthest I've gotten is that sometimes at-spi-registryd gets a SIGABRT, and exits. The next time dogtail (or even accerciser) starts after this, the session goes *BOOM*. Even toggling /desktop/gnome/interface/accessibility to 'false', and then to 'true' after at-spi-registryd dies will trigger this.

The most reliable way I've found to reproduce the problem is:

1 Run accerciser.
2 Run sniff (from dogtail).
3 Here, one of them might hang.
4 Close both (^C or kill if necessary).
5 Here, at-spi-registryd dies.
Do you have a trace for this crash?

Thanks,
Li

Heh, so I spent some time trying to reproduce the crash, and eventually gave up for a while, leaving gdb attached to at-spi-registryd. I resumed porting dogtail, and after a couple hours I got one :)

Attached. Thanks for taking a look.

Zack

6 Run sniff or accerciser.
7 Here, the session goes down, and you get GDM back.

I don't know much else about what's causing this, but it's definitely a blocker for ditching the mess that is pyspi (even though pyspi is very broken in F7). Any help I could get would be greatly appreciated.

Thanks,
Zack

[0] http://svn.gnome.org/viewcvs/dogtail/branches/pyatspi/
_______________________________________________
Gnome-accessibility-devel mailing list
Gnome-accessibility-devel gnome org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel


Program received signal SIGABRT, Aborted.
[Switching to Thread -1208440624 (LWP 18258)]
0x00110402 in __kernel_vsyscall ()
(gdb) t a a bt

Thread 1 (Thread -1208440624 (LWP 18258)):
#0  0x00110402 in __kernel_vsyscall ()
#1  0x47f56fa0 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x47f588b1 in *__GI_abort () at abort.c:88
#3  0x0057114a in IA__g_logv (log_domain=<value optimized out>,
    log_level=G_LOG_LEVEL_ERROR,
    format=0x7b4090 "Attempted to marshal a bogus / dead object %p type",
    args1=0xbff871fc "��\b|�v") at gmessages.c:497
#4  0x00571189 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
    format=0x7b4090 "Attempted to marshal a bogus / dead object %p type")
    at gmessages.c:517
#5  0x00793c3e in ORBit_marshal_object () from /usr/lib/libORBit-2.so.0
#6  0x00799d7e in ORBit_marshal_value () from /usr/lib/libORBit-2.so.0
#7  0x00799f6b in ORBit_marshal_arg () from /usr/lib/libORBit-2.so.0
#8  0x00792174 in ORBit_small_invoke_adaptor () from /usr/lib/libORBit-2.so.0
#9  0x007a2526 in ?? () from /usr/lib/libORBit-2.so.0
#10 0x007a2bd2 in ?? () from /usr/lib/libORBit-2.so.0
#11 0x007a3723 in ?? () from /usr/lib/libORBit-2.so.0
#12 0x007a4b02 in ORBit_handle_request () from /usr/lib/libORBit-2.so.0
#13 0x0078db37 in giop_connection_handle_input () from /usr/lib/libORBit-2.so.0
#14 0x007ab75d in ?? () from /usr/lib/libORBit-2.so.0
---Type <return> to continue, or q <return> to quit---
#15 0x007ae64e in ?? () from /usr/lib/libORBit-2.so.0
#16 0x005687f2 in IA__g_main_context_dispatch (context=0x8a782b8)
    at gmain.c:2045 
#17 0x0056b7cf in g_main_context_iterate (context=0x8a782b8, block=1,
    dispatch=1, self=0x8a71540) at gmain.c:2677
#18 0x0056bd35 in IA__g_main_context_iteration (context=0x8a782b8, may_block=1)
    at gmain.c:2736 
#19 0x007a9ec7 in link_main_iteration () from /usr/lib/libORBit-2.so.0
#20 0x0078d297 in giop_recv_buffer_get () from /usr/lib/libORBit-2.so.0
#21 0x0079159b in ORBit_small_invoke_stub () from /usr/lib/libORBit-2.so.0
#22 0x007917be in ORBit_small_invoke_stub_n () from /usr/lib/libORBit-2.so.0
#23 0x0079ea22 in ORBit_c_stub_invoke () from /usr/lib/libORBit-2.so.0
#24 0x00896c7f in Bonobo_Unknown_ref () from /usr/lib/libbonobo-activation.so.4
#25 0x008ef9e9 in bonobo_object_dup_ref () from /usr/lib/libbonobo-2.so.0
#26 0x0804bb36 in ?? ()
#27 0x007f69c1 in _ORBIT_skel_small_Accessibility_Accessible_getChildAtIndex ()
   from /usr/lib/libspi.so.0
#28 0x0079e7f7 in ?? () from /usr/lib/libORBit-2.so.0
#29 0x007a4965 in ORBit_OAObject_invoke () from /usr/lib/libORBit-2.so.0
#30 0x00791d0c in ORBit_small_invoke_adaptor () from /usr/lib/libORBit-2.so.0
#31 0x007a2526 in ?? () from /usr/lib/libORBit-2.so.0
#32 0x007a2bd2 in ?? () from /usr/lib/libORBit-2.so.0
#33 0x007a3723 in ?? () from /usr/lib/libORBit-2.so.0
---Type <return> to continue, or q <return> to quit---
#34 0x007a4b02 in ORBit_handle_request () from /usr/lib/libORBit-2.so.0
#35 0x0078db37 in giop_connection_handle_input () from /usr/lib/libORBit-2.so.0
#36 0x007ab75d in ?? () from /usr/lib/libORBit-2.so.0
#37 0x007ae64e in ?? () from /usr/lib/libORBit-2.so.0
#38 0x005687f2 in IA__g_main_context_dispatch (context=0x8a783e8)
    at gmain.c:2045 
#39 0x0056b7cf in g_main_context_iterate (context=0x8a783e8, block=1,
    dispatch=1, self=0x8a71540) at gmain.c:2677
#40 0x0056bb79 in IA__g_main_loop_run (loop=0x8a9bbd0) at gmain.c:2881
#41 0x008ea7e3 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#42 0x0804f3dd in main ()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]