GNOME Bugzilla – Bug 760446
search: invalid iter
Last modified: 2016-01-13 17:59:10 UTC
The bug has been reported on https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1507490 "try to find a word in the opened text file, after I pressed the first letter of the word I want to search, gedit crashed" similar report on https://bugzilla.redhat.com/show_bug.cgi?id=1253775 backtrace from 3.16.2 "#0 gtk_text_iter_make_real (_iter=_iter@entry=0x7ffcdedc7510) at gtktextiter.c:213 iter = <optimized out> __func__ = "gtk_text_iter_make_real"
+ Trace 235888
Thanks. I can look if the problem is still present on the master branch. Otherwise I can see if I can backport a fix. Is it on 3.16 or 3.18? In the form, you set the 3.18 version but in the comment you set 3.16.
The Ubuntu error tracker has 3.18.2 reports with the same signature we just don't have a good debug backtrace from that version that's why I posted one from 3.16
The crash should be fixed: https://git.gnome.org/browse/gedit/commit/?id=df0868201ebc66119d5130f7ae29e1b0cf47face I've read again the GtkSourceView code, but it should be bug-free wrt this bug. So the invalid iter must come from gedit. I think the gedit code should be refactored to better understand it, because GeditViewFrame mixes several things, it's hard to follow the code.
And the commit is backported on the gnome-3-18 branch.
> And the commit is backported on the gnome-3-18 branch. Thanks!