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/05/08 19:34:25 UTC

DO NOT REPLY [Bug 39515] New: - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515

           Summary: Apache 2.2.2 and PHP 5.1.4 Segmentation fault
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache.servers@gmail.com


Built the APR manually and I get one of these infamous errors:

[Mon May 08 05:41:16 2006] [notice] child pid 31261 exit signal Segmentation 
fault (11)

It only happends when I load in the PHP module.

Is bulding the APR manually required for 2.2.x?

How do I un-install the manually installed APR, it seems that on a different 
server, w/o manually installing the APR, the installation worked just 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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515


roso@bellsouth.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From roso@bellsouth.net  2006-05-14 16:02 -------
Please allow me to explain:

I am not a beginer, I've built Apache 100 times before, almost every new 
version since 2.0 beta, many times each. Most of the time it builds pretty 
nicely, and works. And of course, I did re-build PHP, with the new apxs2.

Someone might say that I am a little bit too lazy to get the backtrace for the 
Segfault posted here. In fact the issue mentioned here happened on a 
production machine and it cannot be put to work on debugging. On the 
development machine Apache 2.2.2 compiled just fine.

You should know that the example code on the page with installation 
instruction misleads people into thinking that APR needs to be installed 
manually. ( http://httpd.apache.org/docs/2.2/install.html ).

I understand that libapr-1.so libaprutil-1.so have different names, the thing 
is that I want the compilation process not to ask for them, and it does, 
giving me no choice at all to let it install the bundled APR instead.

Happy Mother's Day


-- 
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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515





------- Additional Comments From wrowe@apache.org  2006-05-15 15:58 -------
httpd 2.2.2 introduces additional diagnostics with the -V option, would you
please paste or attach the full output of httpd -V to determine which apr was
compiled-in and in-use?

You've recompiled php5 -since- you reconfigured apr?

The stack trace isn't optional.  Move your build and dumpfile over to a box
with gdb, and (using -those- build binaries) load you dumpfile there.

-- 
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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515


nick@webthing.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From nick@webthing.com  2006-07-04 22:38 -------
This segfault is deep within a third-party module - apparently ZEND.  If there 
is a bug here (as opposed to, for example, a build error), please report it to 
the maintainers of the module.

-- 
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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515





------- Additional Comments From ben.tc1415@gmail.com  2006-07-04 21:46 -------
Created an attachment (id=18556)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18556&action=view)
Backtrace

I'm getting the same thing - Segfaults with apache 2.2.2 and php 5.1.4 and I
have built apr manually (for some reason). Mine only seem to happen when
running complex scripts (phpMyAdmin) but it sounds the same as this. I've
attached a backtrace.

-- 
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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515





------- Additional Comments From apache.servers@gmail.com  2006-05-08 21:58 -------
In fact, I wanted to use the bundled APR but it wouldn't configure without 
giving the path to the manually installed APR. How can I force ./configure to 
use the bundled APR?

Thanks.



-- 
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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From wrowe@apache.org  2006-05-14 08:23 -------
You need to build the php module against apache 2.2, apr 1.2 - it is not binary
compatible with apache 2.0 apr 0.9.  In any case this would be a PHP issue.

FYI the apr(-util) filenames for apr 1.2 are labeled libapr-1.so libaprutil-1.so
so there is almost no way for you to cause a conflict.

The current apr is 1.2.7 - ensure you are using that.

-- 
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 39515] - Apache 2.2.2 and PHP 5.1.4 Segmentation fault

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=39515>.
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=39515





------- Additional Comments From rpluem@apache.org  2006-05-08 19:29 -------
No, it is not required to build apr manually provided that you use the apr that
is bundled with httpd.
If you have no specific requirement for having a different apr version than the
one delivered with httpd then you should use the bundled version.
Anyway please provide a backtrace of the core dump for further analysis.
Furthermore please provide the versions of apr / apr-util you are using if you
do not use the bundled ones.

-- 
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