You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Michel de Generet <mi...@construsoft.be> on 2002/01/28 17:05:29 UTC
mod_cgi/9627: after adding 'Loadmodule modules/libphp4.so' in http.conf, cgi script did not run anymore
>Number: 9627
>Category: mod_cgi
>Synopsis: after adding 'Loadmodule modules/libphp4.so' in http.conf, cgi script did not run anymore
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jan 28 08:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: michel@construsoft.be
>Release: 2.0.28
>Organization:
apache
>Environment:
SunOS 5.7 gcc3.0.2 Apache 2.0.28 PHP4.1.1
>Description:
After some debugging, I found that the problem is clearly in Apache. There is a segmentation violation inside procedure cleanup_pool_for_exec from file apr_pools.c. I suspect field sub_pools from struct apr_pool_t beeing corrupted. This procedure is called just before an execve in apr_proc_create in apr/threadproc/unix/proc.c.
the siginfo is
12114: Incurred fault #6, FLTBOUNDS %pc = 0x00000000
12114: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
12114: Received signal #11, SIGSEGV [caught]
12114: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
>How-To-Repeat:
Just put LoadModule in http.conf
>Fix:
please read my description.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]