Skip to content

Instantly share code, notes, and snippets.

@jbq
Created April 17, 2020 08:38
Show Gist options
  • Save jbq/858199254448abb0e803eb31998d1f0d to your computer and use it in GitHub Desktop.
Save jbq/858199254448abb0e803eb31998d1f0d to your computer and use it in GitHub Desktop.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f8364f20647 in zend_hash_next_index_insert () from /usr/lib/apache2/modules/libphp7.so
(gdb) bt
#0 0x00007f8364f20647 in zend_hash_next_index_insert () from /usr/lib/apache2/modules/libphp7.so
#1 0x00007f835a52c28e in zend_hash_next_index_insert_mem (size=0, pData=0x7ffd32c749cc, ht=0x2f746e656d75636f) at /usr/local/include/php/Zend/zend_hash.h:780
#2 php_proto_zend_hash_next_index_insert_mem (pDest=0x0, nDataSize=0, pData=0x7ffd32c749cc, ht=0x2f746e656d75636f) at /tmp/pear/temp/protobuf/protobuf.h:393
#3 repeated_field_push_native (intern=<optimized out>, value=0x7ffd32c749cc) at /tmp/pear/temp/protobuf/array.c:257
#4 0x00007f835a52fbc9 in appendint32_handler (closure=<optimized out>, hd=<optimized out>, val=<optimized out>) at /tmp/pear/temp/protobuf/encode_decode.c:271
#5 0x00007f835a54e3cf in upb_sink_putint32 (s=..., sel=<optimized out>, val=12) at /tmp/pear/temp/protobuf/upb.h:5572
#6 0x00007f835a54f986 in parse_number_from_buffer (is_quoted=false, buf=0x55eb90593fe0 "12", p=0x55eb905929e0) at /tmp/pear/temp/protobuf/upb.c:9410
#7 parse_number (p=0x55eb905929e0, is_quoted=<optimized out>) at /tmp/pear/temp/protobuf/upb.c:9514
#8 0x00007f835a5509b9 in end_number_nontop (ptr=<optimized out>, p=0x55eb905929e0) at /tmp/pear/temp/protobuf/upb.c:9352
#9 end_number (p=0x55eb905929e0, ptr=<optimized out>) at /tmp/pear/temp/protobuf/upb.c:9356
#10 0x00007f835a5575ed in parse (closure=0x55eb905929e0, hd=<optimized out>, buf=<optimized out>, size=<optimized out>, handle=<optimized out>) at /tmp/pear/temp/protobuf/upb.c:11587
#11 0x00007f835a551928 in upb_bytessink_putbuf (handle=0x7ffd32c74b80, size=94, buf=0x7f8344660918 "{\n\t\"shippingBatch\": {\n\t\t\"participationId\": 12,\n\t\t\"ownerId\": 5,\n\t\t\"workflowState\": \"Draft\"\n\t}\n}",
subc=<optimized out>, s=...) at /tmp/pear/temp/protobuf/upb.h:5949
#12 upb_bufsrc_putbuf (buf=0x7f8344660918 "{\n\t\"shippingBatch\": {\n\t\t\"participationId\": 12,\n\t\t\"ownerId\": 5,\n\t\t\"workflowState\": \"Draft\"\n\t}\n}", len=94, sink=...) at /tmp/pear/temp/protobuf/upb.c:5493
#13 0x00007f835a53398a in zim_Message_mergeFromJsonString (execute_data=<optimized out>, return_value=<optimized out>) at /tmp/pear/temp/protobuf/encode_decode.c:2183
#14 0x00007f8364fa09af in execute_ex () from /usr/lib/apache2/modules/libphp7.so
#15 0x00007f8364fa0e55 in zend_execute () from /usr/lib/apache2/modules/libphp7.so
#16 0x00007f8364f12613 in zend_execute_scripts () from /usr/lib/apache2/modules/libphp7.so
#17 0x00007f8364eb0dc8 in php_execute_script () from /usr/lib/apache2/modules/libphp7.so
#18 0x00007f8364fa3082 in php_handler () from /usr/lib/apache2/modules/libphp7.so
#19 0x000055eb8f846d60 in ap_run_handler (r=r@entry=0x7f83694b3160) at config.c:170
#20 0x000055eb8f8472f6 in ap_invoke_handler (r=r@entry=0x7f83694b3160) at config.c:434
#21 0x000055eb8f85e09c in ap_internal_redirect (new_uri=<optimized out>, r=<optimized out>) at http_request.c:765
#22 0x00007f835bb8db0d in handler_redirect (r=0x7f83694bc0a0) at mod_rewrite.c:5195
#23 0x000055eb8f846d60 in ap_run_handler (r=r@entry=0x7f83694bc0a0) at config.c:170
#24 0x000055eb8f8472f6 in ap_invoke_handler (r=r@entry=0x7f83694bc0a0) at config.c:434
#25 0x000055eb8f85edb3 in ap_process_async_request (r=0x7f83694bc0a0) at http_request.c:436
#26 0x000055eb8f85eec0 in ap_process_request (r=r@entry=0x7f83694bc0a0) at http_request.c:471
#27 0x000055eb8f85b0fd in ap_process_http_sync_connection (c=0x7f83694c2290) at http_core.c:210
#28 ap_process_http_connection (c=0x7f83694c2290) at http_core.c:251
#29 0x000055eb8f850bd0 in ap_run_process_connection (c=c@entry=0x7f83694c2290) at connection.c:42
#30 0x000055eb8f851120 in ap_process_connection (c=c@entry=0x7f83694c2290, csd=<optimized out>) at connection.c:226
#31 0x00007f8365c5d6bf in child_main (child_num_arg=child_num_arg@entry=0, child_bucket=child_bucket@entry=0) at prefork.c:723
#32 0x00007f8365c5d934 in make_child (s=0x7f83695aa4a0, slot=slot@entry=0) at prefork.c:825
#33 0x00007f8365c5d9a2 in startup_children (number_to_start=5) at prefork.c:843
#34 0x00007f8365c5e823 in prefork_run (_pconf=<optimized out>, plog=0x7f83695a5028, s=0x7f83695aa4a0) at prefork.c:1006
#35 0x000055eb8f82a0fe in ap_run_mpm (pconf=0x7f83695d8028, plog=0x7f83695a5028, s=0x7f83695aa4a0) at mpm_common.c:94
#36 0x000055eb8f822cfd in main (argc=<optimized out>, argv=<optimized out>) at main.c:783
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment