php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69142 Program received signal SIGSEGV, Segmentation fault
Submitted: 2015-02-27 23:13 UTC Modified: 2021-01-31 04:22 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: wshafer at relivinc dot com Assigned: cmb (profile)
Status: No Feedback Package: opcache
PHP Version: 5.6.6 OS: Ubuntu
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wshafer at relivinc dot com
New email:
PHP Version: OS:

 

 [2015-02-27 23:13 UTC] wshafer at relivinc dot com
Description:
------------
Hello,

I am getting the following error when accessing a bit of code when the opcache is turned on:

"Program received signal SIGSEGV, Segmentation fault.
_zend_mm_free_int (heap=0x2ac92c0, p=0x7f2fa026db40) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_alloc.c:2104
2104	/build/buildd/php5-5.6.6+dfsg/Zend/zend_alloc.c: No such file or directory."



I have narrowed it down to this line in one of the many classes in the application:

}elseif (!is_file($file) || !is_readable($file)) {

If this line gets commented or opcache is off then there are no problems and the code executes fine.

The interesting thing is if I call this class from a different program there are no errors when opcache is turned on.  Seems it only happens when the class is used with a specific order of events.  For that reason, I haven't been able to provide replication code.


Attached is the gdb backtrace.  I hope this helps and please let me know if you have anymore questions.


GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) attach 3507
Attaching to process 3507
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/.build-id/b7/2f4ac95e8b4f11b68af7cf6a33f9852e80e18e.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libresolv-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
Reading symbols from /usr/lib/libonig.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libonig.so.2
Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libssl.so.1.0.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libdb-5.3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libdb-5.3.so
Reading symbols from /usr/lib/libqdbm.so.14...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libqdbm.so.14
Reading symbols from /lib/x86_64-linux-gnu/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libbz2.so.1.0
Reading symbols from /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpcre.so.3
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libapparmor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libapparmor.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxml2.so.2
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/liblzma.so.5
Reading symbols from /usr/lib/php5/20131226/opcache.so...Reading symbols from /usr/lib/debug/.build-id/c9/5df3c6ae6100375518a5c07479a0969d78e287.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/opcache.so
Reading symbols from /usr/lib/php5/20131226/pdo.so...Reading symbols from /usr/lib/debug/.build-id/20/ad46e8afc7843737755dccb7ef4a724ba0a90f.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/pdo.so
Reading symbols from /usr/lib/php5/20131226/curl.so...Reading symbols from /usr/lib/debug/.build-id/f1/5ca18524103fa2d29aea5e2ad1df87abd37249.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/curl.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcurl.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libidn.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/librtmp.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgnutls.so.26
Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcrypt.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcom_err.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsasl2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtasn1.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgpg-error.so.0
Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libkeyutils.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.26
Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasn1.so.8
Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libroken.so.18
Reading symbols from /usr/lib/x86_64-linux-gnu/libffi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libffi.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libwind.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libheimbase.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhx509.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libcrypt.so.1
Reading symbols from /usr/lib/php5/20131226/gd.so...Reading symbols from /usr/lib/debug/.build-id/df/37b8aed08acbd91e8087764d9f56995e288933.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/gd.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libgd.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgd.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXpm.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libjpeg.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjpeg.so.8
Reading symbols from /lib/x86_64-linux-gnu/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpng12.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libfreetype.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libvpx.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvpx.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libtiff.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtiff.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libX11.so.6
Reading symbols from /lib/x86_64-linux-gnu/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libexpat.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libjbig.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjbig.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
Reading symbols from /usr/lib/php5/20131226/imagick.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/php5/20131226/imagick.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libMagickWand.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libMagickWand.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libMagickCore.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libMagickCore.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libgomp.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgomp.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/liblcms2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblcms2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/liblqr-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblqr-1.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libfftw3.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libfftw3.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXext.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libltdl.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libltdl.so.7
Reading symbols from /lib/x86_64-linux-gnu/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libglib-2.0.so.0
Reading symbols from /usr/lib/php5/20131226/imap.so...Reading symbols from /usr/lib/debug/.build-id/d9/52ab41876c910c8437534b2925f663f3aaa357.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/imap.so
Reading symbols from /usr/lib/libc-client.so.2007e...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc-client.so.2007e
Reading symbols from /lib/x86_64-linux-gnu/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpam.so.0
Reading symbols from /lib/x86_64-linux-gnu/libaudit.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libaudit.so.1
Reading symbols from /usr/lib/php5/20131226/intl.so...Reading symbols from /usr/lib/debug/.build-id/9d/9cadc03ee04bb1bf89cd2e07e668c2c3879182.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/intl.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libicui18n.so.52...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libicui18n.so.52
Reading symbols from /usr/lib/x86_64-linux-gnu/libicuuc.so.52...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libicuuc.so.52
Reading symbols from /usr/lib/x86_64-linux-gnu/libicuio.so.52...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libicuio.so.52
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libicudata.so.52...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libicudata.so.52
Reading symbols from /usr/lib/php5/20131226/json.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/php5/20131226/json.so
Reading symbols from /lib/x86_64-linux-gnu/libjson-c.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libjson-c.so.2
Reading symbols from /usr/lib/php5/20131226/mcrypt.so...Reading symbols from /usr/lib/debug/.build-id/13/8391eadf34b1b4246f6a4267414c6e8a1caf1c.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/mcrypt.so
Reading symbols from /usr/lib/libmcrypt.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmcrypt.so.4
Reading symbols from /usr/lib/php5/20131226/memcached.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/php5/20131226/memcached.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libmemcached.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libmemcached.so.11
Reading symbols from /usr/lib/php5/20131226/mysql.so...Reading symbols from /usr/lib/debug/.build-id/e6/ad91894adb8a6702248906efc9ea47c6ad14f3.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/mysql.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
Reading symbols from /usr/lib/php5/20131226/mysqli.so...Reading symbols from /usr/lib/debug/.build-id/fa/9b1e121159fdb6c0330e816021ac8a6883e0de.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/mysqli.so
Reading symbols from /usr/lib/php5/20131226/oci8.so...done.
Loaded symbols for /usr/lib/php5/20131226/oci8.so
Reading symbols from /opt/oracle/instantclient/libclntsh.so.12.1...(no debugging symbols found)...done.
Loaded symbols for /opt/oracle/instantclient/libclntsh.so.12.1
Reading symbols from /opt/oracle/instantclient/libnnz12.so...(no debugging symbols found)...done.
Loaded symbols for /opt/oracle/instantclient/libnnz12.so
Reading symbols from /opt/oracle/instantclient/libons.so...(no debugging symbols found)...done.
Loaded symbols for /opt/oracle/instantclient/libons.so
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /lib/x86_64-linux-gnu/libaio.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libaio.so.1
Reading symbols from /opt/oracle/instantclient/libclntshcore.so.12.1...(no debugging symbols found)...done.
Loaded symbols for /opt/oracle/instantclient/libclntshcore.so.12.1
Reading symbols from /usr/lib/php5/20131226/pdo_mysql.so...Reading symbols from /usr/lib/debug/.build-id/3c/3ba818ce311a792f8a9322303d1d58b790e222.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/pdo_mysql.so
Reading symbols from /usr/lib/php5/20131226/readline.so...Reading symbols from /usr/lib/debug/.build-id/d3/7cd9453be9dec0194d8f077e8a8cd5264922fa.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/readline.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libedit.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libedit.so.2
Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libtinfo.so.5
Reading symbols from /usr/lib/php5/20131226/xsl.so...Reading symbols from /usr/lib/debug/.build-id/f5/e7897758f6d1d70fcca114385ce5f43155f9a7.debug...done.
done.
Loaded symbols for /usr/lib/php5/20131226/xsl.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libexslt.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libexslt.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libxslt.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxslt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_dns.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_dns-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_dns.so.2
0x00007f2fc0ae66dd in accept () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) handle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
_zend_mm_free_int (heap=0x2ac92c0, p=0x7f2fa026db40) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_alloc.c:2104
2104	/build/buildd/php5-5.6.6+dfsg/Zend/zend_alloc.c: No such file or directory.
(gdb) backtrace full
#0  _zend_mm_free_int (heap=0x2ac92c0, p=0x7f2fa026db40) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_alloc.c:2104
        mm_block = 0x7f2fa026db30
        next_block = 0xfe5f40973fb0
        size = 139842531910784
#1  0x00000000006778cf in php_verror (docref=<optimized out>, params=<optimized out>, type=2, format=<optimized out>, args=args@entry=0x7fff79e8c0f8) at /build/buildd/php5-5.6.6+dfsg/main/main.c:921
        buffer = 0x32927d8 "failed to open stream: No such file or directory"
        docref_buf = 0x3293240 "function.file-put-contents"
        target = <optimized out>
        docref_target = <optimized out>
        docref_root = <optimized out>
        p = <optimized out>
        buffer_len = 48
        space = 0xb0bc0b ""
        class_name = <optimized out>
        function = <optimized out>
        origin_len = <optimized out>
        origin = 0x7f2fa026db40 "0\333&\240/\177"
        message = 0x328c388 "0\333&\240/\177: failed to open stream: No such file or directory"
        is_function = <optimized out>
#2  0x000000000067806d in php_error_docref1 (docref=docref@entry=0x0, param1=param1@entry=0x3292190 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234", type=type@entry=2, format=format@entry=0xa4dc67 "%s: %s") at /build/buildd/php5-5.6.6+dfsg/main/main.c:964
        args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff79e8c1d0, reg_save_area = 0x7fff79e8c110}}
#3  0x000000000068feb8 in php_stream_display_wrapper_errors (wrapper=wrapper@entry=0xe7f2a0 <php_plain_files_wrapper>, path=path@entry=0x3292248 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234", caption=caption@entry=0xb3dfe5 "failed to open stream") at /build/buildd/php5-5.6.6+dfsg/main/streams/streams.c:229
        tmp = 0x3292190 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234"
        msg = 0x7f2fc088ef47 "No such file or directory"
        free_msg = 0
#4  0x0000000000692a52 in _php_stream_open_wrapper_ex (path=0x3292248 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234", mode=mode@entry=0x7fff79e8c2c0 "wb", options=<optimized out>, options@entry=8, opened_path=opened_path@entry=0x0, context=context@entry=0x327f6b8) at /build/buildd/php5-5.6.6+dfsg/main/streams/streams.c:2143
        stream = 0x0
        wrapper = 0xe7f2a0 <php_plain_files_wrapper>
        path_to_open = 0x3292248 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234"
        persistent = 0
        resolved_path = 0x0
        copy_of_path = <optimized out>
#5  0x0000000000607cef in zif_file_put_contents (ht=<optimized out>, return_value=0x327d7b0, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/ext/standard/file.c:617
        stream = <optimized out>
        filename = 0x3292248 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234"
        filename_len = 86
        data = 0x3280a50
        numbytes = 0
        flags = 0
        zcontext = 0x0
        context = 0x327f6b8
        srcstream = 0x0
        mode = "wb"
#6  0x00000000006c9f7b in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:97
        lineno = <optimized out>
        filename = <optimized out>
#7  0x000000000077e580 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:560
        ret = 0x36fa8f8
        opline = <optimized out>
        should_change_scope = <optimized out>
        fbc = 0x2b28600
        num_args = <optimized out>
#8  0x0000000000715348 in execute_ex (execute_data=0x36fa918) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#9  0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#10 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1be7fd0
        should_change_scope = <optimized out>
        fbc = 0x7afceb0
        num_args = <optimized out>
#11 0x0000000000715348 in execute_ex (execute_data=0x36fa798) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#12 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#13 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1be4ec0
        should_change_scope = <optimized out>
        fbc = 0x7afad88
        num_args = <optimized out>
#14 0x0000000000715348 in execute_ex (execute_data=0x36fa620) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#15 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#16 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1bc2cd0
        should_change_scope = <optimized out>
        fbc = 0x7afa298
        num_args = <optimized out>
#17 0x0000000000715348 in execute_ex (execute_data=0x36fa330) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#18 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#19 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1e4bbf0
        should_change_scope = <optimized out>
        fbc = 0x7af16f0
        num_args = <optimized out>
#20 0x0000000000715348 in execute_ex (execute_data=0x36fa0f8) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#21 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#22 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1e51ed0
        should_change_scope = <optimized out>
        fbc = 0x3231628
        num_args = <optimized out>
#23 0x0000000000715348 in execute_ex (execute_data=0x36f9d48) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#24 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#25 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1e48290
        should_change_scope = <optimized out>
        fbc = 0x3231a48
        num_args = <optimized out>
#26 0x0000000000715348 in execute_ex (execute_data=0x36f9b80) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#27 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#28 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1e58708
        should_change_scope = <optimized out>
        fbc = 0x3231418
        num_args = <optimized out>
#29 0x0000000000715348 in execute_ex (execute_data=0x36f9a30) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#30 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#31 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1e2b4b0
        should_change_scope = <optimized out>
        fbc = 0x3241a00
        num_args = <optimized out>
#32 0x0000000000715348 in execute_ex (execute_data=0x36f9888) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#33 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#34 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1e27b88
        should_change_scope = <optimized out>
        fbc = 0x322ead8
        num_args = <optimized out>
#35 0x0000000000715348 in execute_ex (execute_data=0x36f9748) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#36 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#37 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1dc3ef0
        should_change_scope = <optimized out>
        fbc = 0x322e3f8
        num_args = <optimized out>
#38 0x0000000000715348 in execute_ex (execute_data=0x36f9618) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#39 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#40 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1dc2c20
        should_change_scope = <optimized out>
        fbc = 0x3204ff8
        num_args = <optimized out>
#41 0x0000000000715348 in execute_ex (execute_data=0x36f94d0) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#42 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#43 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1d562c0
        should_change_scope = <optimized out>
        fbc = 0x3204e98
        num_args = <optimized out>
#44 0x0000000000715348 in execute_ex (execute_data=0x36f9368) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#45 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#46 0x00000000006cbb93 in zend_call_function (fci=fci@entry=0x7fff79e8d7d0, fci_cache=<optimized out>, fci_cache@entry=0x7fff79e8d7a0) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_execute_API.c:829
        i = <optimized out>
        original_return_value = 0x36f9018
        calling_symbol_table = 0x0
        original_op_array = 0x341d550
        original_opline_ptr = 0x36f9198
        current_scope = 0x341acb8
        current_called_scope = 0x341acb8
        calling_scope = 0x31c7878
        called_scope = 0x31c7878
        current_this = 0x3418d78
        execute_data = {opline = 0x0, function_state = {function = 0x31c7ac8, arguments = 0x36f9320}, op_array = 0x0, object = 0x7933ee0, symbol_table = 0x0, prev_execute_data = 0x36f9198, old_error_reporting = 0x0, nested = 0 '\000', original_return_value = 0x7fff79e8d3a0, current_scope = 0x0, current_called_scope = 0x0, current_this = 0x0, fast_ret = 0x372e860, delayed_exception = 0x0, call_slots = 0x36f92a0, call = 0x36f92a0}
        fci_cache_local = {initialized = 252 '\374', function_handler = 0x6e4d78 <zend_parse_parameters+152>, calling_scope = 0xe80dfc <php_execute.return_semaphore>, called_scope = 0x3000000030, object_ptr = 0x7fff79e8d790}
#47 0x00000000005fbfa9 in zif_call_user_func (ht=<optimized out>, return_value=0x35afdb8, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/ext/standard/basic_functions.c:4755
        retval_ptr = 0x0
        fci = {size = 72, function_table = 0x31c78a0, function_name = 0x7929298, symbol_table = 0x0, retval_ptr_ptr = 0x7fff79e8d798, param_count = 3, params = 0x3178198, object_ptr = 0x7933ee0, no_separation = 1 '\001'}
        fci_cache = {initialized = 1 '\001', function_handler = 0x31c7ac8, calling_scope = 0x31c7878, called_scope = 0x31c7878, object_ptr = 0x7933ee0}
#48 0x00000000006c9f7b in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:97
        lineno = <optimized out>
        filename = <optimized out>
#49 0x000000000077e580 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:560
        ret = 0x36f9178
        opline = <optimized out>
        should_change_scope = <optimized out>
        fbc = 0x2b20020
        num_args = <optimized out>
#50 0x0000000000715348 in execute_ex (execute_data=0x36f9198) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#51 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#52 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15c32a8
        should_change_scope = <optimized out>
        fbc = 0x341d550
        num_args = <optimized out>
#53 0x0000000000715348 in execute_ex (execute_data=0x36f9030) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#54 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#55 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15b6b28
        should_change_scope = <optimized out>
        fbc = 0x341dec8
        num_args = <optimized out>
#56 0x0000000000715348 in execute_ex (execute_data=0x36f8ea0) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#57 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#58 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15b5a40
        should_change_scope = <optimized out>
        fbc = 0x341c898
        num_args = <optimized out>
#59 0x0000000000715348 in execute_ex (execute_data=0x36f8d50) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#60 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#61 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15b4168
        should_change_scope = <optimized out>
        fbc = 0x341c688
        num_args = <optimized out>
#62 0x0000000000715348 in execute_ex (execute_data=0x36f8bb8) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#63 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#64 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1d54c60
        should_change_scope = <optimized out>
        fbc = 0x341c580
        num_args = <optimized out>
#65 0x0000000000715348 in execute_ex (execute_data=0x36f8a50) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#66 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#67 0x00000000006cbb93 in zend_call_function (fci=fci@entry=0x7fff79e8e2b0, fci_cache=<optimized out>, fci_cache@entry=0x7fff79e8e280) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_execute_API.c:829
        i = <optimized out>
        original_return_value = 0x36f8700
        calling_symbol_table = 0x0
        original_op_array = 0x341d550
        original_opline_ptr = 0x36f8880
        current_scope = 0x341acb8
        current_called_scope = 0x341acb8
        calling_scope = 0x31c71f0
        called_scope = 0x31c71f0
        current_this = 0x3418d78
        execute_data = {opline = 0x0, function_state = {function = 0x31c74e0, arguments = 0x36f8a08}, op_array = 0x0, object = 0x31b19f0, symbol_table = 0x0, prev_execute_data = 0x36f8880, old_error_reporting = 0x0, nested = 0 '\000', original_return_value = 0x7fff79e8de80, current_scope = 0x0, current_called_scope = 0x0, current_this = 0x0, fast_ret = 0x372e860, delayed_exception = 0x0, call_slots = 0x36f8988, call = 0x36f8988}
        fci_cache_local = {initialized = 252 '\374', function_handler = 0x6e4d78 <zend_parse_parameters+152>, calling_scope = 0xe80dfc <php_execute.return_semaphore>, called_scope = 0x3000000030, object_ptr = 0x7fff79e8e270}
#68 0x00000000005fbfa9 in zif_call_user_func (ht=<optimized out>, return_value=0x35afd58, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/ext/standard/basic_functions.c:4755
        retval_ptr = 0x0
        fci = {size = 72, function_table = 0x31c7218, function_name = 0x31b1e08, symbol_table = 0x0, retval_ptr_ptr = 0x7fff79e8e278, param_count = 3, params = 0x79a3f88, object_ptr = 0x31b19f0, no_separation = 1 '\001'}
        fci_cache = {initialized = 1 '\001', function_handler = 0x31c74e0, calling_scope = 0x31c71f0, called_scope = 0x31c71f0, object_ptr = 0x31b19f0}
#69 0x00000000006c9f7b in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:97
        lineno = <optimized out>
        filename = <optimized out>
#70 0x000000000077e580 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:560
        ret = 0x36f8860
        opline = <optimized out>
        should_change_scope = <optimized out>
        fbc = 0x2b20020
        num_args = <optimized out>
#71 0x0000000000715348 in execute_ex (execute_data=0x36f8880) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#72 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#73 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15c32a8
        should_change_scope = <optimized out>
        fbc = 0x341d550
        num_args = <optimized out>
#74 0x0000000000715348 in execute_ex (execute_data=0x36f8718) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#75 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#76 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15b6b28
        should_change_scope = <optimized out>
        fbc = 0x341dec8
        num_args = <optimized out>
#77 0x0000000000715348 in execute_ex (execute_data=0x36f8588) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#78 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#79 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15b5a40
        should_change_scope = <optimized out>
        fbc = 0x341c898
        num_args = <optimized out>
#80 0x0000000000715348 in execute_ex (execute_data=0x36f8438) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#81 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#82 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15b4168
        should_change_scope = <optimized out>
        fbc = 0x341c688
        num_args = <optimized out>
#83 0x0000000000715348 in execute_ex (execute_data=0x36f82a0) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#84 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#85 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa192f590
        should_change_scope = <optimized out>
        fbc = 0x341c580
        num_args = <optimized out>
#86 0x0000000000715348 in execute_ex (execute_data=0x36f8158) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#87 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#88 0x00000000006cbb93 in zend_call_function (fci=fci@entry=0x7fff79e8ed90, fci_cache=<optimized out>, fci_cache@entry=0x7fff79e8ed60) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_execute_API.c:829
        i = <optimized out>
        original_return_value = 0x36f7df8
        calling_symbol_table = 0x0
        original_op_array = 0x3455990
        original_opline_ptr = 0x36f7f88
        current_scope = 0x3453c60
        current_called_scope = 0x3453c60
        calling_scope = 0x79ff900
        called_scope = 0x79ff900
        current_this = 0x353c070
        execute_data = {opline = 0x0, function_state = {function = 0x79ffdb0, arguments = 0x36f8110}, op_array = 0x0, object = 0x7a0f220, symbol_table = 0x0, prev_execute_data = 0x36f7f88, old_error_reporting = 0x0, nested = 0 '\000', original_return_value = 0x36f7df8, current_scope = 0x3453c60, current_called_scope = 0x3453c60, current_this = 0x353c070, fast_ret = 0x34240b8, delayed_exception = 0x0, call_slots = 0x36f80b0, call = 0x36f80d0}
        fci_cache_local = {initialized = 252 '\374', function_handler = 0x6e4d78 <zend_parse_parameters+152>, calling_scope = 0x0, called_scope = 0x3000000030, object_ptr = 0x7fff79e8ed50}
#89 0x00000000005fbfa9 in zif_call_user_func (ht=<optimized out>, return_value=0x79fd918, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/ext/standard/basic_functions.c:4755
        retval_ptr = 0x0
        fci = {size = 72, function_table = 0x79ff928, function_name = 0x7a109e0, symbol_table = 0x0, retval_ptr_ptr = 0x7fff79e8ed58, param_count = 1, params = 0x79b4040, object_ptr = 0x7a0f220, no_separation = 1 '\001'}
        fci_cache = {initialized = 1 '\001', function_handler = 0x79ffdb0, calling_scope = 0x79ff900, called_scope = 0x79ff900, object_ptr = 0x7a0f220}
#90 0x00000000006c9f7b in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:97
        lineno = <optimized out>
        filename = <optimized out>
#91 0x000000000077e580 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:560
        ret = 0x36f7f48
        opline = <optimized out>
        should_change_scope = <optimized out>
        fbc = 0x2b20020
        num_args = <optimized out>
#92 0x0000000000715348 in execute_ex (execute_data=0x36f7f88) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#93 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#94 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa1604fe0
        should_change_scope = <optimized out>
        fbc = 0x3455990
        num_args = <optimized out>
#95 0x0000000000715348 in execute_ex (execute_data=0x36f7e10) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#96 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#97 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa15a09f8
        should_change_scope = <optimized out>
        fbc = 0x3454bd0
        num_args = <optimized out>
#98 0x0000000000715348 in execute_ex (execute_data=0x36f7ca8) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 1 '\001'
#99 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#100 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
        opline = 0x7f2fa146f0c8
        should_change_scope = <optimized out>
        fbc = 0x3413eb8
        num_args = <optimized out>
#101 0x0000000000715348 in execute_ex (execute_data=0x36f7b98) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
        ret = <optimized out>
        original_in_execution = 0 '\000'
#102 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
        lineno = <optimized out>
        scope = 0x0
        filename = <optimized out>
        funcname = <optimized out>
        classname = <optimized out>
#103 0x00000000006dc520 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at /build/buildd/php5-5.6.6+dfsg/Zend/zend.c:1341
        files = {{gp_offset = 40, fp_offset = 0, overflow_arg_area = 0x7fff79e8f500, reg_save_area = 0x7fff79e8f490}}
        i = 1
        file_handle = 0x7fff79e91890
        orig_op_array = 0x0
        orig_retval_ptr_ptr = 0x0
        orig_interactive = 0
#104 0x0000000000679f55 in php_execute_script (primary_file=primary_file@entry=0x7fff79e91890) at /build/buildd/php5-5.6.6+dfsg/main/main.c:2578
        realfile = "\177\002\070)MɄ\202W\342|]\035\261\277\023\336\364A\353bx\226&.\033\307el\264\374#\334!9Gw\365l#\317RwA\236?\033\216\303cg\225\363\311\016\026'7+\231\023d\213-\fݥw\301\324\355B\251\006\\o\211\343\360\377\000n\227\005<\216\373%\036͐\264\306\005\002C\334\355I\243\263O0\203\267\017\f\207ڬt\203\021 `\202\022b\rnW_h(\232\275\b'~g\226\210/\034\326K\307xtS\200\350rJ\366\264\352\f\203-|\001q\b8\270\344xh\346sp\204G\215|\270g>\201\313\375(\r$mw~4\201b\361\234G\a&'\n\314gk#d\303vr\311\033l\t\036ZA\000\000"...
        __orig_bailout = 0x7fff79e91910
        __bailout = {{__jmpbuf = {15315232, 5041988496518475038, 0, 140735238721281, 0, 57632320, 5041988489075682590, -5042256077987451618}, __mask_was_saved = 0, __saved_mask = {__val = {290499906672525313, 580999813328273666, 1161999622361645572, 8741627614231397384, 18436038297969849340, 15204433376466319360, 15567075857730328466, 1091149265785997463, 2496781531197757218, 4307147852623655904, 9702727530415026488, 14613716485322026394, 18277857436426502798, 8581542907658479450, 11674484459691020468, 5045849315997003481}}}}
        prepend_file_p = <optimized out>
        append_file_p = 0x0
        prepend_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path = 0x0, handle = {fd = 0, fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos = 0, map = 0x0, buf = 0x0, old_handle = 0x0, old_closer = 0x0}, reader = 0x0, fsizer = 0x0, closer = 0x0}}, free_filename = 0 '\000'}
        append_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path = 0x0, handle = {fd = 0, fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos = 0, map = 0x0, buf = 0x0, old_handle = 0x0, old_closer = 0x0}, reader = 0x0, fsizer = 0x0, closer = 0x0}}, free_filename = 0 '\000'}
        old_cwd = 0x7fff79e8f510 "/"
        retval = 0
#105 0x00000000004647b1 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/sapi/fpm/fpm/fpm_main.c:2047
        primary_script = 0x3729678 "/www/rwriter/current/public/index.php"
        __orig_bailout = 0x0
        __bailout = {{__jmpbuf = {0, 5041988495280106782, 4, 140735238721366, 4294967295, 0, 5041988496516377886, -5042256366872105698}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}}
        exit_status = 0
        c = <optimized out>
        use_extended_info = 0
        file_handle = {type = ZEND_HANDLE_FILENAME, filename = 0x36f7ac0 "/www/rwriter/current/public/index.php", opened_path = 0x0, handle = {fd = -1020738976, fp = 0x7f2fc328c260, stream = {handle = 0x7f2fc328c260, isatty = 0, mmap = {len = 1565, pos = 0, map = 0x0, buf = 0x7f2fc32a4000 "<br />\n<b>Fatal error</b>:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 139842527091504 bytes) in <b>Unknown</b> on line <b>0</b><br />\n", old_handle = 0x0, old_closer = 0x0}, reader = 0x6903e0 <_php_stream_read>, fsizer = 0x6765e0 <php_zend_stream_fsizer>, closer = 0x6765c0 <php_zend_stream_mmap_closer>}}, free_filename = 0 '\000'}
        orig_optind = 1
        orig_optarg = 0x0
        ini_entries_len = <optimized out>
        max_requests = 0
        requests = 1
        fcgi_fd = <optimized out>
        request = {listen_socket = 0, fd = 4, id = 1, keep = 0, closed = 0, in_len = 0, in_pad = 5, out_hdr = 0x0, out_pos = 0x7fff79e91ae0 "\001\a", out_buf = "\001\a\000\001\001,\004\000PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 139842527091504 bytes) in Unknown on line 0\n-cache, must-revalidate, post-check=0, pre-check="..., reserved = '\000' <repeats 15 times>, env = 0x36f61d0}
        fpm_config = 0x7fff79e94f56 ""
        fpm_prefix = 0x0
        fpm_pid = 0x0
        test_conf = 0
        force_daemon = 0
        force_stderr = 0
        php_information = 0
        php_allow_to_run_as_root = 0
        __func__ = "main"
(gdb) info registers
rax            0x0	0
rbx            0x7f2fa0706480	139842531910784
rcx            0x0	0
rdx            0x328c388	53003144
rsi            0x7f2fa026db40	139842527091520
rdi            0x2ac92c0	44864192
rbp            0x2ac92c0	0x2ac92c0
rsp            0x7fff79e8c020	0x7fff79e8c020
r8             0x0	0
r9             0x0	0
r10            0x0	0
r11            0x0	0
r12            0x7f2fa026db40	139842527091520
r13            0x7f2fa026db30	139842527091504
r14            0xfe5f40973fb0	279685059002288
r15            0xb0bc0b	11582475
rip            0x6b24f1	0x6b24f1 <_zend_mm_free_int+145>
eflags         0x10287	[ CF PF SF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
(gdb) x/16i $pc
=> 0x6b24f1 <_zend_mm_free_int+145>:	testb  $0x1,(%r14)
   0x6b24f5 <_zend_mm_free_int+149>:	je     0x6b2561 <_zend_mm_free_int+257>
   0x6b24f7 <_zend_mm_free_int+151>:	mov    -0x8(%r12),%rax
   0x6b24fc <_zend_mm_free_int+156>:	test   $0x1,%al
   0x6b24fe <_zend_mm_free_int+158>:	je     0x6b2549 <_zend_mm_free_int+233>
   0x6b2500 <_zend_mm_free_int+160>:	cmpq   $0x3,0x8(%r13)
   0x6b2505 <_zend_mm_free_int+165>:	jne    0x6b2515 <_zend_mm_free_int+181>
   0x6b2507 <_zend_mm_free_int+167>:	mov    0x0(%r13,%rbx,1),%rax
   0x6b250c <_zend_mm_free_int+172>:	and    $0x3,%eax
   0x6b250f <_zend_mm_free_int+175>:	cmp    $0x3,%rax
   0x6b2513 <_zend_mm_free_int+179>:	je     0x6b2571 <_zend_mm_free_int+273>
   0x6b2515 <_zend_mm_free_int+181>:	mov    %rbx,0x0(%r13)
   0x6b2519 <_zend_mm_free_int+185>:	mov    %r13,%rsi
   0x6b251c <_zend_mm_free_int+188>:	mov    %rbx,0x8(%r13,%rbx,1)
   0x6b2521 <_zend_mm_free_int+193>:	mov    %rbp,%rdi
   0x6b2524 <_zend_mm_free_int+196>:	callq  0x6b2030 <zend_mm_add_to_free_list>
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7f2fc3299740 (LWP 3507)):
#0  _zend_mm_free_int (heap=0x2ac92c0, p=0x7f2fa026db40) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_alloc.c:2104
#1  0x00000000006778cf in php_verror (docref=<optimized out>, params=<optimized out>, type=2, format=<optimized out>, args=args@entry=0x7fff79e8c0f8) at /build/buildd/php5-5.6.6+dfsg/main/main.c:921
#2  0x000000000067806d in php_error_docref1 (docref=docref@entry=0x0, param1=param1@entry=0x3292190 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234", type=type@entry=2, format=format@entry=0xa4dc67 "%s: %s") at /build/buildd/php5-5.6.6+dfsg/main/main.c:964
#3  0x000000000068feb8 in php_stream_display_wrapper_errors (wrapper=wrapper@entry=0xe7f2a0 <php_plain_files_wrapper>, path=path@entry=0x3292248 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234", caption=caption@entry=0xb3dfe5 "failed to open stream") at /build/buildd/php5-5.6.6+dfsg/main/streams/streams.c:229
#4  0x0000000000692a52 in _php_stream_open_wrapper_ex (path=0x3292248 "data/DoctrineORMModule/Proxy/__CG__RcmEntityLanguage.php.0\333&\240/\177\065\064f0f7c4b83c08.11481234", mode=mode@entry=0x7fff79e8c2c0 "wb", options=<optimized out>, options@entry=8, opened_path=opened_path@entry=0x0, context=context@entry=0x327f6b8) at /build/buildd/php5-5.6.6+dfsg/main/streams/streams.c:2143
#5  0x0000000000607cef in zif_file_put_contents (ht=<optimized out>, return_value=0x327d7b0, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/ext/standard/file.c:617
#6  0x00000000006c9f7b in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:97
#7  0x000000000077e580 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:560
#8  0x0000000000715348 in execute_ex (execute_data=0x36fa918) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
#9  0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
#10 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
#11 0x0000000000715348 in execute_ex (execute_data=0x36fa798) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
#12 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
#13 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
#14 0x0000000000715348 in execute_ex (execute_data=0x36fa620) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
#15 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
#16 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
#17 0x0000000000715348 in execute_ex (execute_data=0x36fa330) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
#18 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
#19 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
#20 0x0000000000715348 in execute_ex (execute_data=0x36fa0f8) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
#21 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
#22 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:592
#23 0x0000000000715348 in execute_ex (execute_data=0x36f9d48) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_vm_execute.h:363
#24 0x00000000006c9e79 in dtrace_execute_ex (execute_data=<optimized out>) at /build/buildd/php5-5.6.6+dfsg/Zend/zend_dtrace.c:73
#25 0x000000000077ea5a in zend_do_fcall_common_helper_SPEC (execute_data=<opti

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-28 00:56 UTC] rasmus@php.net
-Status: Open +Status: Analyzed
 [2015-02-28 00:56 UTC] rasmus@php.net
A couple of things I notice here:

1. The crash is on a call to file_put_contents() and it looks like it is trying to write to a Doctrine stream of some kind
2. I see dtrace all over the backtrace which is kind of weird
 [2015-02-28 02:24 UTC] wshafer at relivinc dot co
Hi Rasmus,

Thanks for the reply.  But I'm not sure what it means.  I can give you a bit more info about what's happening at the time it crashe, if that helps.

Well, there are a couple of things going on with files here.  First we're getting an uploaded file and using ZF2's MimeType filter to check the file.  The MimeType filter is are using the methods is_file() and is_readable() noted above and are looking through a list of known mime files to get the definitions.  Some of these files may or may not be there.  Once it finds it, it reads the file to get a list of mime types.  Once it has that it checks the uploaded files mime type to see if it's in that list.

From there we are uploading the file via the s3 stream (Zf2 AWS SDK module) and then storing the path into the DB, which as you noted is using Doctrine for the back end, which will attempt to write a proxy file if it can't find one.

Using your comments I double checked the directories and PHP can certainly write to the destination folder.

As noted earlier, with opcache turned off, everything works fine.  In fact if I restart the server the first request works but the additional requests fail when the opcache is turned on.

I have worked around this issue by simply putting that MimeType filter in the opcache blacklist for now and that got it working.

Is there anything else you'd recommend I try, or any additional information I can get you?

Thanks again,
Westin Shafer
 [2015-03-02 22:09 UTC] wshafer at relivinc dot com
Additional information: Downgraded to php 5.5.22 and this issue doesn't happen on this version.
 [2021-01-18 17:57 UTC] cmb@php.net
-Status: Analyzed +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-01-18 17:57 UTC] cmb@php.net
Does this still happen with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-01-31 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 04:01:29 2024 UTC