Bug #77714 [NEW]: pcre_get_compiled_regex_cache->coredump
| From: | zhenglihao1 at 126 dot com | Date: | Sat, 09 Mar 2019 03:45:46 +0000 |
| Subject: | Bug #77714 [NEW]: pcre_get_compiled_regex_cache->coredump | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-219893@lists.php.net to get a copy of this message | ||
From: zhenglihao1 at 126 dot com
Operating system: centos7
PHP version: 7.1Git-2019-03-09 (snap)
Package: FPM related
Bug Type: Bug
Bug description:pcre_get_compiled_regex_cache->coredump
Description:
------------
That rarely but certainly happened,gdb result below
(gdb) bt
#0 zend_hash_find_bucket (ht=ht@entry=0x119ed80 <pcre_globals>,
ht=ht@entry=0x119ed80 <pcre_globals>, key=key@entry=0x7fab2f81bb00)
at /opt/php-7.1.15/Zend/zend_hash.c:487
#1 zend_hash_find (ht=ht@entry=0x119ed80 <pcre_globals>,
key=key@entry=0x7fab2f81bb00) at /opt/php-7.1.15/Zend/zend_hash.c:1958
#2 0x00000000004c5ed8 in zend_hash_find_ptr (key=0x7fab2f81bb00,
ht=0x119ed80 <pcre_globals>) at /opt/php-7.1.15/Zend/zend_hash.h:735
#3 pcre_get_compiled_regex_cache (regex=0x7fab2f81bb00) at
/opt/php-7.1.15/ext/pcre/php_pcre.c:354
#4 0x00000000004c7b09 in php_do_pcre_match
(execute_data=0x7fab38e161c0, return_value=0x7fab38e161a0, global=0)
at /opt/php-7.1.15/ext/pcre/php_pcre.c:716
#5 0x00000000008756c6 in ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER () at
/opt/php-7.1.15/Zend/zend_vm_execute.h:675
#6 0x00000000008658ab in execute_ex (ex=<optimized out>) at
/opt/php-7.1.15/Zend/zend_vm_execute.h:429
#7 0x0000000000811311 in zend_call_function
(fci=fci@entry=0x7ffc45727060,
fci_cache=fci_cache@entry=0x7ffc45727030)
at /opt/php-7.1.15/Zend/zend_execute_API.c:855
#8 0x000000000068d67d in reflection_method_invoke
(execute_data=<optimized out>, return_value=0x7fab38e154e0, variadic=0)
at /opt/php-7.1.15/ext/reflection/php_reflection.c:3342
#9 0x00000000008b6638 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at
/opt/php-7.1.15/Zend/zend_vm_execute.h:1097
#10 0x00000000008658ab in execute_ex (ex=<optimized out>) at
/opt/php-7.1.15/Zend/zend_vm_execute.h:429
#11 0x00000000008b88c4 in zend_execute (op_array=0x7fab38f63000,
op_array@entry=0x7fab3529ac68,
return_value=return_value@entry=0x7fab38e15440) at
/opt/php-7.1.15/Zend/zend_vm_execute.h:474
#12 0x00000000008208a4 in zend_execute_scripts (type=type@entry=8,
retval=0x7fab38e15440, retval@entry=0x0, file_count=file_count@entry=3)
at /opt/php-7.1.15/Zend/zend.c:1482
#13 0x00000000007c1700 in php_execute_script
(primary_file=primary_file@entry=0x7ffc45729550) at
/opt/php-7.1.15/main/main.c:2577
#14 0x000000000043dd9c in main (argc=<optimized out>, argv=<optimized
out>) at /opt/php-7.1.15/sapi/fpm/fpm/fpm_main.c:1966
--
Edit bug report at https://bugs.php.net/bug.php?id=77714&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77714&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77714&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77714&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77714&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77714&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77714&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77714&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77714&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77714&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77714&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77714&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77714&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77714&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77714&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77714&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77714&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77714&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77714&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77714&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77714&r=mysqlcfg