tomac / yersinia

A framework for layer 2 attacks
GNU General Public License v2.0
702 stars 119 forks source link

Invalid Text Buffer Iterator #61

Open Colintur2004 opened 5 years ago

Colintur2004 commented 5 years ago

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

melroy89 commented 3 years ago

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.