Re: Segfault on "save as"





2011/4/27 Phil Salkie <phil asylumhouse org> wrote:
Got it working. Did apt-get install --reinstall on everything gtk2 I
could find, that didn't help. Then did:


phil eeep:/usr$ set | grep gtk
GTK2_RC_FILES=/home/phil/.gtkrc-2.0-kde-kde4:/home/phil/.kde3/share/config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/home/phil/.gtkrc:/home/phil/.kde3/share/config/gtkrc
LD_PRELOAD=/opt/kde3/lib/kgtk/libkgtk2.so:
phil eeep:/usr$ export GTK_MODULES=
phil eeep:/usr$ export LD_PRELOAD=
phil eeep:/usr$ export GTK2_RC_FILES=
phil eeep:/usr$ export GTK_RC_FILES=
phil eeep:/usr$ set | grep gtk
phil eeep:/usr$ gnumeric

and Gnumeric came up fine.

Narrowed it down to LD_PRELOAD - with some more digging, found a file:
/opt/kde3/share/kgtk/preload
which contains the single line:
/opt/kde3/lib/kgtk/libkgtk2.so

The systems with a working Gnumeric don't have that "preload" file. So, I
renamed it to "preload_hold", logged out, logged back in, and it's all good.
I'll send a note to the Trinity (Kubuntu KDE3 project) to see if they know what
that preload's all about.

It may still be an issue with Gnumeric, since it doesn't work with this
libkgtk2.so and Gimp does, but it may also be a problem with libkgtk2.so...

It is indeed a kgtk issue. What gnumeric does is call gtk_add_grab with a argument which  has been checked for validity. This should be supported, and does not seem to be.

Best regards,
Jean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]