LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-05-2012, 11:43 AM   #1
vikas reddy
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Rep: Reputation: Disabled
Exclamation "why segmentation fault occurs"?


"segmentation fault(core dumped)"..
This fault was appeared many times but i didn't get exact solution for this.....
 
Old 04-05-2012, 01:08 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
A segmentation fault occurs when a program tries to access an impermissible memory location. See Wikipedia: Segmentation Fault

A segmentation fault can occur because of a bug/flaw in the design of the program's algorithm. A segmentation fault may also occur because of errors in user-supplied configuration/input.

The only way to avoid a segmentation fault is to correct the underlying source code of the program and/or verify that the program is given a valid input/configuration.

There is no one-size-fits-all solution to segmentation faults.
 
1 members found this post helpful.
  


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
"Segmentation Fault" in gtkpod-git, should I try Amarok? [iPod Nano 5G] atari/ Linux - Software 4 04-19-2010 01:19 PM
"netstat -l" gives "segmentation fault" Earwig Linux - Newbie 2 03-31-2010 04:12 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
What happens when a segmentation fault occurs rob_of_owensboro Programming 5 01-12-2006 03:21 PM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM

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

All times are GMT -5. The time now is 05:12 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