LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   exit signal Segmentation fault (https://www.linuxquestions.org/questions/linux-newbie-8/exit-signal-segmentation-fault-392636/)

Swakoo 12-14-2005 01:59 AM

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

foo_bar_foo 12-14-2005 10:24 PM

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.

Swakoo 12-22-2005 08:10 PM

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?

foo_bar_foo 12-22-2005 09:52 PM

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.


All times are GMT -5. The time now is 06:07 AM.