Apache2 Segfault Error 6
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us linux segfault error 6 Learn more about Stack Overflow the company Business Learn more about hiring developers or kernel segfault error 6 posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow
Apache Segfault
Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “[notice] child pid XXXX exit signal Segmentation fault
Apache Segfault 11
(11)” in apache error.log [closed] up vote 65 down vote favorite 14 I am using Apache/PHP/MySQL stack. Using as framework CakePHP. Every now and then I get a blank white page. I can't debug it through Cake, so I peek in the apache error.log and here's what I get: [Wed Oct 12 15:27:23 2011] [notice] child pid 3580 exit signal Segmentation fault (11) [Wed Oct 12 15:27:34 2011] child pid exit signal segmentation fault 11 apache [notice] child pid 3581 exit signal Segmentation fault (11) [Wed Oct 12 15:30:52 2011] [notice] child pid 3549 exit signal Segmentation fault (11) [Wed Oct 12 16:04:27 2011] [notice] child pid 3579 exit signal Segmentation fault (11) zend_mm_heap corrupted [Wed Oct 12 16:26:24 2011] [notice] child pid 3625 exit signal Segmentation fault (11) [Wed Oct 12 17:57:24 2011] [notice] child pid 3577 exit signal Segmentation fault (11) [Wed Oct 12 17:58:54 2011] [notice] child pid 3550 exit signal Segmentation fault (11) [Wed Oct 12 17:59:52 2011] [notice] child pid 3578 exit signal Segmentation fault (11) [Wed Oct 12 18:01:38 2011] [notice] child pid 3683 exit signal Segmentation fault (11) [Wed Oct 12 22:20:53 2011] [notice] child pid 3778 exit signal Segmentation fault (11) [Wed Oct 12 22:29:51 2011] [notice] child pid 3777 exit signal Segmentation fault (11) [Wed Oct 12 22:33:42 2011] [notice] child pid 3774 exit signal Segmentation fault (11) What is this segmentation fault, how can I fix this, I have no clue and would be greatfully greatful. UPDATE: PHP Version 5.3.4, OSX local development Server version: Apache/2.2.17 (Unix) CakePhp: 1.3.10 php apache cakephp error-logging share|improve this question edited Feb 3 '13 at 17:20 Kuf 8,65522960 asked Oct
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Ah00052: Child Pid Exit Signal Segmentation Fault (11)
the workings and policies of this site About Us Learn more about apache segmentation fault (core dumped) Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions apache coredumpdirectory Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up http://stackoverflow.com/questions/7745578/notice-child-pid-xxxx-exit-signal-segmentation-fault-11-in-apache-error-lo Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top PHP Causing Segmentation Fault & Apache Blank Response up vote 0 down vote favorite I recently updated a Debian Lenny server to php 5.3,5 using the dotdeb source. Soon after doing so certain (but not all) http://serverfault.com/questions/236251/php-causing-segmentation-fault-apache-blank-response sites on the server stopped responding to requests. A blank response would be returned - no headers, no content, nothing. I found this related question on stackoverflow which seems to describe something similar and used the same code the user had in their answer to see if I could replicate the issue: This triggered the problem - the page returned absolutely nothing despite the original question stating this was fixed in PHP 5.5.0. No CPU block as you'd expect, no wait, just an almost instant zero response. I then ran this same code from the cli (php -f test.php) and the only output I got was 'Segmentation fault'. Tailing the kernel log I've spotted: Feb 16 07:04:06 creature kernel: [192203.269037] php[17710] general protection ip:76ef37 sp:7fff155e9bb0 error:0 in php5[400000+870000] Feb 16 08:57:31 creature kernel: [199639.699854] apache2[31136]: segfault at 7fff13a84fe0 ip 7f730514ea40 sp 7fff13a85008 error 6 in libphp5.so[7f7304ce80
decided to go the ispconfig3 path. After install the server and some hickups I managed to get my https://www.howtoforge.com/community/threads/php-segfault.37139/ server going smoothly. But now after 2 weeks my server is experiencing issues. All of a sudden my php sites cannot connect to the mysql database anymore and the following http://forum.directadmin.com/showthread.php?t=40179 is displayed in the log files. I have to restart mysql to get it working again. I guess this means there is something wrong with my mysql but why do segfault error i receive php messages? because it cannot connect to mysql anymore? i guess it shouldn't segfault because of that right? I also looked for mysql errors but could not find any. Could this be a tuning issue, where php is requesting to many connections? Code: [17546.670984] php[23330]: segfault at 7fff69c21dc0 ip 000000000062844d sp 00007fff69c21da0 error 6 in php5[400000+519000] [17606.986485] php[23404]: segfault segfault error 6 at 7ffffd34bdc0 ip 000000000062844d sp 00007ffffd34bda0 error 6 in php5[400000+519000] [17666.397216] php[23507]: segfault at 7fff71a33bd0 ip 000000000062844d sp 00007fff71a33bb0 error 6 in php5[400000+519000] [17726.683409] php[23542]: segfault at 7fff1510db80 ip 000000000062844d sp 00007fff1510db60 error 6 in php5[400000+519000] [17786.976288] php[23579]: segfault at 7fffc6f0dfc0 ip 00007fbabc648798 sp 00007fffc6f0df80 error 6 in libc-2.9.so[7fbabc5ce000+168000] [17847.269009] php[23617]: segfault at 7fff71433eb0 ip 000000000062844d sp 00007fff71433e90 error 6 in php5[400000+519000] [17906.571567] php[23665]: segfault at 7fffe9fb2150 ip 000000000062844d sp 00007fffe9fb2130 error 6 in php5[400000+519000] [17966.860766] php[23706]: segfault at 7fff9ccd1e60 ip 000000000062844d sp 00007fff9ccd1e40 error 6 in php5[400000+519000] gzero, Jul 1, 2009 #1 till Super Moderator Staff Member ISPConfig Developer i guess it shouldn't segfault because of that right?Click to expand... Yes, php does normally not segfault on connection problems. In most cases, segfaults are caused by hardware problems. You should check your server with e.g. memcheck. till, Jul 1, 2009 #2 marciliomcm New Member same my.. [ 48.371022] lp0: using parport0 (interrupt-driven). [ 48.387023] ppdev: user-space parallel port driver [ 50.562891] warning: `pure-ftpd-mysql' uses 32-bit capabilities (legacy support in use) [ 1407.341122] php[5492]: segfault at 7f02ab471ed0
wierd problem: httpd/php caused kernel segfualt. If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 14 of 14 Thread: very wierd problem: httpd/php caused kernel segfualt. Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 04-25-2011,02:49 PM #1 kangzj View Profile View Forum Posts Verified User Join Date Nov 2010 Posts 7 very wierd problem: httpd/php caused kernel segfualt. /var/log/messages are many segfault errors as follows, ----------------- Apr 26 13:42:32 host kernel: httpd[25056]: segfault at 00007fff4d5db928 rip 00002ba1807da57a rsp 00007fff4d5db910 error 6 Apr 26 13:42:33 host kernel: httpd[29267]: segfault at 00007fff4d5db878 rip 00002ba1807da57a rsp 00007fff4d5db860 error 6 Apr 26 13:42:34 host kernel: httpd[29642]: segfault at 00007fff4d5db3a8 rip 00002ba1807da57a rsp 00007fff4d5db390 error 6 Apr 26 13:42:35 host kernel: httpd[30302]: segfault at 00007fff4d5db248 rip 00002ba1807da57a rsp 00007fff4d5db230 error 6 Apr 26 13:42:37 host kernel: httpd[26788]: segfault at 00007fff4d5db5b8 rip 00002ba1807da57a rsp 00007fff4d5db5a0 error 6 Apr 26 13:42:38 host kernel: httpd[26789]: segfault at 00007fff4d5dbb38 rip 00002ba1807da57a rsp 00007fff4d5dbb20 error 6 Apr 26 13:42:44 host kernel: httpd[31417]: segfault at 00007fff4d5dbb38 rip 00002ba1807da57a rsp 00007fff4d5dbb20 error 6 Apr 26 13:42:46 host kernel: httpd[31430]: segfault at 00007fff4d5db5b8 rip 00002ba1807da57a rsp 00007fff4d5db5a0 error 6 Apr 26 13:42:46 host kernel: httpd[28526]: segfault at 00007fff4d5dbb38 rip 00002ba1807da57a rsp 00007fff4d5dbb20 error 6 Apr 26 13:42:46 host kernel: httpd[31429]: segfault at 00007fff4d5db718 rip 00002ba1807da57a rsp 00007fff4d5db700 error 6 Apr 26 13:42:46 host kernel: httpd[32406]: segfault at 00007fff4d5dcec0 rip 00002ba1807e2493 rsp 00007fff4d5dcec0 error 6 Apr 26 13:42:48 host kernel: httpd[31424]: segfault at 00007fff4d5db7c8 rip 00002ba1807da57a rsp 00007fff4d5db7b0 error 6 --------------- I di