430: Insert key crash fix

Thanks to pizzasgood for this, I never would have figured it out.

Under certain conditions, not always, pressing the <insert> key while a Mozilla-based browser is running, causes it to crash. The test I did was to start PPLOG, which uses MU's web browser, start a new post and then press the <insert> key while the cursor is in the text-entry box -- result, crash.

Pizzasgood narrowed the problem down to one library, libgdk-x11-2.0.so*, and found that the gtk+ package had to be configured with '--enable-debug'.

I looked at what ttuuxxx did for his bug-fixed "431.1" build. He compiled a later version of the gtk+ package, 2.16.x and reported that it spits out error messages, although it does work.

I firstly followed ttuuxxx's lead, compiled gtk+ 2.16.6 and glib 2.19.10. I compiled these with '--enable-debug=no', and found still had the crash bug.

Then I went back to the same gtk+ version as in 430, 2.14.7. I recompiled it with this configuration:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --with-xinput=yes --enable-debug=minimum

Great, PPLOG did not crash!

I have upgraded the gtk+ 2.14.7 PET package with the new library files:


I did not upgrade libgtk-x11-2.0.so.0.1400.7 as the new one is 4.5MB compared with 3.5MB before.

The new PET packages are named:


...I'll upload them soon.

Posted on 2 Oct 2009, 16:37


Posted on 2 Oct 2009, 17:57 by magerlab
Rox doesnot show svg!!!!
Rox cannot use svg icons for mime!!!!
please fix it
i always use a very nice nuovo-mime svg set but now i can not.....

Posted on 3 Oct 2009, 5:41 by zigbert
Pizzasgood is todays man. Wonderful!

Posted on 3 Oct 2009, 8:16 by BarryK
I went to /usr/local/lib/X11/themes/FlatOrange, right-clicked on the "eye" to show thumbnails, and the SVG images do display.

Um, but right now I'm running the pup with the recompiled GTK 2.14.7.

But, I don't recall any problem with seeing SVG thumbnails in a pristine 430.

Well, if there was a problem, hopefully my recompiled GTK package will fix it for 431.

Posted on 5 Oct 2009, 4:12 by magerlab
flat orange do display but other svg do not.....
yes i can see flat orange icons but other svg files are not shown.....

Posted on 5 Oct 2009, 8:28 by BarryK
SVG display
Hmmm, I wonder.

I compiled librsvg without 'libcroco' dependency. If I remember rightly, libcroco provides support for SVG images with CSS embedded in them.

So, some SVG images won't display, but I thought that those with embedded CSS are a very tiny minority.

Posted on 5 Oct 2009, 13:47 by magerlab
not only rox bug?
i see that some svg do display in fbpanel( those wich are in deb for fbpanel)
but some do not
(e.g. icon for file-manager or terminal is seen, but icons for menu do not)
so is it a gtk2 bug?

Posted on 7 Oct 2009, 8:57 by BarryK
Futher insert-key fix
Testing with the new gtk+ package, I found that this library is needed:


That is, the one compiled with debug enabled.

Note, when the live-CD gets built, there is an option to strip debug symbols from the shared library files, and it is still ok if this is done. So, the library files are not much different in size than before.