Bug #74880 [NEW]: libc deadlock in fuxes when malloc
| From: | 1070027374 at qq dot com | Date: | Sat, 08 Jul 2017 02:10:53 +0000 |
| Subject: | Bug #74880 [NEW]: libc deadlock in fuxes when malloc | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-209916@lists.php.net to get a copy of this message | ||
From: 1070027374 at qq dot com
Operating system: Linux 10.75.30.141 2.6.32-220.13
PHP version: 7.0.21
Package: Scripting Engine problem
Bug Type: Bug
Bug description:libc deadlock in fuxes when malloc
Description:
------------
PHP 7.0.19 (cli) (built: Jun 23 2017 14:17:30) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.19, Copyright (c) 1999-2017, by Zend
Technologies
[root@10 phplogs]# pstack 4394
#0 0x0000003ec76f4e6e in __lll_lock_wait_private () from
/lib64/libc.so.6
#1 0x0000003ec767b914 in _L_lock_5003 () from /lib64/libc.so.6
#2 0x0000003ec7677762 in _int_free () from /lib64/libc.so.6
#3 0x00007fb5889bbcca in php_error_cb () from
/data1/apache2/modules/libphp7.so
#4 0x00007fb5889bc8fd in zend_error_noreturn () from
/data1/apache2/modules/libphp7.so
#5 0x00007fb588d5e070 in zend_timeout () from
/data1/apache2/modules/libphp7.so
#6 <signal handler called>
#7 0x0000003ec7678420 in _int_malloc () from /lib64/libc.so.6
#8 0x0000003ec767948d in malloc () from /lib64/libc.so.6
#9 0x00007fb5814c70bd in operator new(unsigned long) () from
/usr/lib64/libstdc++.so.6
#10 0x00007fb580fd336d in std::vector<RuleInNode,
std::allocator<RuleInNode>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<RuleInNode*,
std::vector<RuleInNode, std::allocator<RuleInNode> > >, RuleInNode
const&) () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/KWordFilter.so
#11 0x00007fb580fd2bc2 in ParseRule::load_rule_and_state(ACautomaton*,
Dict*) () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/KWordFilter.so
#12 0x00007fb580fd18ad in Connector::init(char const*, char const*) ()
from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/KWordFilter.so
#13 0x00007fb580fd02f5 in MinitAll () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/KWordFilter.so
#14 0x00007fb580fd067f in zif_KWordFilter () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/KWordFilter.so
#15 0x00007fb588dd3938 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER () from
/data1/apache2/modules/libphp7.so
#16 0x00007fb588dacc40 in execute_ex () from
/data1/apache2/modules/libphp7.so
#17 0x00007fb588d5ec95 in zend_call_function () from
/data1/apache2/modules/libphp7.so
#18 0x00007fb588d8bdc7 in zend_call_method () from
/data1/apache2/modules/libphp7.so
#19 0x00007fb5807560fc in yaf_dispatcher_handle () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/yaf.so
#20 0x00007fb5807577a8 in yaf_dispatcher_dispatch () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/yaf.so
#21 0x00007fb5807521b3 in zim_yaf_application_run () from
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/yaf.so
#22 0x00007fb588dd44b8 in ZEND_DO_FCALL_SPEC_HANDLER () from
/data1/apache2/modules/libphp7.so
#23 0x00007fb588dacc40 in execute_ex () from
/data1/apache2/modules/libphp7.so
#24 0x00007fb588e0074b in zend_execute () from
/data1/apache2/modules/libphp7.so
#25 0x00007fb588d6cf23 in zend_execute_scripts () from
/data1/apache2/modules/libphp7.so
#26 0x00007fb588d0f370 in php_execute_script () from
/data1/apache2/modules/libphp7.so
#27 0x00007fb588e046b5 in php_handler () from
/data1/apache2/modules/libphp7.so
#28 0x0000000000452c50 in ap_run_handler ()
#29 0x0000000000456f6e in ap_invoke_handler ()
#30 0x000000000046a81a in ap_process_async_request ()
#31 0x000000000046a97f in ap_process_request ()
#32 0x0000000000466a15 in ap_process_http_connection ()
#33 0x000000000045de00 in ap_run_process_connection ()
#34 0x000000000047141a in child_main ()
#35 0x0000000000471640 in make_child ()
#36 0x0000000000472008 in prefork_run ()
#37 0x0000000000434f4e in ap_run_mpm ()
#38 0x000000000042e534 in main ()
--
Edit bug report at https://bugs.php.net/bug.php?id=74880&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74880&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74880&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74880&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74880&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74880&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74880&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74880&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74880&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74880&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74880&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74880&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74880&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74880&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74880&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74880&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74880&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74880&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74880&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74880&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74880&r=mysqlcfg