GtkTextIter functions
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gtk-devel-list gnome org
- Subject: GtkTextIter functions
- Date: Thu, 18 Oct 2001 11:09:06 +0100 (BST)
I have found that if I call gtk_text_iter_inside_word () for an iterator, for 
which gtk_text_iter_is_end () returns TRUE, I get a crash. I have included a 
stack trace (from dbx rather than gdb)
=>[1] inside_word_func(0x0, 0x0, 0x0, 0x0, 0xff0b26a8, 0xff3b0b28), at 
0xff0b26e4
  [2] test_log_attrs(0xffbec300, 0xff0b26a8, 0xff0b26a8, 0x9, 0x0, 0x100790), at 
0xff0b2ba4
  [3] gtk_text_iter_inside_word(0xffbec300, 0xffbec300, 0xfe865e58, 0xfe865d80, 
0xc63d8, 0x21c), at 0xff0b33ec
  [4] gail_text_helper_get_text(0xc6040, 0x0, 0x2, 0x1, 0xcf, 0xffbec568), at 
0xfe84ad98
  [5] get_text_near_offset(0xc7828, 0x2, 0x1, 0xcf, 0xffbec568, 0xffbec564), at 
0xfe852008
  [6] gail_text_view_get_text_after_offset(0xc7828, 0xcf, 0x1, 0xffbec568, 
0xffbec564, 0xfe84d6e4), at 0xfe84d750
  [7] atk_text_get_text_after_offset(0xc7828, 0xcf, 0x1, 0xffbec568, 0xffbec564, 
0x72000000), at 0xff2349d0
Is this a coding error on my part in that I ought to check whether the iterator 
is the end iterator or is it a bug in the function gtk_text_iter_inside_word ()? 
I have not checked but I believe that the same problem occurs with all the 
GtkTextIter functions which check an iterator.
Padraig
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]