[PHP-BUG] Bug #71191 [NEW]: Segfault on Shutdown
[email protected] ("michael at currinda dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
From: michael at currinda dot com
Operating system: UBUNTU
PHP version: 7.0.1
Package: Reproducible crash
Bug Type: Bug
Bug description:Segfault on Shutdown
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 bug report at https://bugs.php.net/bug.php?id=71191&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71191&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71191&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71191&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71191&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71191&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71191&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71191&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71191&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71191&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71191&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71191&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71191&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71191&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71191&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71191&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71191&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71191&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71191&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71191&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71191&r=mysqlcfg