Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2003, 01:19 AM   #1
Registered: May 2003
Posts: 32

Rep: Reputation: 15
Segmentation fault

The problem started today. It seems that a variety of programs crash, uttering nothing more than "Segmentation fault" when they die prematurly (usually before opening a window). Konsole opens a window, but input is locked, and after some fruitles clicking and typing, it crashes. Konqueror worked the first couple time I ran it today, but now it dies before even opening a window. Mozilla works, but sometimes when a new window get opened (popup, ect) Mozilla will die. Gaim seems to run fine, but sometimes when a chatbox is opened, it will crash. Now, I did a few searches, and in this post [which I apparently can't tell you about] wwwDOTlinuxquestionsDOTorgSLASHquestionsSLASHshowthreadDOTphp?threadid=3238
the dude says
"When a program gets a 'Segmentaion fault' it usually means there is a serious programatic error. Programs encounter segmentation faults if they try to access resources that are not allocated to it. Since linuxconf is somewhat stable, the problem was likely caused by an error that it never expected, possibly an oddity in your machines configuration."
Now, anyone know what I did that would cause a whole bunch of programs to start doing this? I can't think of anything I did recently (the problem did just start today, after a month of good running) that would have started this problem. However, I have been looking around at my system, because apparently I don't have ALSA drivers for my sound card, but I didn't change anything. I also installed some cursors, but surely that wouldn't effect anything, would it?

Anyways, if anyone could point me in the right direction, or give me some idea on how to debug it myself, it would be appreciated.
Old 11-08-2003, 02:18 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
What crabboy said is still valid, and if you
didn't change anything crucial (new version
of glibc, manually modified the kernels memory
routines) you shouldn't be getting segfaults.

However, there's always the possibility of
"flakey hardware" ... your memory-chips or
the controller may be in the process of going
ta-ta... did you, by any chance, modify your
BIOS settings to improve performance? You
could try more conservative BIOS settings.

Old 11-08-2003, 03:01 PM   #3
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15

Awsome, thanks. About a month or so ago, before I installed Linux, I transplanted some part of another(much older) computer into this one (CD-ROM, 7GB HD, PCI NIC, 128MB RAM chip), and if the memory chip may be going bad, it would be that old one. I'll try taking out the old memory chip, and if that doen't work I can try to remember what critical software I installed recently.

Thanks a bunch!
Old 11-09-2003, 05:50 PM   #4
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
YAY! I figured it out!

Well, I did a little more research, and in this post here:
floyd documents a problem VERY similar to mine. he figured out that programs that run as root don't crash.

Now, I was playing around a little bit, running programs as root, and I noticed something: programs that run as root use the default mouse cursors, whereas normally running programs use the cursors that I had rently installed (cursors are specific to the user, as defined in /home/~USER/.icons/.icons/default/ ; so I put two and two together, came up with 5, uninstalled my cursors (deleted /home/~USER/.icons/.icons/default/index.theme), and rebooted. She WORKS! It was the dag-blasted cursors that were causing the segfaults. I still don't know why, or how. I do know that I updated kdelibs (3.1-58.2mdk) through Mandrake update a while before I installed cursors, so maybe something is up with that. I don't know, but anyways, it works.

So, if anyone (floyd) has a similar problem, try uninstalling your cursors (rename /home/~USER/.icons/.icons/default/index.theme to index.theme.backup, or something) and see if that clears stuff up.

The next step is to figure out how to get my tuxcursors working again...
Old 11-09-2003, 05:51 PM   #5
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
Almost forgot, thanks to Tinkster, everybody who posted on floyd's post, and floyd himself.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
what does Segmentation Fault mean ? baronlynx Linux - Newbie 10 10-25-2009 05:32 PM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 10:34 AM
Help !!! Segmentation fault mola Linux - Software 3 06-23-2005 12:13 PM
Segmentation fault tejas15_10 Programming 9 06-20-2005 10:12 AM
Segmentation fault santhosh_o Programming 3 10-26-2004 06:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 AM.

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