php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79719 Segfault in case of unexpected SSL socket closure
Submitted: 2020-06-20 15:16 UTC Modified: 2020-06-26 08:13 UTC
From: daniil at daniil dot it Assigned:
Status: Open Package: Sockets related
PHP Version: 7.4.7 OS: Arch linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-06-20 15:16 UTC] daniil at daniil dot it
Description:
------------
When running multiple async HTTPS requests in parallel using amphp/http-client (native select driver), if the remote server unexpectedly closes the connection, a segfault is raised. 
php7.3 works just fine.


Actual result:
--------------
Backtrace:

Program received signal SIGPIPE, Broken pipe.
0x00007ffff76d4b57 in write () from /usr/lib/libc.so.6
(gdb) back
#0  0x00007ffff76d4b57 in write () from /usr/lib/libc.so.6
#1  0x00007ffff799bd87 in ?? () from /usr/lib/libcrypto.so.1.1
#2  0x00007ffff7996dfa in ?? () from /usr/lib/libcrypto.so.1.1
#3  0x00007ffff7995e34 in ?? () from /usr/lib/libcrypto.so.1.1
#4  0x00007ffff7996303 in BIO_write () from /usr/lib/libcrypto.so.1.1
#5  0x00007ffff7bef61b in ?? () from /usr/lib/libssl.so.1.1
#6  0x00007ffff7bf053a in ?? () from /usr/lib/libssl.so.1.1
#7  0x00007ffff7bfa19b in ?? () from /usr/lib/libssl.so.1.1
#8  0x00007ffff7bf8386 in ?? () from /usr/lib/libssl.so.1.1
#9  0x00005555557d25ee in php_openssl_sockop_close (stream=0x7fffe03108c0, close_handle=<optimized out>) at /usr/src/debug/php-7.4.7/ext/openssl/xp_ssl.c:2285
#10 0x000055555598e904 in _php_stream_free (stream=<optimized out>, close_options=11) at /usr/src/debug/php-7.4.7/main/streams/streams.c:477
#11 0x000055555598ebe3 in stream_resource_regular_dtor (rsrc=<optimized out>) at /usr/src/debug/php-7.4.7/main/streams/streams.c:1668
#12 0x00005555559ee708 in zend_resource_dtor (res=<optimized out>) at /usr/src/debug/php-7.4.7/Zend/zend_list.c:74
#13 0x00005555559ee74a in list_entry_destructor (zv=<optimized out>) at /usr/src/debug/php-7.4.7/Zend/zend_list.c:185
#14 0x00005555559ea8af in _zend_hash_del_el_ex (prev=<optimized out>, p=<optimized out>, idx=<optimized out>, ht=<optimized out>) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1305
#15 zend_hash_index_del (ht=0x555556772a30 <executor_globals+560>, h=933) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1516
#16 0x0000555555a0b9f6 in i_zval_ptr_dtor (zval_ptr=0x7ffff30c72c8) at /usr/src/debug/php-7.4.7/Zend/zend_variables.h:44
#17 zend_object_std_dtor (object=0x7ffff30c7240) at /usr/src/debug/php-7.4.7/Zend/zend_objects.c:70
#18 0x0000555555a109b1 in zend_objects_store_del (object=0x7ffff30c7240) at /usr/src/debug/php-7.4.7/Zend/zend_objects_API.c:193
#19 0x00005555559e9b7f in _zend_hash_del_el_ex (prev=0x0, p=0x7fffdf12e2a0, idx=149, ht=0x7ffff55244d0) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1305

#20 zend_hash_del (ht=ht@entry=0x7ffff55244d0, key=key@entry=0x7fffeb336d60) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1359
#21 0x0000555555a315b6 in ZEND_UNSET_DIM_SPEC_VAR_CV_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:30027
#22 0x0000555555a59ca1 in execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:56424
#23 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdfbdd240) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#24 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff5420590, return_value=0x7ffff5420450) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#25 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#26 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#27 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdf4388c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#28 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffdf4388c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#29 zend_generator_ensure_initialized (generator=0x7fffdf4388c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#30 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541fa20) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#31 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#32 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#33 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe2145b40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#34 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe2145b40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#35 zend_generator_ensure_initialized (generator=0x7fffe2145b40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#36 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541f600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#37 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#38 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#39 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffecf05700) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#40 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffecf05700) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#41 zend_generator_ensure_initialized (generator=0x7fffecf05700) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#42 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541f060) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#43 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#44 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#45 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffed425300) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#46 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffed425300) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#47 zend_generator_ensure_initialized (generator=0x7fffed425300) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#48 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541eae0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#49 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#50 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#51 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe1f66740) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#52 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe1f66740) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#53 zend_generator_ensure_initialized (generator=0x7fffe1f66740) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
--Type <RET> for more, q to quit, c to continue without paging--
#54 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541e6e0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#55 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#56 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#57 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffeca19540) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#58 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541e380, return_value=0x7ffff541e240) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#59 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#60 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#61 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffed4fc280) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#62 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffed4fc280) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#63 zend_generator_ensure_initialized (generator=0x7fffed4fc280) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#64 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541dad0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#65 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#66 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#67 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe6385b00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#68 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541d770, return_value=0x7ffff541d630) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#69 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#70 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#71 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffeb9bc6c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#72 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffeb9bc6c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#73 zend_generator_ensure_initialized (generator=0x7fffeb9bc6c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#74 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541cec0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#75 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#76 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#77 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe9444140) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#78 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541cb60, return_value=0x7ffff541ca20) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#79 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#80 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#81 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffea67da40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#82 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffea67da40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#83 zend_generator_ensure_initialized (generator=0x7fffea67da40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#84 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541c2b0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#85 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#86 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#87 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffef6a83c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#88 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541bf50, return_value=0x7ffff541be10) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#89 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#90 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#91 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe55cfa00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#92 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe55cfa00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#93 zend_generator_ensure_initialized (generator=0x7fffe55cfa00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#94 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541b5a0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#95 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#96 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#97 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe3452840) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#98 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe3452840) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#99 zend_generator_ensure_initialized (generator=0x7fffe3452840) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#100 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541b1c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#101 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#102 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#103 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffeed1f580) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#104 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffeed1f580) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#105 zend_generator_ensure_initialized (generator=0x7fffeed1f580) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#106 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541adf0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#107 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
--Type <RET> for more, q to quit, c to continue without paging--
#108 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#109 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdf4498c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#110 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffdf4498c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#111 zend_generator_ensure_initialized (generator=0x7fffdf4498c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#112 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541aa10) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#113 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#114 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#115 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdde2a2c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#116 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541a730, return_value=0x7ffff541a5f0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#117 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#118 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#119 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffef4ee240) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#120 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffef4ee240) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#121 zend_generator_ensure_initialized (generator=0x7fffef4ee240) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#122 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff5419e80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#123 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#124 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#125 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe3d1b5c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#126 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe3d1b5c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#127 zend_generator_ensure_initialized (generator=0x7fffe3d1b5c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#128 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff54199e0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#129 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#130 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#131 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7ffff1692580) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#132 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff54195e0, return_value=0x7ffff54194a0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#133 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#134 execute_ex (ex=0x38) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#135 0x0000555555a619d1 in zend_execute (op_array=0x7ffff547e2a0, return_value=0x0) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:57922
#136 0x00005555559dace7 in zend_execute_scripts (type=type@entry=8, retval=0x7ffff551aaa0, retval@entry=0x0, file_count=-180251808, file_count@entry=3) at /usr/src/debug/php-7.4.7/Zend/zend.c:1672
#137 0x0000555555978bf1 in php_execute_script (primary_file=<optimized out>) at /usr/src/debug/php-7.4.7/main/main.c:2621
#138 0x0000555555a63b0d in do_cli (argc=2, argv=0x55555678bf00) at /usr/src/debug/php-7.4.7/sapi/cli/php_cli.c:961
#139 0x0000555555792e90 in main (argc=2, argv=0x55555678bf00) at /usr/src/debug/php-7.4.7/sapi/cli/php_cli.c:1356


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-06-20 15:33 UTC] daniil at daniil dot it
On PHP7.3, the following error is simply raised: "the socket to addr closed early with 0 bytes received within 0 milliseconds".

Here's a more detailed backtrace with openssl devsyms:
(gdb) back
#0  0x00007ffff76d5b57 in write () from /usr/lib/libc.so.6
#1  0x00007ffff799cd87 in sock_write (b=0x5555628f5fb0, in=0x555565371013 "\025\003\003", inl=31) at crypto/bio/bss_sock.c:116
#2  0x00007ffff7997dfa in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0x7fffffff7d10) at crypto/bio/bio_meth.c:77
#3  0x00007ffff7996e34 in bio_write_intern (b=0x5555628f5fb0, data=0x555565371013, dlen=dlen@entry=31, written=written@entry=0x7fffffff7d10) at crypto/bio/bio_lib.c:343
#4  0x00007ffff7997303 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=dlen@entry=31) at crypto/bio/bio_lib.c:363
#5  0x00007ffff7bef61b in ssl3_write_pending (s=s@entry=0x555562907680, type=type@entry=21, buf=buf@entry=0x555562906530 "\001", len=len@entry=2, written=written@entry=0x7fffffff8e70) at ssl/record/rec_layer_s3.c:1154
#6  0x00007ffff7bf053a in do_ssl3_write (s=s@entry=0x555562907680, type=type@entry=21, buf=0x555562906530 "\001", pipelens=pipelens@entry=0x7fffffff8e68, numpipes=numpipes@entry=1, 
    create_empty_fragment=create_empty_fragment@entry=0, written=0x7fffffff8e70) at ssl/record/rec_layer_s3.c:1115
#7  0x00007ffff7bfa19b in ssl3_dispatch_alert (s=0x555562907680) at ssl/s3_msg.c:78
#8  0x00007ffff7bf8386 in ssl3_shutdown (s=0x555562907680) at ssl/s3_lib.c:4418
#9  0x00005555557d25ee in php_openssl_sockop_close (stream=0x7fffdcbd8460, close_handle=<optimized out>) at /usr/src/debug/php-7.4.7/ext/openssl/xp_ssl.c:2285
#10 0x000055555598e904 in _php_stream_free (stream=<optimized out>, close_options=11) at /usr/src/debug/php-7.4.7/main/streams/streams.c:477
#11 0x000055555598ebe3 in stream_resource_regular_dtor (rsrc=<optimized out>) at /usr/src/debug/php-7.4.7/main/streams/streams.c:1668
#12 0x00005555559ee708 in zend_resource_dtor (res=<optimized out>) at /usr/src/debug/php-7.4.7/Zend/zend_list.c:74
#13 0x00005555559ee74a in list_entry_destructor (zv=<optimized out>) at /usr/src/debug/php-7.4.7/Zend/zend_list.c:185
#14 0x00005555559ea8af in _zend_hash_del_el_ex (prev=<optimized out>, p=<optimized out>, idx=<optimized out>, ht=<optimized out>) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1305
#15 zend_hash_index_del (ht=0x555556772a30 <executor_globals+560>, h=870) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1516
#16 0x0000555555a0b9f6 in i_zval_ptr_dtor (zval_ptr=0x7fffd9c99748) at /usr/src/debug/php-7.4.7/Zend/zend_variables.h:44
#17 zend_object_std_dtor (object=0x7fffd9c996c0) at /usr/src/debug/php-7.4.7/Zend/zend_objects.c:70
#18 0x0000555555a109b1 in zend_objects_store_del (object=0x7fffd9c996c0) at /usr/src/debug/php-7.4.7/Zend/zend_objects_API.c:193
#19 0x00005555559e9b7f in _zend_hash_del_el_ex (prev=0x0, p=0x7fffdef79fe0, idx=127, ht=0x7ffff5524038) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1305
#20 zend_hash_del (ht=ht@entry=0x7ffff5524038, key=key@entry=0x7fffe57fa5a0) at /usr/src/debug/php-7.4.7/Zend/zend_hash.c:1359
#21 0x0000555555a315b6 in ZEND_UNSET_DIM_SPEC_VAR_CV_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:30027
#22 0x0000555555a59ca1 in execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:56424
#23 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7ffff2c1f600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#24 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541ff10, return_value=0x7ffff541fdd0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#25 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#26 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#27 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffea2bd0c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#28 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffea2bd0c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#29 zend_generator_ensure_initialized (generator=0x7fffea2bd0c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#30 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541f3a0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#31 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#32 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#33 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffeab42600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#34 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffeab42600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#35 zend_generator_ensure_initialized (generator=0x7fffeab42600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#36 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541ef80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#37 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#38 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#39 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7ffff20b5640) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#40 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7ffff20b5640) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#41 zend_generator_ensure_initialized (generator=0x7ffff20b5640) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#42 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541e9e0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#43 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#44 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#45 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdd29b600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#46 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffdd29b600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#47 zend_generator_ensure_initialized (generator=0x7fffdd29b600) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#48 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541e460) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#49 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#50 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#51 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffefc58880) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#52 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffefc58880) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#53 zend_generator_ensure_initialized (generator=0x7fffefc58880) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#54 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541e060) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#55 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#56 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#57 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe137f180) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#58 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541dd00, return_value=0x7ffff541dbc0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#59 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#60 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#61 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe3165740) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#62 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe3165740) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#63 zend_generator_ensure_initialized (generator=0x7fffe3165740) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#64 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541d450) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#65 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#66 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#67 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe7308680) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#68 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541d0f0, return_value=0x7ffff541cfb0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#69 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#70 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#71 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe9e347c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#72 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe9e347c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#73 zend_generator_ensure_initialized (generator=0x7fffe9e347c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#74 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541c840) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#75 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#76 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#77 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe6fb20c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#78 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541c4e0, return_value=0x7ffff541c3a0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#79 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#80 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#81 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe49c0c80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#82 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe49c0c80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#83 zend_generator_ensure_initialized (generator=0x7fffe49c0c80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#84 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541bc30) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#85 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#86 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#87 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe66e5380) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#88 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541b8d0, return_value=0x7ffff541b790) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#89 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#90 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#91 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffeeb5c480) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#92 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffeeb5c480) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#93 zend_generator_ensure_initialized (generator=0x7fffeeb5c480) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#94 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541af20) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#95 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#96 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#97 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdd8b08c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#98 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffdd8b08c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#99 zend_generator_ensure_initialized (generator=0x7fffdd8b08c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#100 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541ab40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#101 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#102 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#103 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7ffff2fe07c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#104 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7ffff2fe07c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#105 zend_generator_ensure_initialized (generator=0x7ffff2fe07c0) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#106 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541a770) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#107 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#108 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#109 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdd65dc00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#110 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffdd65dc00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#111 zend_generator_ensure_initialized (generator=0x7fffdd65dc00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#112 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff541a390) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#113 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#114 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#115 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe775da40) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#116 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff541a0b0, return_value=0x7ffff5419f70) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#117 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#118 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#119 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffe3f1ff80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#120 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffe3f1ff80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#121 zend_generator_ensure_initialized (generator=0x7fffe3f1ff80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#122 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff5419800) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#123 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#124 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#125 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7fffdb4f0d80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#126 0x0000555555a070f5 in zend_generator_ensure_initialized (generator=0x7fffdb4f0d80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:879
#127 zend_generator_ensure_initialized (generator=0x7fffdb4f0d80) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:876
#128 zim_Generator_current (execute_data=<optimized out>, return_value=0x7ffff5419360) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:943
#129 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#130 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#131 0x0000555555a05c82 in zend_generator_resume (orig_generator=0x7ffff163cc00) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:831
#132 0x0000555555a06743 in zim_Generator_send (execute_data=0x7ffff5418f60, return_value=0x7ffff5418e20) at /usr/src/debug/php-7.4.7/Zend/zend_generators.c:1021
#133 0x0000555555a60fe1 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1730
#134 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53830
#135 0x00005555559cc07a in zend_call_function (fci=fci@entry=0x7fffffffa780, fci_cache=0x7ffff551aaa0, fci_cache@entry=0x7fffffffa760) at /usr/src/debug/php-7.4.7/Zend/zend_execute_API.c:813
#136 0x00005555559f6fd5 in zend_call_method (object=0x7ffff2eaf5e0, obj_ce=<optimized out>, fn_proxy=fn_proxy@entry=0x7ffff2eaf5d0, function_name=0x7ffff552d738 "Amp\\Loop\\{closure}", function_name_len=<optimized out>, 
    retval_ptr=retval_ptr@entry=0x0, param_count=1, arg1=0x7ffff2eaf600, arg2=0x7fffffffa850) at /usr/src/debug/php-7.4.7/Zend/zend_interfaces.c:103
#137 0x00007ffff3e93126 in php_ev_watcher_callback (loop=0x5555569e37f0, watcher=0x7ffff2eaf5a0, revents=1) at /usr/include/php/Zend/zend_types.h:441
#138 0x00007ffff3e87376 in ev_invoke_pending (loop=0x5555569e37f0) at /home/daniil/repos/ev-1.0.8/php7/../libev/ev.c:3518
#139 0x00007ffff3e8b0f3 in ev_run (loop=loop@entry=0x5555569e37f0, flags=3) at /home/daniil/repos/ev-1.0.8/php7/../libev/ev.c:3921
#140 0x00007ffff3e928b8 in zim_EvLoop_run (execute_data=<optimized out>, return_value=<optimized out>) at /home/daniil/repos/ev-1.0.8/php7/loop.c:165
#141 0x0000555555a5fd7b in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:1618
#142 execute_ex (ex=0x35) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:53826
#143 0x0000555555a619d1 in zend_execute (op_array=0x7ffff547e2a0, return_value=0x0) at /usr/src/debug/php-7.4.7/Zend/zend_vm_execute.h:57922
#144 0x00005555559dace7 in zend_execute_scripts (type=type@entry=8, retval=0x7ffff54f7540, retval@entry=0x0, file_count=-180275392, file_count@entry=3) at /usr/src/debug/php-7.4.7/Zend/zend.c:1672
#145 0x0000555555978bf1 in php_execute_script (primary_file=<optimized out>) at /usr/src/debug/php-7.4.7/main/main.c:2621
#146 0x0000555555a63b0d in do_cli (argc=2, argv=0x55555678bf00) at /usr/src/debug/php-7.4.7/sapi/cli/php_cli.c:961
#147 0x0000555555792e90 in main (argc=2, argv=0x55555678bf00) at /usr/src/debug/php-7.4.7/sapi/cli/php_cli.c:1356
 [2020-06-26 08:13 UTC] nikic@php.net
Is there any simple way to reproduce this?
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 23:01:24 2020 UTC