[PHP-BUG] Bug #71192 [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 Precise
PHP version:      7.0.1
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Segfault on Shutdown

Description:
------------
Segfault on shutdown, not sure what script is causing this but getting
reports of unclean exits from browsers.

Compiled with:

'./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' \

also has PECL YAML extension installed.



Expected result:
----------------
Clean shutdown

Actual result:
--------------
#0  0x000000000096df76 in zend_mm_find_leaks_small (p=0x7f562a200000,
i=509, j=38, leak=0x7fffa6a43b40)
    at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:1996
#1  0x000000000096e0e3 in zend_mm_find_leaks (heap=0x7f562b800040,
p=0x7f562a200000, i=509, leak=0x7fffa6a43b40)
    at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2024
#2  0x000000000096e5ca in zend_mm_check_leaks (heap=0x7f562b800040) at
/home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2128
#3  0x000000000096e88a in zend_mm_shutdown (heap=0x7f562b800040, full=0,
silent=0) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2193
#4  0x000000000096f6f9 in shutdown_memory_manager (silent=0,
full_shutdown=0) at /home/ubuntu/php-7.0.1/Zend/zend_alloc.c:2629
#5  0x000000000090e8a5 in php_request_shutdown (dummy=0x0) at
/home/ubuntu/php-7.0.1/main/main.c:1833
#6  0x0000000000a71239 in main (argc=6, argv=0x7fffa6a442c8) at
/home/ubuntu/php-7.0.1/sapi/fpm/fpm/fpm_main.c:1972

-- 
Edit bug report at https://bugs.php.net/bug.php?id=71192&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71192&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71192&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71192&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71192&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71192&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71192&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71192&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71192&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71192&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71192&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71192&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71192&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71192&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71192&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71192&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71192&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71192&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71192&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71192&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71192&r=mysqlcfg
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.