Bug #72892 [NEW]: Segmentation fault when free_ini_entry

From: Date: Fri, 19 Aug 2016 06:46:52 +0000
Subject: Bug #72892 [NEW]: Segmentation fault when free_ini_entry
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203391@lists.php.net to get a copy of this message
From: zhuayizhua at gmail dot com Operating system: Linux PHP version: 7.0Git-2016-08-19 (snap) Package: Scripting Engine problem Bug Type: Bug Bug description:Segmentation fault when free_ini_entry 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 bug report at https://bugs.php.net/bug.php?id=72892&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72892&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72892&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72892&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72892&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72892&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72892&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72892&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72892&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72892&r=support Expected behavior: https://bugs.php.net/fix.php?id=72892&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72892&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72892&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72892&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72892&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72892&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72892&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72892&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72892&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72892&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72892&r=mysqlcfg

« previous php.bugs (#203391) next »