linuxmint / sticky

A sticky notes app for the linux desktop
GNU General Public License v2.0
187 stars 40 forks source link

Crash when typing into note too quickly #25

Closed li20034 closed 3 years ago

li20034 commented 3 years ago

For some reason, typing into a note too quickly can trigger a crash. The fastest way to get this to happen is to simply create a new note, then press as many keys, as quickly as possible on the keyboard.

I get the following output (in the terminal) when this occurs:

(sticky.py:5062): Gtk-WARNING **: 13:09:00.288: 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
/usr/bin/sticky: line 3:  5062 Segmentation fault      (core dumped) /usr/lib/sticky/sticky.py $*