Bug #71191 [Opn->Fbk]: Segfault on Shutdown

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=71191&edit=1

 ID:                 71191
 Updated by:         [email protected]
 Reported by:        michael at currinda dot com
 Summary:            Segfault on Shutdown
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   UBUNTU
 PHP Version:        7.0.1
 Block user comment: N
 Private report:     N

 New Comment:

try with:

USE_ZEND_ALLOC=0 ZEND_DONT_UNLOAD_MODULES=1 valgrind php7 yourscript.php

it will shows where the problem came from, and I guess it probably relates to YAML.


Previous Comments:
------------------------------------------------------------------------
[2015-12-22 04:48:47] michael at currinda dot com

I've also got YAML pecl installed.

------------------------------------------------------------------------
[2015-12-22 04:48:03] michael at currinda dot com

Description:
------------
PHP 7.0.1 Compiled

The process segfaults at the end of the process. I'm able to recompile and test if needed.


#0  0x00000000009ec9b2 in zend_objects_store_call_destructors (objects=0x1386190 <executor_globals+816>)
    at /home/ubuntu/php-7.0.1/Zend/zend_objects_API.c:54
#1  0x0000000000988dc0 in shutdown_destructors () at /home/ubuntu/php-7.0.1/Zend/zend_execute_API.c:242
#2  0x00000000009a11ca in zend_call_destructors () at /home/ubuntu/php-7.0.1/Zend/zend.c:952
#3  0x000000000090e4d2 in php_request_shutdown (dummy=0x0) at /home/ubuntu/php-7.0.1/main/main.c:1761
#4  0x0000000000a71239 in main (argc=6, argv=0x7fffa6a442c8) at /home/ubuntu/php-7.0.1/sapi/fpm/fpm/fpm_main.c:1972


'./configure' \
'--prefix=/usr/local' \
'--with-libdir=/lib/x86_64-linux-gnu' \
'--with-mysqli' \
'--enable-fpm' \
'--with-readline' \
'--with-pdo_mysql' \
'--with-curl' \
'--enable-pcntl' \
'--enable-mbstring' \
'--enable-debug' \
'--with-zlib' \
'--with-pdo' \
'--enable-so' \
'--with-mcrypt' \
'--with-gd' \
'--enable-gd-native-ttf' \
'--with-openssl' \
'--with-png-dir=/usr' \
'--with-jpeg-dir=/usr' \
'--with-freetype-dir=usr' \
'--with-ttf' \
'--with-exif' \
'--enable-bcmath' \
"$@"



Test script:
---------------
This happens on similar scripts, but isn't reproducible on my Mac build.`

Expected result:
----------------
Non segfault

Actual result:
--------------
Segfault


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



--
Edit this bug report at https://bugs.php.net/bug.php?id=71191&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.