Skip to content

Instantly share code, notes, and snippets.

@iluuu1994
Created April 2, 2022 00:01
Show Gist options
  • Save iluuu1994/38c91a2b55f8e174bd0dc11194b42956 to your computer and use it in GitHub Desktop.
Save iluuu1994/38c91a2b55f8e174bd0dc11194b42956 to your computer and use it in GitHub Desktop.
001+ /home/runner/work/php-src/php-src/Zend/zend_types.h:1208:9: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'struct zend_refcounted', which requires 4 byte alignment
001- Exception from valid()
002+ 0xbebebebebebebebe: note: pointer points here
003+ <memory cannot be printed>
004+ /home/runner/work/php-src/php-src/Zend/zend_types.h:1172:2: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'struct zend_refcounted_h', which requires 4 byte alignment
005+ 0xbebebebebebebebe: note: pointer points here
006+ <memory cannot be printed>
007+ AddressSanitizer:DEADLYSIGNAL
008+ =================================================================
009+ ==193472==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55f9e9e0c05e bp 0x7fff4073f150 sp 0x7fff4073f130 T0)
010+ ==193472==The signal is caused by a READ memory access.
011+ ==193472==Hint: address points to the zero page.
012+ #0 0x55f9e9e0c05d in zend_gc_delref /home/runner/work/php-src/php-src/Zend/zend_types.h:1172
013+ #1 0x55f9e9e0c673 in zval_delref_p /home/runner/work/php-src/php-src/Zend/zend_types.h:1208
014+ #2 0x55f9e9e0e462 in zval_ptr_dtor_nogc /home/runner/work/php-src/php-src/Zend/zend_variables.h:34
015+ #3 0x55f9e9e13505 in zend_vm_stack_free_args /home/runner/work/php-src/php-src/Zend/zend_execute.h:263
016+ #4 0x55f9e9e47d53 in cleanup_unfinished_calls /home/runner/work/php-src/php-src/Zend/zend_execute.c:3952
017+ #5 0x55f9e9e8b64d in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER /home/runner/work/php-src/php-src/Zend/zend_vm_execute.h:2961
018+ #6 0x55f9ea133535 in execute_ex /home/runner/work/php-src/php-src/Zend/zend_vm_execute.h:54900
019+ #7 0x55f9ea1e1fd7 in zend_generator_resume /home/runner/work/php-src/php-src/Zend/zend_generators.c:743
020+ #8 0x55f9ea1e32c0 in zend_generator_ensure_initialized /home/runner/work/php-src/php-src/Zend/zend_generators.c:799
021+ #9 0x55f9ea1e393f in zim_Generator_current /home/runner/work/php-src/php-src/Zend/zend_generators.c:854
022+ #10 0x55f9e9e6e9c4 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER /home/runner/work/php-src/php-src/Zend/zend_vm_execute.h:1755
023+ #11 0x55f9ea132e69 in execute_ex /home/runner/work/php-src/php-src/Zend/zend_vm_execute.h:54820
024+ #12 0x55f9ea14b7eb in zend_execute /home/runner/work/php-src/php-src/Zend/zend_vm_execute.h:59147
025+ #13 0x55f9e9d4fb5e in zend_execute_scripts /home/runner/work/php-src/php-src/Zend/zend.c:1694
026+ #14 0x55f9e99e4c2c in php_execute_script /home/runner/work/php-src/php-src/main/main.c:2542
027+ #15 0x55f9ea27ca8f in do_cli /home/runner/work/php-src/php-src/sapi/cli/php_cli.c:949
028+ #16 0x55f9ea2808f6 in main /home/runner/work/php-src/php-src/sapi/cli/php_cli.c:1337
029+ #17 0x7f6ff9b030b2 in __libc_start_main (/usr/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
030+ #18 0x55f9e7c1287d in _start (/home/runner/work/php-src/php-src/sapi/cli/php+0x3a1287d)
031+
032+ AddressSanitizer can not provide additional info.
033+ SUMMARY: AddressSanitizer: SEGV /home/runner/work/php-src/php-src/Zend/zend_types.h:1172 in zend_gc_delref
034+ ==193472==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment