GNOME Bugzilla – Bug 690610
vte_terminal_get_text use with instrospection
Last modified: 2013-05-30 11:46:53 UTC
This is a continuation of #690003. After solve that ticket, and the related #690041 (in pygobject and gobject-introspecion), I continue crashing my simple python test case [1] (More information in the sugar ticket [2]) Another related issue: I have found the attributes parameter in the method vte_terminal_get_text should have (allow-none) (at least the code in vte_terminal_get_text_range_maybe_wrapped looks like support it). But if I add that, and try to do: self.vte.get_text(None, None, None) I get another segfault (worst, worked the first two times, and later segfaulted!) bt show:
+ Trace 231310
Line #5 is interesting, is_selected=0, but "attributes" is not 0. Right now, I think these are two different problems (or may be 3), and don't know if this is a pyobject or a vte issue. Any help is welcomed. [1] http://bugs.sugarlabs.org/attachment/ticket/4131/test_vte_get_text.py [2] http://bugs.sugarlabs.org/ticket/4131#comment:11
My test case was wrong, is working with the changes done in #676999