LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-26-2009, 08:59 AM   #1
babu.chanuvalli
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Segmentation Fault


How to resolve segmentation fault error?
 
Old 05-26-2009, 09:06 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
That would depend on what caused the error!!!!

seriously, you need to provide more detail on what you are doing, what program or command were you running, etc.
 
Old 05-26-2009, 09:09 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
This might help:
http://www.cyberciti.biz/tips/segmen...inux-unix.html
 
Old 05-26-2009, 06:14 PM   #4
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
To resolve segmentation fault errors you need to modify either the source code or replace any of the bogus shared libraries that cause the problem. Generally you will need a debugger or some analysis tool like valgrind to find out what happens.

Linux Archive

Last edited by soleilarw; 06-18-2009 at 05:17 AM.
 
Old 05-27-2009, 02:32 AM   #5
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
attempting to access unavailable address

In my limited experience, a segmentation fault always represented an attempt to access data at an unavailable address, such as attempting to access data corresponding to an array index value outside the range of index values defined for the array when it was declared.

http://en.wikipedia.org/wiki/Segmentation_fault

Last edited by ehawk; 05-27-2009 at 02:36 AM.
 
  


Reply


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
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 10:34 AM
segmentation fault lmvent Programming 1 10-29-2005 07:34 PM
segmentation fault lmvent Programming 2 10-20-2005 04:14 PM
Segmentation fault.. please help me! rpmadness Linux - Software 4 11-25-2003 07:47 PM
Segmentation fault suriyamohan Linux - General 5 10-21-2003 02:37 AM


All times are GMT -5. The time now is 10:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration