Bug #70818 [Com]: Segmentation fault $php_fpm_BIN --daemonize $php_opts
| From: | pei dot greet at qq dot com | Date: | Mon, 02 Nov 2015 08:30:14 +0000 |
| Subject: | Bug #70818 [Com]: Segmentation fault $php_fpm_BIN --daemonize $php_opts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196965@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70818&edit=1
ID: 70818
Comment by: pei dot greet at qq dot com
Reported by: nguyentu dot me at outlook dot com
Summary: Segmentation fault $php_fpm_BIN --daemonize
$php_opts
Status: Open
Type: Bug
Package: opcache
Operating System: CentOS 6
PHP Version: 7.0.0RC6
Block user comment: N
Private report: N
New Comment:
I got the same error in CentOs6.5
------------------------
gdb /opt/php7/sbin/php-fpm /var/log/php-fpm.core.33381
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/php7/sbin/php-fpm...done.
BFD: Warning: /var/log/php-fpm.core.33381 is truncated: expected core file size >= 6447104,
found: 1130496.
[New Thread 33381]
Cannot access memory at address 0x33f0421168
Cannot access memory at address 0x33f0421168
Cannot access memory at address 0x33f0421168
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Failed to read a valid object file image from memory.
Core was generated by `/opt/php7/sbin/php-fpm --daemonize --fpm-config /opt/php7/etc/php-fpm.conf
--pi'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000033f0729008 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.7.x86_64
---------------------------------
Previous Comments:
------------------------------------------------------------------------
[2015-10-30 23:21:23] nguyentu dot me at outlook dot com
Hi,
I use the services of DigitalOcean" vs VULTR. I've rebuilt the VPS several times to test
it again, but all failed.
If you want I'm very pleased to send you a VPS with SSH root account. Thank you!
------------------------------------------------------------------------
[2015-10-30 17:30:45] kalle@php.net
Hi
Can you try to do a completely fresh build, as in rebuilding from scratch and clearing all temp
files and make sure paths are clean?
The backtraces are rather strange, and like Xinchen mentions, this seems like a build issue.
Especially the first (non debug bt) is rather odd, as it should not be able to fail at all, and then
later in the debug build, it passes that point with no problem. The second bt tells me there is a
symbol loading issue, which should not be possible as the zend_hash_init function and co, are
already imported from an include in zend.h
------------------------------------------------------------------------
[2015-10-30 12:08:36] nguyentu dot me at outlook dot com
Hi,
I just build it on Ubuntu 12.04 and it worked fine, but it does not work on CentOS 6.
Screenshot: http://prntscr.com/8x0y54
Please help!
------------------------------------------------------------------------
[2015-10-30 07:50:57] nguyentu dot me at outlook dot com
The extensions like gd.so, mbstring.so, mcrypt.so... is working fine except opcache.so.
All of them in /usr/local/php7/lib/php/extensions/debug-non-zts-xxxxxxx
------------------------------------------------------------------------
[2015-10-30 07:46:05] laruence@php.net
looks like some building issue. make sure you rebuild the opcache then make install it to the right
location.
------------------------------------------------------------------------
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=70818
--
Edit this bug report at https://bugs.php.net/bug.php?id=70818&edit=1