Bug #72892 [Opn->Csd]: Segmentation fault when free_ini_entry
| From: | zhuayizhua at gmail dot com | Date: | Fri, 19 Aug 2016 15:36:53 +0000 |
| Subject: | Bug #72892 [Opn->Csd]: Segmentation fault when free_ini_entry | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203398@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72892&edit=1
ID: 72892
User updated by: zhuayizhua at gmail dot com
Reported by: zhuayizhua at gmail dot com
Summary: Segmentation fault when free_ini_entry
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: Linux
PHP Version: 7.0Git-2016-08-19 (snap)
Block user comment: N
Private report: N
New Comment:
find _zend_bailout info.
Previous Comments:
------------------------------------------------------------------------
[2016-08-19 06:46:49] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72892&edit=1