yersinia icon indicating copy to clipboard operation
yersinia copied to clipboard

Invalid Text Buffer Iterator

Open Colintur2004 opened this issue 5 years ago • 1 comments

These are the 2 errors that I am getting, thank you so much for helping me with this:

First Error: (yersinia:2366): Gtk-WARNING **: 21:59:28.898: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers to preserve a position across buffer modifications. You can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators

Second Error: Gtk:ERROR:/build/gtk+2.0-zMnLPi/gtk+2.0-2.24.32/gtk/gtktextview.c:3571:gtk_text_view_validate_onscreen: assertion failed: (text_view->onscreen_validated)

Note: I am on Kali Linux

Colintur2004 avatar Mar 26 '19 02:03 Colintur2004

Most likely they are using a textview and get_buffer() which should not be run from a different thread. And can be protected via gdk_threads_add_idle(), to avoid those issues.

melroy89 avatar Feb 10 '21 23:02 melroy89