You are not logged in.

#1 2011-05-10 04:40:59

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

[SOLVED] Apache Segmentation Fault/Regression

I updated to Apache 2.2.17 two days ago and finally decided to upload new pages to the server. When I tried to test the code the server loads the php files but crashes upon any processing. Currently my site is 90% non-functional without logging in and the server crashes without allowing a user to log in.
According to the log file, the child processes experienced a segmentation fault.


Log File (relevant section)

[Mon May 09 22:21:10 2011] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0d DAV/2 PHP/5.3.6 with Suhosin-Patch configured -- resuming normal operations
[Mon May 09 22:21:35 2011] [notice] child pid 4799 exit signal Segmentation fault (11)
[Mon May 09 22:21:35 2011] [notice] child pid 4802 exit signal Segmentation fault (11)

Any ideas?

Last edited by yungtrizzle (2011-05-11 04:26:19)

Offline

#2 2011-05-10 04:54:46

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [SOLVED] Apache Segmentation Fault/Regression

Some issue,php can running,but when i am trying to do login action on drupal, apache fails.

Offline

#3 2011-05-10 07:56:28

c4software
Member
Registered: 2011-05-10
Posts: 9

Re: [SOLVED] Apache Segmentation Fault/Regression

Same issue here, its seems related to form submit. When i try to submit a form (GET or POST) i got

- [Mon May 09 22:21:35 2011] [notice] child pid XXXX exit signal Segmentation fault (11)

This error append every time PHP or not.

Offline

#4 2011-05-10 08:40:45

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [SOLVED] Apache Segmentation Fault/Regression

I have revert apache to the previous release 2.2.17-1,but things not change.Also,I ran php in both static module and cgi module,apache still failed. So, I think it is not the problem of apache,but something related to php.

Offline

#5 2011-05-10 08:46:53

skysurfer
Member
From: Greece/Thessaloniki
Registered: 2007-08-10
Posts: 30
Website

Re: [SOLVED] Apache Segmentation Fault/Regression

I also faced the same problem with cacti. Blank page after login.

Httpd_error log showed this line everytime i tried to open cacti:

[notice] child pid 2806 exit signal Segmentation fault (11)

Swtiched to apache 2.2.17-1 for now (it works).


Archlinux rulez tongue

My home server running Arch 24/7:
Intel Atom 330, 2GB RAM, 2TB Disks

Offline

#6 2011-05-10 08:51:21

c4software
Member
Registered: 2011-05-10
Posts: 9

Re: [SOLVED] Apache Segmentation Fault/Regression

I downgrade the package too, its seems working too.

Offline

#7 2011-05-10 10:39:08

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Apache Segmentation Fault/Regression

anybody wants t report this?


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-05-10 11:37:30

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [SOLVED] Apache Segmentation Fault/Regression

Strange,I downloaded the PKGBUILD of apache 2.2.17-1 from SVN, and complined it on my local machine and then installed,but it still failed.After seen the other replies,I searched the internet for an officiall compiled package and installed,as you guys said,it work again.So,what's the problem?

Offline

#9 2011-05-10 15:03:50

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [SOLVED] Apache Segmentation Fault/Regression

I reported it to apache's bugzilla , but they claim that its a problem with the php module.

From the bugzilla reply:

With the php module not loaded, does the segfault remain?

It's entirely possible your mod_php is closing the sd of the listener or
accept socket.

You can try disabling EnableSendfile and EnableMMAP.  We don't currently
have a way to disable socket reuse, which I expect is the origin of the
issue and bound to either the behavior of your kernel/network stack socket
fd handling or something your mod_php is doing.

Offline

#10 2011-05-10 16:20:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Apache Segmentation Fault/Regression

yungtrizzle wrote:

I reported it to apache's bugzilla , but they claim that its a problem with the php module.

From the bugzilla reply:

With the php module not loaded, does the segfault remain?

It's entirely possible your mod_php is closing the sd of the listener or
accept socket.

You can try disabling EnableSendfile and EnableMMAP.  We don't currently
have a way to disable socket reuse, which I expect is the origin of the
issue and bound to either the behavior of your kernel/network stack socket
fd handling or something your mod_php is doing.


care to paste the bug link?


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2011-05-10 18:39:21

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [SOLVED] Apache Segmentation Fault/Regression

Offline

#12 2011-05-11 04:28:19

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [SOLVED] Apache Segmentation Fault/Regression

Well guys there's a new update to apache in [extra] that seems to resolve the regression.

Offline

#13 2011-05-11 08:26:54

skysurfer
Member
From: Greece/Thessaloniki
Registered: 2007-08-10
Posts: 30
Website

Re: [SOLVED] Apache Segmentation Fault/Regression

Upgraded to 2.2.17-3, everything is fine here too.


Archlinux rulez tongue

My home server running Arch 24/7:
Intel Atom 330, 2GB RAM, 2TB Disks

Offline

Board footer

Powered by FluxBB