GTK Crash when mouse goes over updating folded text

Bug #525429 reported by Gawron on 2010-02-21
This bug affects 6 people
Affects Status Importance Assigned to Milestone

Bug Description

After executing following commands in DreamPie
>>>> import numpy
>>>> help(numpy)

it crashes with following error:

/usr/lib/python2.6/dist-packages/dreampielib/gui/ GtkWarning: /build/buildd/gtk+2.0-2.18.3/gtk/gtktextbtree.c:4017: byte index off the end of the line

Gtk-ERROR **: Byte index 1093 is off the end of the line

System: Ubuntu Karmic i386

Related branches

Noam Yorav-Raphael (noamraph) wrote :

For me it works - Ubuntu Karmic i386 too.

Does it happen every time? Does it happen on other systems too?

Changed in dreampie:
status: New → Incomplete

I can confirm it. DreamPie crashes when I put the mouse over the fold while it is updating. If I only put the pointer over the fold when it has finished updating, everything works

Gentoo amd64

Noam Yorav-Raphael (noamraph) wrote :

Indeed. When I put the mouse over the fold it crashes. Strange!

Changed in dreampie:
status: Incomplete → Confirmed
Noam Yorav-Raphael (noamraph) wrote :

It causes another bug: The subprocess starts leaking more and more memory, which may make the system unusable.

I forgot to say that I'm using Karmic i386.

Gawron (gawron) wrote :

I have the same problem with spawned resource hungry process.

Noam Yorav-Raphael (noamraph) wrote :

I fixed the resource hungry subprocess problem in revision 128.

This is a GTK+ bug: I reported it here:

It seems that invisible text support in GTK is a bit buggy. Also, if you print something really long some things become slow even thought it is folded. I guess that the solution is to implement folding without use of invisible text, by storing the output in serialized form outside the text buffer. However, this will require significant work.

Changed in dreampie:
status: Confirmed → Triaged
summary: - Long help function output crashes DreamPie
+ GTK Crash when mouse goes over updating folded text
Gawron (gawron) wrote :

In Dreampie 1.1 Natty x86_64 the bug does not appear.

Noam Yorav-Raphael (noamraph) wrote :

Just tested on Natty 32 bit on virtualbox, by using the attachment to the gnome bug report. It crashed there too.

Gawron - if you can download it from and say if it crashes when you move your mouse over the window, it will be nice.

Gawron (gawron) wrote :

Yes it crashes!
$ python GtkWarning: /build/buildd/gtk+2.0-2.24.4/gtk/gtktextbtree.c:4019: byte index off the end of the line

Gtk-ERROR **: Byte index 15 is off the end of the line

Ubuntu Maverick on x86_64

Noam Yorav-Raphael (noamraph) wrote :

Fixed in revision 243! Hip hip hurray!
(This is an ugly workaround until the GTK patch is accepted, but I think it should work fine.)

Changed in dreampie:
status: Triaged → Fix Committed
Changed in dreampie:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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