Crash while typing (could be related to word completion plugin?)

Bug #1198893 reported by Kazade
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
High
Jeremy Wootten

Bug Description

Sometimes Scatch crashes without warning while I'm typing, running in the terminal gives me this output when a crash happens:

[_LOG_LEVEL_WARN 12:07:52.993309] [Gtk] 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
**
Gtk:ERROR:/build/buildd/gtk+3.0-3.4.2/./gtk/gtktextiter.c:2020:_gtk_text_iter_forward_indexable_segment: assertion failed: (gtk_text_iter_starts_line (iter))
Aborted (core dumped)

I'm running the latest Scratch on Ubuntu Precise (package 2.0~r1122-0+pkg47~precise1)

I'm going to switch off the word completion plugin which might be the cuplrit.

Related branches

Revision history for this message
Kazade (kazade) wrote :

After switching off word completion the crashes stopped happening so that's almost certainly where the problem lies.

Changed in scratch:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 2.1
Changed in scratch:
milestone: 2.0.1 → 2.1
Cody Garver (codygarver)
Changed in scratch:
importance: Low → Medium
Cody Garver (codygarver)
Changed in scratch:
importance: Medium → High
Changed in scratch:
assignee: nobody → Jeremy Wootten (jeremywootten)
Changed in scratch:
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in scratch:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.