Bug #70380 [Fbk->Opn]: Segfault in libphp7.so upon apache start
| From: | Birman at Cerberox dot com | Date: | Tue, 01 Sep 2015 07:46:19 +0000 |
| Subject: | Bug #70380 [Fbk->Opn]: Segfault in libphp7.so upon apache start | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195665@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70380&edit=1
ID: 70380
User updated by: Birman at Cerberox dot com
Reported by: Birman at Cerberox dot com
Summary: Segfault in libphp7.so upon apache start
-Status: Feedback
+Status: Open
Type: Bug
Package: Apache2 related
Operating System: CentOS 7.1.1503
PHP Version: 7.0.0RC1
Block user comment: N
Private report: N
New Comment:
Do you mean this:
[New LWP 3686]
Reading symbols from /usr/sbin/httpd...Reading symbols from
/usr/lib/debug/usr/sbin/httpd.debug...done.
done.
Missing separate debuginfo for /usr/lib64/httpd/modules/libphp7.so
Try: yum --enablerepo='*debug*' install
/usr/lib/debug/.build-id/9b/4f26c922cbe8b248ea5d2b906b4d7a04efe406
Missing separate debuginfo for
Try: yum --enablerepo='*debug*' install
/usr/lib/debug/.build-id/64/de62eaa6d0191ead9358297d64406988d7ed66
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `httpd -X'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f89431d3c9d in _emalloc (size=288) at /usr/local/src/php/Zend/zend_alloc.c:2376
2376 /usr/local/src/php/Zend/zend_alloc.c: No such file or directory.
Do I need to install all those things it asks me? There are like 50+ more. It feels excessive.
Previous Comments:
------------------------------------------------------------------------
[2015-08-31 13:44:15] laruence@php.net
use gdb open it, then paste the backtrace output here (text)
------------------------------------------------------------------------
[2015-08-28 22:03:40] Birman at Cerberox dot com
I have the backtrace file. I wasn't sure how to add it here, so I uploaded it somewhere else:
http://www.upload.ee/download/5164096/6e9d6cec2876e6775ce/core-httpd.25133
That's a direct link for download.
------------------------------------------------------------------------
[2015-08-28 13:08:15] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2015-08-28 09:13:40] Birman at Cerberox dot com
Description:
------------
Followed this guide here: http://php7.zend.com/repo.php
Did exactly what it said. Also disabled the libphp5 module from loading inside
/etc/httpd/conf/httpd.conf.
When starting httpd service, it says it couldn't start and this can be found in the journal:
-- Unit httpd.service has begun starting up.
Aug 28 10:04:10 ns369670 httpd[4162]: [Fri Aug 28 10:04:10.396870 2015] [so:warn] [pid 4162]
AH01574: module rewrite_module is already loaded, skipping
Aug 28 10:04:10 ns369670 kernel: httpd[4162]: segfault at 0 ip 00007f60d5a86c9d sp 00007fffb76c3070
error 4 in libphp7.so[7f60d5599000+b8c000]
Aug 28 10:04:10 ns369670 systemd[1]: httpd.service: main process exited, code=killed, status=11/SEGV
Aug 28 10:04:10 ns369670 kill[4164]: kill: cannot find process ""
Aug 28 10:04:10 ns369670 systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 28 10:04:10 ns369670 systemd[1]: Failed to start The Apache HTTP Server.
Perhaps it's also relevant that I first followed this guide for installing php7: http://linoxide.com/linux-how-to/install-php-7-centos-7-fedora-21/
It didn't come with "make uninstall" though, so there are leftovers somewhere.
Apache version 2.4.6.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70380&edit=1