Monday, September 8, 2008

Gnome settings manager crashes at startup

This problem took a few hours for me to fix as I got sidetracked doing fsck stuff for awhile, somehow believing my disk was corrupt. I hope this saves someone else some trouble:
Gnome would crash on start up when I logged in as myself - it would crash with
The GNOME Session Manager (process ####) has crashed due to a fatal error (segmentation fault)
I could log in as root
I could start up Gnome apps like firefox
Others could log in with no problem

The problem is related to my LD_LIBRARY_PATH
I had /opt/sfw/lib BEFORE /usr/local/lib

Obviously one of the newer libraries or possibly a corrupted version of the same library was messing things up. From doing a compare of these directories in UltraEdit, I suspect one of the following culprits:

libcairo.so.2.xxx
libgdk-x11-2.0.so.0
libglib-2.0.so.0.1400.4
libgmodule-2.0.so.0.1400.4
libgthread-2.0.so.0.1400.4
libmenu.so.5.5
libncurses.so.5.6
libpango-1.0.so.0.1800.3
libpangocairo-1.0.so.0.1800.3
libpangoft2-1.0.so.0.1800.3
libpangox2-1.0.so.0.1800.3
libpangoxft-1.0.so.0.1800.3

Putting /usr/local/lib first in the LD_LIBRARY_PATH corrected the problem. I would use /usr/local/lib for everything but there was a history of that being automounted when we were using Sparc machines.

No comments:

Post a Comment