LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-23-2004, 09:33 AM   #1
baronlynx
Member
 
Registered: Jan 2004
Location: Lille [Fr]
Distribution: SUSE9.3, WinXP on a leech (vmware)
Posts: 62

Rep: Reputation: 15
what does Segmentation Fault mean ?


i get the Segmentation fault each time i try to install alsa-driver (rpms downloaded from different sources) on my laptop...
can someone explain me what does this error actually mean ?

thanks in advance

--baronlynx--
 
Old 02-23-2004, 12:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Segmentation fault usually means that the program
is trying to access memory which doesn't belong to
it, and the kernel smacks it over the head.


Cheers,
Tink
 
Old 02-23-2004, 02:24 PM   #3
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Rep: Reputation: 15
In windows terms, a segmentation fault="Illegal Operation Error"
 
Old 02-24-2004, 01:43 AM   #4
baronlynx
Member
 
Registered: Jan 2004
Location: Lille [Fr]
Distribution: SUSE9.3, WinXP on a leech (vmware)
Posts: 62

Original Poster
Rep: Reputation: 15
so what can be the problem then with all that files ???
 
Old 02-24-2004, 12:13 PM   #5
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Maybe it has to do something with your hardware? Maybe the MMU (memory managing unit) is directing to wrong places... don't know though, just a thought
Why don't you try to download the source files instead, maybe they will work for you.
 
Old 02-24-2004, 01:46 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by baronlynx
so what can be the problem then with all that files ???
The stuff you installed may be compiled
against a different (incompatible) version
of GLIBC


Cheers,
Tink
 
Old 02-25-2004, 10:59 AM   #7
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Rep: Reputation: 15
If you want a full writeup on this error, check the below URL

http://www.bitwizard.nl/sig11/
 
Old 12-06-2008, 10:32 PM   #8
smw356
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by JohnLinx View Post
If you want a full writeup on this error, check the below URL

http://www.bitwizard.nl/sig11/


http://www.seg-faults.com/

Has some comprehensive solutions to dealing with this problem as well.
 
Old 12-07-2008, 04:42 AM   #9
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by cexshun View Post
In windows terms, a segmentation fault="Illegal Operation Error"
Incorrect.
"Segmentation Fault" in Linux is equivalent to "Access Violation" in Windows, not "Illegal Operation" error.
 
Old 10-25-2009, 03:49 PM   #10
rforth
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
I get this segmentation fault error:

Code:
rforth@sibelius:~$ /sata/sata_250_dsk02/games/bmtg3/bin/BMTG3 

======== START ENGINE LOADING ========
Unable to load config file.
Screen initialization... SDL init success success.
Input initialization... 0 joysticks found.
success.
Mixer loaded!
Engine initialization... success.
======== END ENGINE LOADING   ========

======== START LEVEL LOADING  ========
Loading from state 0 to main menu...
Camera initialization... success.
Segmentation fault
rforth@sibelius:~$ 
rforth@sibelius:~$

Yet if I go into the bin directory and run it from there it runs fine? any ideas?

Code:
rforth@sibelius:~$ cd /sata/sata_250_dsk02/games/bmtg3/bin/
rforth@sibelius:/sata/sata_250_dsk02/games/bmtg3/bin$ ./BMTG3 

======== START ENGINE LOADING ========
Screen initialization... SDL init success success.
Input initialization... 0 joysticks found.
success.
Mixer loaded!
Engine initialization... success.
======== END ENGINE LOADING   ========

======== START LEVEL LOADING  ========
Loading from state 0 to main menu...
Camera initialization... success.
UI initialization... state 450... fonts loaded... main menu built... success.
Loading player 1...  success. 
Standard OpenGL screen setup...  success. 
Loading player 0...  success. 
Loading demo level... 
Attempting to play music...
success.
Main menu loading... success.
======== END LEVEL LOADING    ========
FOB Captured by Enemy message created.
FOB Captured message created.
Engine shutdown success!
rforth@sibelius:/sata/sata_250_dsk02/games/bmtg3/bin$

Last edited by rforth; 10-25-2009 at 03:50 PM. Reason: spelling errors / corrections
 
Old 10-25-2009, 04:32 PM   #11
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
"Segmentation Fault" in Linux is equivalent to "Access Violation" in Windows, not "Illegal Operation" error.
I think the "Illegal Operation" error (or "(application) has encountered a problem and needs to close") is Windows' terminology for an unhandled exception in a program. I got stuff like that when I used to do Win32 programming.
 
  


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
Help !!! Segmentation fault mola Linux - Software 3 06-23-2005 11:13 AM
Segmentation fault tejas15_10 Programming 9 06-20-2005 09:12 AM
Segmentation fault tejas15_10 Linux - Newbie 1 06-14-2005 04:44 AM
Segmentation fault santhosh_o Programming 3 10-26-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 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
Open Source Consulting | Domain Registration