GNOME Bugzilla – Bug 598814
text.getText(0, -1) triggers assertion in vteaccess.c
Last modified: 2009-10-22 18:10:18 UTC
Steps to reproduce: 1. Launch VTE and Accerciser 2. In Accerciser select the accessible object of ROLE_TERMINAL 3. In Accerciser's iPython console type: text = acc.queryText() text.getText(0, -1) Expected results: The text displayed in the terminal would be returned. Actual results: VTE dumps core with the following assertion: Vte:ERROR:vteaccess.c:946:vte_terminal_accessible_get_text: assertion failed: ((start_offset >= 0) && (end_offset >= -1))
Created attachment 145705 [details] [review] proposed fix This solves it for me.
Committed. Thanks. commit 3e523aa2db487828a332703461e84d6a2cf4ef04 Author: Behdad Esfahbod <behdad@behdad.org> Date: Thu Oct 22 14:07:51 2009 -0400 Bug 598814 - text.getText(0, -1) triggers assertion in vteaccess.c