Bug #70380 [Com]: Segfault in libphp7.so upon apache start

From: Date: Thu, 10 Sep 2015 15:46:08 +0000
Subject: Bug #70380 [Com]: Segfault in libphp7.so upon apache start
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195947@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
 Comment by:         krihog at gmail dot com
 Reported by:        Birman at Cerberox dot com
 Summary:            Segfault in libphp7.so upon apache start
 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:

Had the same error when trying to restart apache after following that guide. What i did to solve it
was to run:
sudo a2dismod php5

and then restarting the apache2 service, after that it all worked


Previous Comments:
------------------------------------------------------------------------
[2015-09-08 12:34:46] Birman at Cerberox dot com

[New LWP 31943]
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  0x00007f853a212c9d in _emalloc (size=288) at /usr/local/src/php/Zend/zend_alloc.c:2376

warning: Source file is more recent than executable.
2376            if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) {

That's the best it offered me. The 50+ things it asked me to install were actually already
installed.

------------------------------------------------------------------------
[2015-09-01 15:48:36] laruence@php.net

yeah, please paste them all, thanks

------------------------------------------------------------------------
[2015-09-01 07:46:17] Birman at Cerberox dot com

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.

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

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=70380


--
Edit this bug report at https://bugs.php.net/bug.php?id=70380&edit=1


Thread (14 messages)

« previous php.bugs (#195947) next »