site  contact  subhomenews

430: Insert key crash fix

October 02, 2009 — BarryK
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:

libgailutil.so.18.0.1
libgdk_pixbuf-2.0.so.0.1400.7
libgdk_pixbuf_xlib-2.0.so.0.1400.7
libgdk-x11-2.0.so.0.1400.7


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:

gtk+-2.14.7-1-p4.pet
gtk+_DEV-2.14.7-1-p4.pet


...I'll upload them soon.

Comments

Rox doesnot show svg!!!!
Username: magerlab
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.....

ROX and SVG
Username: 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.

SVG display
Username: BarryK
"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.

not only rox bug?
Username: magerlab
"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?

Futher insert-key fix
Username: BarryK
"Testing with the new gtk+ package, I found that this library is needed: libgtk-x11-2.0.so.0.1400.7 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.


Tags: woof