LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2005, 10:21 AM   #1
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
xscreensaver Segmentation fault


running gentoo after an update xscreensaver stoped working
like REALLY stoped working
i cant even 'xscreensaver --help'
all it says is Segmentation Fault
i tried re-building it using CFLAGS="-O2"

anyone know whats going on or how to fix it?
 
Old 08-15-2005, 10:48 AM   #2
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 31
Did you update just xscreensaver, or its dependencies as well (emerge with the --deep option)? What was the actual text of the error? Did you update any other packages at the same time?
 
Old 08-15-2005, 10:53 AM   #3
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
xscreensaver was updated during a particularly large emerge -u world

emerge -up --deep xscreensaver
no packages from that one

and emerge -p --deep xscreensaver
[ebuild R ] x11-misc/xscreensaver-4.22-r2

the error is totally and simpley:
Code:
crm@rollright ~ $ xscreensaver
Segmentation fault
 
Old 08-15-2005, 11:00 AM   #4
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
oh also, incase there are any clues here:

Code:
[ebuild   R   ] x11-misc/xscreensaver-4.22-r2  -gnome +gtk +jpeg -kde -kerberos -krb4 +motif -new-login +nls +offensive +opengl +pam -xinerama 0 kB 
.......
USE="3dfx 3dnow 3dnowex aac acl acpi acpi4linux aim aliaschain apache2
     audiofile bootsplash bzlib c caps cdinstall codecs css dbase
     dedicated dio divx4linux djbfft droproot editor escreen ethereal
     exif faad fb fbcon fftw fluidsynth ftp gimp gimpprint hardenedphp
     imap imlib2 javacomm javadoc javascript lcms libsamplerate
     lm_sensors md5sum mmx mono moznoirc mpeg4 msn net noaudio nptl
     offensive operanom2 php posix spamassassin sse vanilla videos vim
     vim-with-x virus-scan voodoo3 xface yahoo -arts -foomaticdb -gnome
     -kde"
 
Old 08-15-2005, 11:03 AM   #5
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 31
Hmm. Ok, try emerge --sync to make sure you have the most up-to-date packages in portage, then do another emerge -uD world (or at the very least remerge xscreensaver). I suspect it has to do with the dynamically linked libraries. I once killed emerge before it had finished doing this and some programs seg faulted because they couldn't find the libraries. Updating world again should fix the libs.
 
Old 08-15-2005, 11:08 AM   #6
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
already tried emerge sync and re-emerged xscreensaver ...
emerge -uDp world:
[ebuild U ] sys-apps/man-pages-2.07 [2.02]
[ebuild U ] app-text/sablotron-1.0.1 [1.0]
[ebuild U ] media-libs/a52dec-0.7.4-r5 [0.7.4-r4]
[ebuild U ] net-im/gaim-1.5.0 [1.4.0-r2]
[ebuild U ] media-libs/xine-lib-1.0.1-r3 [1.0-r2]
[ebuild FU ] app-emulation/point2play-2.0.3 [2.0.2]
[ebuild U ] sys-fs/reiser4progs-1.0.4_p1 [1.0.4]
[ebuild FU ] app-emulation/cedega-4.4.1 [4.4]
[ebuild U ] dev-perl/Digest-SHA1-2.10 [2.07]
[ebuild U ] app-text/docbook-sgml-utils-0.6.14 [0.6.12]
[ebuild N ] media-libs/gd-2.0.32
[ebuild U ] media-gfx/graphviz-1.16 [1.10]
[ebuild U ] app-doc/doxygen-1.4.2 [1.3.9.1]

im running that now.. but im doubtful as none of those programs ahve anything to do with xscreensaver
 
Old 08-15-2005, 11:16 AM   #7
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 31
Hmm, I thought you had done the emerge -uD world recently, so it is surprising that you have that many updates. In any case, emerge updates /etc/ld.so.cache when it installs packages, which should fix the dynamic linking problem that is probably causing your seg fault. BTW, you can also update that file by running /sbin/ldconfig as root, but don't do that until after emerge finishes and if it still doesn't work.
 
Old 08-15-2005, 11:57 AM   #8
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
same old segfault

updated system, emerged new xscreensaver, ran /sbin/ldconfig... it did take just a moment longer to come up tho.
 
Old 09-01-2005, 06:27 AM   #9
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Original Poster
Rep: Reputation: 30
sigh - still no luck - can Anyone help?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Segmentation Fault ceenu99 Linux - Software 0 07-20-2005 05:42 AM
Segmentation Fault monojit_18 Programming 1 12-12-2004 11:22 AM
Segmentation fault santhosh_o Programming 3 10-26-2004 05:45 AM
Segmentation Fault in xscreensaver urbanotter Linux - General 0 09-01-2003 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration