Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Text Buffer Iterator #61

Open
Colintur2004 opened this issue Mar 26, 2019 · 1 comment
Open

Invalid Text Buffer Iterator #61

Colintur2004 opened this issue Mar 26, 2019 · 1 comment

Comments

@Colintur2004
Copy link

Colintur2004 commented Mar 26, 2019

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants