php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72892 Segmentation fault when free_ini_entry
Submitted: 2016-08-19 06:46 UTC Modified: 2016-08-19 15:36 UTC
From: zhuayizhua at gmail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 7.0Git-2016-08-19 (snap) OS: Linux
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: zhuayizhua at gmail dot com
New email:
PHP Version: OS:

 

 [2016-08-19 06:46 UTC] zhuayizhua at gmail dot com
Description:
------------
It coredump sometimes but not Sure how to repeat it.

PHP 7.0.9 (cli) (built: Aug 15 2016 18:29:19) ( NTS DEBUG )

Core was generated by `php-fpm: pool www                                                             '.
Program terminated with signal 11, Segmentation fault.
#0  0x000000302af67f2d in malloc_consolidate () from /home/map/php/bin/../../lib/gcc-3.4.5/libc.so.6
(gdb) bt
#0  0x000000302af67f2d in malloc_consolidate () from /home/map/php/bin/../../lib/gcc-3.4.5/libc.so.6
#1  0x000000302af6861a in _int_free () from /home/map/php/bin/../../lib/gcc-3.4.5/libc.so.6
#2  0x000000302af68bd6 in free () from /home/map/php/bin/../../lib/gcc-3.4.5/libc.so.6
#3  0x0000000000a4f23a in free_ini_entry (zv=0x1b9b330) at Zend/zend_ini.c:98
#4  0x0000000000a42ef9 in zend_hash_destroy (ht=0x17b7e90) at Zend/zend_hash.c:1284
#5  0x0000000000a4f2f9 in zend_ini_dtor (ini_directives=0x17b7e90) at Zend/zend_ini.c:126
#6  0x0000000000a4f2dd in zend_ini_shutdown () at Zend/zend_ini.c:119
#7  0x00000000009ac783 in php_module_shutdown () at main/main.c:2373
#8  0x0000000000aefb57 in main (argc=7, argv=0x7fff46814bf8)
    at /home/build/php-7.0.9/sapi/fpm/fpm/fpm_main.c:2021
(gdb) source /home/map/.gdbinit 
(gdb) f 4
#4  0x0000000000a42ef9 in zend_hash_destroy (ht=0x17b7e90) at Zend/zend_hash.c:1284
1284    Zend/zend_hash.c: No such file or directory.
        in Zend/zend_hash.c
(gdb) print_ht ht
Hash(31)[0x17b7e90]: {
  [104] gd.jpeg_ignore_warning => [0x1b9b330] (refcount=25842496) pointer: 0x18a52e0
  [151] pdo_mysql.default_socket => [0x1b9b910] (refcount=26256336) pointer: 0x190a370
  [163] phar.readonly => [0x1b9ba90] (refcount=26430880) pointer: 0x1934d40
  [164] phar.require_hash => [0x1b9bab0] (refcount=26431072) pointer: 0x1934e00
  [165] phar.cache_list => [0x1b9bad0] (refcount=26431280) pointer: 0x1934ed0
  [218] php_fcrypt_hexstr_maxlen => [0x1b9c170] (refcount=28220432) pointer: 0x1ae9bb0


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-19 15:36 UTC] zhuayizhua at gmail dot com
-Status: Open +Status: Closed
 [2016-08-19 15:36 UTC] zhuayizhua at gmail dot com
find _zend_bailout info.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 11:00:02 2026 UTC