You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/04/18 09:01:51 UTC

DO NOT REPLY [Bug 39332] New: - mod_cgid does not work with worker MPM on Solaris

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39332

           Summary: mod_cgid does not work with worker MPM on Solaris
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_cgid
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: masaoki@techfirm.co.jp


Using with worker MPM, mod_cgid fails to launch CGI program.  This also happens 
on httpd 2.0.55, however, it sometimes works there.  i.e. All execution on 
2.2.x fails on Solaris worker MPM, while about a half of them fails on 2.0.x on 
Solaris worker MPM.  No problem with prefork MPM and mod_cgi.
It is observed on Solaris 10 x86 64 bit kernel with 64 bit httpd binary.  I did 
not check it on 32 bit environment.  I will debug it into details later.

The error_log shows the following lines.

[Tue Apr 18 15:47:19 2006] [error] [client 192.168.237.21] Premature end of 
script headers: printenv
[Tue Apr 18 15:47:19 2006] [error] [client 192.168.237.21] (3)No such process: 
cgid daemon is gone; is Apache terminating?: /var/apache2/cgi-bin/printenv
[Tue Apr 18 15:47:19 2006] [notice] child pid 8121 exit signal Segmentation 
fault (11)
[Tue Apr 18 15:47:19 2006] [error] cgid daemon process died, restarting

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39332] - mod_cgid does not work with worker MPM on Solaris

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39332





------- Additional Comments From masaoki@techfirm.co.jp  2006-04-24 02:49 -------
I tried patch #120665 (and also the latest patch cluster), it changes nothing 
however.  Let me have time to look into details.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39332] - mod_cgid does not work with worker MPM on Solaris

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39332





------- Additional Comments From rpluem@apache.org  2006-04-18 21:07 -------
Have you applied Patch #120665 to Solaris? There is a known problem with Unix
domain sockets on Solaris 10 without this patch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39332] - mod_cgid does not work with worker MPM on Solaris

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39332





------- Additional Comments From masaoki@techfirm.co.jp  2006-04-24 05:27 -------
Created an attachment (id=18160)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18160&action=view)
Fix the intermittent SIGSEGV in mod_cgid on Solaris 10

This patch eliminates the intermittent SIGSEGV in mod_cgid on Solaris 10.  I am
not sure about writev() and stdargs compatibility among many platforms.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39332] - mod_cgid does not work with worker MPM on Solaris

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39332





------- Additional Comments From masaoki@techfirm.co.jp  2006-04-24 05:21 -------
My former message was not correct.  The thing now changes that it sometimes 
happens, not always.
In my v20z Solaris 10 x86 (amd64) box, the apache 2.2.2 sometimes fails to 
launch the CGI.  When I added some debug codes inside sock_read()/sock_write() 
inside mod_cgid.c, the order of read/write sometimes changes, which causes 
SIGSEGV inside cgid server.
I now guess this may be a Solaris fault because my v20z box has 2 dual core 
processors (total 4 cores), which can cause a race condition inside the 
multithreaded kernel.
I created a patch to fix this problem.  This is a passive approach in order to 
avoid the Solaris suspicious behavior, but works fine.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39332] - mod_cgid does not work with worker MPM on Solaris

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39332


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org