[Pidgin] #9864: [a11y] Attempting to get default text attributes crashes Pidgin Gtk
Pidgin
trac at pidgin.im
Fri Aug 7 13:46:44 EDT 2009
#9864: [a11y] Attempting to get default text attributes crashes Pidgin Gtk
---------------------------+------------------------------------------------
Reporter: JoanieDiggs | Owner:
Type: defect | Status: new
Milestone: | Component: pidgin (gtk)
Version: 2.5.8 | Resolution:
Keywords: accessibility |
---------------------------+------------------------------------------------
Description changed by JoanieDiggs:
Old description:
> Steps to reproduce:
>
> 1. Launch Pidgin and Accerciser (http://live.gnome.org/Accerciser)
>
> 2. In Pidgin open a chat window
>
> 3. In Accerciser, select the accessible associated with the editable text
> object at the bottom of the window.*
>
> 4. In Accerciser, switch to the Interface Viewer, expand Text (Editable),
> and check the 'Include defaults' checkbox.*
>
> * I'll attach a screenshot in case you're not familiar with Accerciser.
>
> Expected results: Pidgin would not crash.
>
> Actual results: Pidgin crashes 100% of the time.
>
> =======================
> In OpenSolaris:
> =======================
>
> {{{
> $pstack core
> core 'core' of 4802: pidgin
> fca31a97 _lwp_kill (1, 6, 8046e28, fc9dabfe) + 7
> fc9dac0a raise (6, 0, 8046e78, fc9b207a) + 22
> fc9b209a abort (fcac00d8, fcefa278, 8046ea8, fcee83ec, 38363131,
> 8e62000) + f2
> fce78937 g_assertion_message (0, fe924c68, 490, fe923340, 8df3930) + db
> fce78984 g_assertion_message_expr (0, fe924c68, 490, fe923340, fe924b7c,
> 83dcc60) + 40
> fe92190a atk_text_attribute_get_value (16) + 1ca
> f6fc318c gail_misc_add_to_attr_set (8ec0388, 8e620c0, 16) + fc
> fa5d6cf0 gail_text_view_get_default_attributes (8ec70a8, 81b5c48,
> 8046f98, fe920dc2) + 88
> fe920de0 atk_text_get_default_attributes (8ec70a8) + 4c
> f9e2b668 impl_getDefaultAttributes (89da7c4, 8047204, fcabf000, 804700c)
> + 30
> f9e21330 _ORBIT_skel_small_Accessibility_Text_getDefaultAttributes
> (89da7c4, 8047070, 0, 80470b4, 8047204, f9e2b638) + 14
> f9ee53dd ORBit_POAObject_invoke (89ed7c8, 8047070, 0, 80470b4, 804714c,
> 8047204) + 25
> f9ee9c14 ORBit_OAObject_invoke (89ed7c8, 8047070, 0, 80470b4, 804714c,
> 8047204) + 24
> f9ed62d3 ORBit_small_invoke_adaptor (89ed7c8, 8ebee90, f9e45438,
> 804714c, 8047204, 8ebee54) + 2bf
> f9ee5847 ORBit_POAObject_handle_request (89ed7c8, 8ebee54, 0, 0, 0,
> 8ebee90) + 34b
> f9ee5c8b ORBit_POAObject_invoke_incoming_request (89ed7c8, 8ebee90,
> 8047204, f9ee60f9) + 4f
> f9ee6170 ORBit_POA_handle_request (81ad630, 8ebee90, 8ebeea8, f9ee99ae)
> + 31c
> f9ee99ed ORBit_handle_request (81a8df0, 8ebee90, 0, 0) + 4d
> f9ed2dbf giop_connection_handle_input (8db2108, f9f0c404, 804733c,
> f9ef05b7) + 31b
> f9ef05c2 link_connection_io_handler (0, 1, 8db2108, f9ef25e0, 0) + 76
> f9ef261c link_source_dispatch (8ec0500, f9ef054c, 8db2108, 80473c4) + 48
> fce52d5a g_main_context_dispatch (81776c0, 0, 8d6ed58, e) + 262
> fce533fd g_main_context_iterate (81776c0, 1, 1, 814d990) + 475
> fce53a71 g_main_loop_run (89c8880, 89c8880, 0, feb7286e) + 1dd
> feb72917 gtk_main (feffb804, 0, b48, feffb804, 8133064, 1) + b7
> 080e7837 main (1, 8047a34, 8047a3c, 808a05f) + be7
> 0808a0bd _start (1, 8047b44, 0, 8047b4b, 8047b8e, 8047bcc) + 7d
>
> }}}
>
> =======================
> In Ubuntu:
> =======================
>
> {{{
> (gdb) thread apply all bt
> Thread 2 (Thread 0xb7f8fb90 (LWP 18680)):
> #0 0x00b65422 in __kernel_vsyscall ()
> #1 0x0178e331 in select () from /lib/tls/i686/cmov/libc.so.6
> #2 0x0168d4ca in ?? () from /usr/lib/libtcl8.4.so.0
> #3 0x00c7d4df in start_thread (arg=0xb7f8fb90) at pthread_create.c:300
> #4 0x01795f3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
>
> Thread 1 (Thread 0xb80bc730 (LWP 18679)):
> #0 0x00b65422 in __kernel_vsyscall ()
> #1 0x016de4c0 in *__GI_raise (sig=6)
> at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #2 0x016e1b75 in *__GI_abort () at abort.c:88
> #3 0x003d9c3d in IA__g_assertion_message (domain=0x0,
> file=0x25552f "atktext.c", line=1168,
> func=0x255742 "atk_text_attribute_get_value",
> message=0x8e24b10 "assertion failed: (index >= 0 && index <
> G_N_ELEMENTS (wrap_mode_offsets))") at
> /build/buildd/glib2.0-2.21.3/glib/gtestutils.c:1301
> #4 0x003da28d in IA__g_assertion_message_expr (domain=0x0,
> file=0x25552f "atktext.c", line=1168,
> func=0x255742 "atk_text_attribute_get_value",
> expr=0x2553e0 "index >= 0 && index < G_N_ELEMENTS
> (wrap_mode_offsets)")
> at /build/buildd/glib2.0-2.21.3/glib/gtestutils.c:1312
> #5 0x00250182 in atk_text_attribute_get_value
> (attr=ATK_TEXT_ATTR_WRAP_MODE,
> index=6) at atktext.c:1168
> #6 0x00ad65ab in gail_misc_add_to_attr_set (attrib_set=0x8e111b0,
> attrs=0x8e21748, attr=ATK_TEXT_ATTR_WRAP_MODE)
> at /build/buildd/gtk+2.0-2.17.5/modules/other/gail/libgail-
> util/gailmisc.c:638
> #7 0x00b99dc7 in gail_text_view_get_default_attributes (text=0x8a4f768)
> at /build/buildd/gtk+2.0-2.17.5/modules/other/gail/gailtextview.c:680
> #8 0x00250d29 in atk_text_get_default_attributes (text=0x8a4f768)
> at atktext.c:673
> #9 0x00e21ace in impl_getDefaultAttributes (servant=0x8586d34,
> ev=0xbffe77cc)
> at text.c:310
> #10 0x00e163d6 in
> _ORBIT_skel_small_Accessibility_Text_getDefaultAttributes (
> _o_servant=0x8586d34, _o_retval=0xbffe7620, _o_args=0x0,
> _o_ctx=0xbffe76b8, _o_ev=0xbffe77cc,
> _impl_getDefaultAttributes=0xe21aa0 <impl_getDefaultAttributes>)
> at Accessibility-common.c:764
> #11 0x0142f537 in ?? () from /usr/lib/libORBit-2.so.0
> #12 0x08586d34 in ?? ()
> #13 0xbffe7620 in ?? ()
> #14 0x00000000 in ?? ()
> }}}
New description:
Steps to reproduce:
0. Enable assistive technologies (System->Preferences->Assistive
Technologies) for the GNOME desktop, log out and back in.
1. Launch Pidgin and Accerciser (http://live.gnome.org/Accerciser)
2. In Pidgin open a chat window
3. In Accerciser, select the accessible associated with the editable text
object at the bottom of the window.*
4. In Accerciser, switch to the Interface Viewer, expand Text (Editable),
and check the 'Include defaults' checkbox.*
* I'll attach a screenshot in case you're not familiar with Accerciser.
Expected results: Pidgin would not crash.
Actual results: Pidgin crashes 100% of the time.
=======================
In OpenSolaris:
=======================
{{{
$pstack core
core 'core' of 4802: pidgin
fca31a97 _lwp_kill (1, 6, 8046e28, fc9dabfe) + 7
fc9dac0a raise (6, 0, 8046e78, fc9b207a) + 22
fc9b209a abort (fcac00d8, fcefa278, 8046ea8, fcee83ec, 38363131,
8e62000) + f2
fce78937 g_assertion_message (0, fe924c68, 490, fe923340, 8df3930) + db
fce78984 g_assertion_message_expr (0, fe924c68, 490, fe923340, fe924b7c,
83dcc60) + 40
fe92190a atk_text_attribute_get_value (16) + 1ca
f6fc318c gail_misc_add_to_attr_set (8ec0388, 8e620c0, 16) + fc
fa5d6cf0 gail_text_view_get_default_attributes (8ec70a8, 81b5c48,
8046f98, fe920dc2) + 88
fe920de0 atk_text_get_default_attributes (8ec70a8) + 4c
f9e2b668 impl_getDefaultAttributes (89da7c4, 8047204, fcabf000, 804700c)
+ 30
f9e21330 _ORBIT_skel_small_Accessibility_Text_getDefaultAttributes
(89da7c4, 8047070, 0, 80470b4, 8047204, f9e2b638) + 14
f9ee53dd ORBit_POAObject_invoke (89ed7c8, 8047070, 0, 80470b4, 804714c,
8047204) + 25
f9ee9c14 ORBit_OAObject_invoke (89ed7c8, 8047070, 0, 80470b4, 804714c,
8047204) + 24
f9ed62d3 ORBit_small_invoke_adaptor (89ed7c8, 8ebee90, f9e45438, 804714c,
8047204, 8ebee54) + 2bf
f9ee5847 ORBit_POAObject_handle_request (89ed7c8, 8ebee54, 0, 0, 0,
8ebee90) + 34b
f9ee5c8b ORBit_POAObject_invoke_incoming_request (89ed7c8, 8ebee90,
8047204, f9ee60f9) + 4f
f9ee6170 ORBit_POA_handle_request (81ad630, 8ebee90, 8ebeea8, f9ee99ae) +
31c
f9ee99ed ORBit_handle_request (81a8df0, 8ebee90, 0, 0) + 4d
f9ed2dbf giop_connection_handle_input (8db2108, f9f0c404, 804733c,
f9ef05b7) + 31b
f9ef05c2 link_connection_io_handler (0, 1, 8db2108, f9ef25e0, 0) + 76
f9ef261c link_source_dispatch (8ec0500, f9ef054c, 8db2108, 80473c4) + 48
fce52d5a g_main_context_dispatch (81776c0, 0, 8d6ed58, e) + 262
fce533fd g_main_context_iterate (81776c0, 1, 1, 814d990) + 475
fce53a71 g_main_loop_run (89c8880, 89c8880, 0, feb7286e) + 1dd
feb72917 gtk_main (feffb804, 0, b48, feffb804, 8133064, 1) + b7
080e7837 main (1, 8047a34, 8047a3c, 808a05f) + be7
0808a0bd _start (1, 8047b44, 0, 8047b4b, 8047b8e, 8047bcc) + 7d
}}}
=======================
In Ubuntu:
=======================
{{{
(gdb) thread apply all bt
Thread 2 (Thread 0xb7f8fb90 (LWP 18680)):
#0 0x00b65422 in __kernel_vsyscall ()
#1 0x0178e331 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0x0168d4ca in ?? () from /usr/lib/libtcl8.4.so.0
#3 0x00c7d4df in start_thread (arg=0xb7f8fb90) at pthread_create.c:300
#4 0x01795f3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb80bc730 (LWP 18679)):
#0 0x00b65422 in __kernel_vsyscall ()
#1 0x016de4c0 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x016e1b75 in *__GI_abort () at abort.c:88
#3 0x003d9c3d in IA__g_assertion_message (domain=0x0,
file=0x25552f "atktext.c", line=1168,
func=0x255742 "atk_text_attribute_get_value",
message=0x8e24b10 "assertion failed: (index >= 0 && index <
G_N_ELEMENTS (wrap_mode_offsets))") at
/build/buildd/glib2.0-2.21.3/glib/gtestutils.c:1301
#4 0x003da28d in IA__g_assertion_message_expr (domain=0x0,
file=0x25552f "atktext.c", line=1168,
func=0x255742 "atk_text_attribute_get_value",
expr=0x2553e0 "index >= 0 && index < G_N_ELEMENTS
(wrap_mode_offsets)")
at /build/buildd/glib2.0-2.21.3/glib/gtestutils.c:1312
#5 0x00250182 in atk_text_attribute_get_value
(attr=ATK_TEXT_ATTR_WRAP_MODE,
index=6) at atktext.c:1168
#6 0x00ad65ab in gail_misc_add_to_attr_set (attrib_set=0x8e111b0,
attrs=0x8e21748, attr=ATK_TEXT_ATTR_WRAP_MODE)
at /build/buildd/gtk+2.0-2.17.5/modules/other/gail/libgail-
util/gailmisc.c:638
#7 0x00b99dc7 in gail_text_view_get_default_attributes (text=0x8a4f768)
at /build/buildd/gtk+2.0-2.17.5/modules/other/gail/gailtextview.c:680
#8 0x00250d29 in atk_text_get_default_attributes (text=0x8a4f768)
at atktext.c:673
#9 0x00e21ace in impl_getDefaultAttributes (servant=0x8586d34,
ev=0xbffe77cc)
at text.c:310
#10 0x00e163d6 in
_ORBIT_skel_small_Accessibility_Text_getDefaultAttributes (
_o_servant=0x8586d34, _o_retval=0xbffe7620, _o_args=0x0,
_o_ctx=0xbffe76b8, _o_ev=0xbffe77cc,
_impl_getDefaultAttributes=0xe21aa0 <impl_getDefaultAttributes>)
at Accessibility-common.c:764
#11 0x0142f537 in ?? () from /usr/lib/libORBit-2.so.0
#12 0x08586d34 in ?? ()
#13 0xbffe7620 in ?? ()
#14 0x00000000 in ?? ()
}}}
--
--
Ticket URL: <http://developer.pidgin.im/ticket/9864#comment:2>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list