root:/usr/include/php/20180731> gdb /usr/sbin/apache2 /var/lib/systemd/coredump/core.apache2.33.6ecc48c1271d4aff8f8a432527e96d8b.2454.1546069566000000 GNU gdb (Debian 8.2-1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/sbin/apache2...Reading symbols from /usr/lib/debug/.build-id/e0/4739643d3019f3e932132adbbb8b972afbede5.debug...done. done. [New LWP 2454] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/apache2 -k start'. Program terminated with signal SIGSEGV, Segmentation fault. #0 zend_gc_addref (p=0xffffffff00000006) at ./Zend/zend_types.h:1025 1025 return GC_ADDREF(Z_COUNTED_P(pz)); (gdb) bt #0 zend_gc_addref (p=0xffffffff00000006) at ./Zend/zend_types.h:1025 #1 zval_addref_p (pz=0x7f31f841d310) at ./Zend/zend_types.h:1025 #2 ZEND_SEND_VAR_EX_SPEC_CV_QUICK_HANDLER () at ./Zend/zend_vm_execute.h:37385 #3 execute_ex (ex=0x42) at ./Zend/zend_vm_execute.h:59314 #4 0x00007f31f9070ed7 in execute_ex (ex=0x42) at ./Zend/zend_vm_execute.h:55510 #5 0x00007f31fa652f03 in xdebug_execute_ex (execute_data=0x7f31f841d2c0) at ./build-7.3/xdebug.c:1868 #6 0x00007f31f8e4b379 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at ./Zend/zend_vm_execute.h:961 #7 0x00007f31f9070ed7 in execute_ex (ex=0x42) at ./Zend/zend_vm_execute.h:55510 #8 0x00007f31fa652f03 in xdebug_execute_ex (execute_data=0x7f31f841d0a0) at ./build-7.3/xdebug.c:1868 #9 0x00007f31f906aadc in ZEND_INCLUDE_OR_EVAL_SPEC_TMPVAR_HANDLER () at ./Zend/zend_vm_execute.h:12738 #10 0x00007f31f9070ed7 in execute_ex (ex=0x42) at ./Zend/zend_vm_execute.h:55510 #11 0x00007f31fa652f03 in xdebug_execute_ex (execute_data=0x7f31f841d030) at ./build-7.3/xdebug.c:1868 #12 0x00007f31f9077407 in zend_execute (op_array=op_array@entry=0x7f31f847f000, return_value=return_value@entry=0x0) at ./Zend/zend_vm_execute.h:60834 #13 0x00007f31f8ff09b3 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at ./Zend/zend.c:1568 #14 0x00007f31f8f91858 in php_execute_script (primary_file=primary_file@entry=0x7ffeaebdc6a0) at ./main/main.c:2630 #15 0x00007f31f907960a in php_handler (r=) at ./sapi/apache2handler/sapi_apache2.c:699 #16 0x000055e38b0719d0 in ap_run_handler (r=r@entry=0x7f31f70730a0) at config.c:170 #17 0x000055e38b071f66 in ap_invoke_handler (r=r@entry=0x7f31f70730a0) at config.c:444 #18 0x000055e38b08a503 in ap_process_async_request (r=0x7f31f70730a0) at http_request.c:453 #19 0x000055e38b08a66e in ap_process_request (r=r@entry=0x7f31f70730a0) at http_request.c:488 #20 0x000055e38b0867bd in ap_process_http_sync_connection (c=0x7f31fa61d290) at http_core.c:210 #21 ap_process_http_connection (c=0x7f31fa61d290) at http_core.c:251 #22 0x000055e38b07b810 in ap_run_process_connection (c=c@entry=0x7f31fa61d290) at connection.c:42 #23 0x000055e38b07bd70 in ap_process_connection (c=c@entry=0x7f31fa61d290, csd=) at connection.c:219 #24 0x00007f31faa403dc in child_main (child_num_arg=child_num_arg@entry=1, child_bucket=child_bucket@entry=0) at prefork.c:615 #25 0x00007f31faa406e4 in make_child (s=0x7f31faade4a0, slot=slot@entry=1, bucket=0) at prefork.c:716 #26 0x00007f31faa4074f in startup_children (number_to_start=4) at prefork.c:735 #27 0x00007f31faa41313 in prefork_run (_pconf=, plog=0x7f31faadb028, s=0x7f31faade4a0) at prefork.c:901 #28 0x000055e38b05460e in ap_run_mpm (pconf=0x7f31fae59028, plog=0x7f31faadb028, s=0x7f31faade4a0) at mpm_common.c:94 #29 0x000055e38b04cf47 in main (argc=, argv=) at main.c:819