Bug #78715 [NEW]: Segmentation fault in zend_type_to_string_resolved
From: a dot dankovtsev at mail dot ru
Operating system: Mac OS
PHP version: master-Git-2019-10-22 (Git)
Package: Reflection related
Bug Type: Bug
Bug description:Segmentation fault in zend_type_to_string_resolved
Description:
------------
Sorry, i can't izolate test stend for reproduce.
Segmentation fault while run unit-tests in some project
core dump:
lldb --core /cores/core.39217
(lldb) target create --core "/cores/core.39217"
btCore file '/cores/core.39217' (x86_64) was loaded.
(lldb) bt all
php was compiled with optimization - stepping may behave oddly;
variables may not be available.
* thread #1, stop reason = signal SIGSTOP
* frame #0: 0x000000010b1224c2
php`zend_type_to_string_resolved(type=29, scope=0x0000000000000000) at
zend_compile.c:1099 [opt]
frame #1: 0x000000010afe8658
php`zim_reflection_named_type_getName(execute_data=<unavailable>,
return_value=0x000000010c221340) at php_reflection.c:2837 [opt]
frame #2: 0x000000010b1c1d56
php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER(execute_data=0x000000010c2215c0)
at zend_vm_execute.h:1673 [opt]
frame #3: 0x000000010b1a3e08 php`execute_ex(ex=0x000000010c221050)
at zend_vm_execute.h:52102 [opt]
frame #4: 0x000000010b1a3fcc
php`zend_execute(op_array=0x000000010c27a540,
return_value=0x0000000000000000) at zend_vm_execute.h:56355 [opt]
frame #5: 0x000000010b159761 php`zend_execute_scripts(type=8,
retval=0x0000000000000000, file_count=3) at zend.c:1645 [opt]
frame #6: 0x000000010b0e36f1
php`php_execute_script(primary_file=<unavailable>) at main.c:2586 [opt]
frame #7: 0x000000010b1f378b php`do_cli(argc=<unavailable>,
argv=<unavailable>) at php_cli.c:959 [opt]
frame #8: 0x000000010b1f25f8 php`main(argc=3,
argv=0x00007ffee4d9bad0) at php_cli.c:1350 [opt]
frame #9: 0x00007fff73d35015 libdyld.dylib`start + 1
--
Edit bug report at https://bugs.php.net/bug.php?id=78715&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78715&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78715&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78715&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78715&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78715&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78715&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78715&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78715&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78715&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78715&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78715&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78715&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78715&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78715&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78715&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78715&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78715&r=mysqlcfg
Thread (5 messages)
- a dot dankovtsev at mail dot ru