$lldb /cores/core.68807
(lldb) target create “/cores/core.68807”
warning: (x86_64) /cores/core.68807 load command 107 LC_SEGMENT_64 has a fileoff + filesize (0x2820e000) that extends beyond the end of the file (0x2820d000), the segment will be truncated to match
warning: (x86_64) /cores/core.68807 load command 108 LC_SEGMENT_64 has a fileoff (0x2820e000) that extends beyond the end of the file (0x2820d000), ignoring this section
Current executable set to ‘/cores/core.68807’ (x86_64).
(lldb) bt
error: invalid process
$lldb –core “/cores/core.68807”
(lldb) target create –core “/cores/core.68807”
warning: (x86_64) /cores/core.68807 load command 107 LC_SEGMENT_64 has a fileoff + filesize (0x2820e000) that extends beyond the end of the file (0x2820d000), the segment will be truncated to match
warning: (x86_64) /cores/core.68807 load command 108 LC_SEGMENT_64 has a fileoff (0x2820e000) that extends beyond the end of the file (0x2820d000), ignoring this section
Core file ‘/cores/core.68807’ (x86_64) was loaded.
(lldb) bt
__pthread_kill + 10
frame #1: 0x00007fff92523500 libsystem_pthread.dylib
pthread_kill + 90__abort + 145
frame #3: 0x00007fff9a8adcfa libsystem_c.dylib
__stack_chk_fail + 200zif_file_read(execute_data=0x0000000105018230, return_value=0x00000001050181a0) + 1153 at myFile.c:395
frame #5: 0x000000010454135d php
ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER(execute_data=0x0000000105018030) + 141 at zend_vm_execute.h:675execute_ex(ex=0x0000000105018030) + 100 at zend_vm_execute.h:432
frame #7: 0x0000000104ff7d08 myFile.so
my_execute_ex(execute_data=0x0000000105018030) + 392 at myFile.c:218zend_execute(op_array=0x0000000105075400, return_value=0x0000000000000000) + 234 at zend_vm_execute.h:474
frame #9: 0x000000010447ef12 php
zend_execute_scripts(type=8, retval=0x0000000000000000, file_count=3) + 594 at zend.c:1447php_execute_script(primary_file=0x00007fff5bc6a8a8) + 1201 at main.c:2533
frame #11: 0x000000010459a2b5 php
do_cli(argc=2, argv=0x00007fff5bc6afd0) + 3941 at php_cli.c:990main(argc=2, argv=0x00007fff5bc6afd0) + 1898 at php_cli.c:1378
frame #13: 0x00007fff8ad7c5ad libdyld.dylib
start + 1https://stackoverflow.com/questions/32731663/gdb-doesnt-read-the-core-dump-on-macos