LinuxQuestions.org
Review your favorite Linux distribution.
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 12-14-2005, 02:59 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
exit signal Segmentation fault


Hi guys...

one of my web server got a repetitive error "[Wed Dec 14 15:47:43 2005] [notice] child pid 16798 exit signal Segmentation fault (11)" and it keep going on, causing the webpages to not load properly...

i restarted httpd and it became fine. then i went googling and found some site mentioning abt hardware problem.. ram etc...

you guys have any problem with this?

out of the blue problem...

server serving php pages... and mysql
 
Old 12-14-2005, 11:24 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
i don't use php or mysql so i don't know what they do but basically 99% of time it's just software bugs.
pointers on the stack that point to the wrong thing or nothing at all.

one thing other than just bad programming that can cause this is server exploits that try to smash the stack frame and gain access to the process text segment and in that case then Segmentation fault is a sign of very good programming.
 
Old 12-22-2005, 09:10 PM   #3
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by foo_bar_foo
i don't use php or mysql so i don't know what they do but basically 99% of time it's just software bugs.
pointers on the stack that point to the wrong thing or nothing at all.

one thing other than just bad programming that can cause this is server exploits that try to smash the stack frame and gain access to the process text segment and in that case then Segmentation fault is a sign of very good programming.
Programming fault eh...

your last line... do you mean "bad" programming in fact?
 
Old 12-22-2005, 10:52 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
no i really mean good programming.

if someone attempts to overun a buffer and and run a stack smashing exploit on you bad programs execute whatever type of melicious code is in the exploit and just keep on going and you are screwed.

good programs realize what is going on and segfault.

it is also possible to have say a different version of a shared library than a precompiled app was linked against and get user error segfaulting that way too.
 
  


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
Fatal signal: Segmentation Fault (SDL Parachute Deployed) avis Linux - Software 1 05-10-2005 12:40 PM
Program received signal SIGSEGV, Segmentation fault ims_mca Linux - Distributions 0 03-09-2005 05:16 AM
subprocess dpkg-split killed by signal (Segmentation fault) cparker15 Debian 5 07-28-2004 12:45 PM
[notice] child pid 1296 exit signal Segmentation fault (11) Bigtimelost Linux - General 2 04-13-2004 01:38 PM
Apache: child pid XXX exit signal Segmentation fault (11) gabriele_101 Linux - Hardware 1 07-23-2003 07:12 PM


All times are GMT -5. The time now is 05:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration