Created attachment 894373 [details] preprocessed source Description of problem: In file included from /c/honeypenny/src/p2p/net_node.h:245:0, from /c/honeypenny/src/rpc/core_rpc_server.h:13, from /c/honeypenny/src/rpc/core_rpc_server.cpp:10: /c/honeypenny/src/p2p/net_node.inl: In lambda function: /c/honeypenny/src/p2p/net_node.inl:1020:9: internal compiler error: Segmentation fault m_net_server.get_config_object().close(ping_context.m_connection_id); ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccEPTziy.out file, please attach this to your bugreport. Version-Release number of selected component (if applicable): 4.9.0-3 How reproducible: 100% Steps to Reproduce: 1. compile core_rpc_server.cpp 2. 3. Actual results: segfault Expected results: compiling Additional info:
gcc git-5623c8ef9c957762901e572b63649115a38ed731 /c/honeypenny/src/p2p/net_node.inl: In lambda function: /c/honeypenny/src/p2p/net_node.inl:1020:9: internal compiler error: Segmentation fault m_net_server.get_config_object().close(ping_context.m_connection_id); ^ 0xb76f3f crash_signal ../.././gcc/toplev.c:337 0xda1ce0 strip_array_types(tree_node*) ../.././gcc/tree.c:7855 0x68de18 cp_type_quals(tree_node const*) ../.././gcc/cp/typeck.c:8817 0x6eb19f finish_non_static_data_member(tree_node*, tree_node*, tree_node*) ../.././gcc/cp/semantics.c:1711 0x6ec605 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*, bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int) ../.././gcc/cp/semantics.c:3439 0x660ddb cp_parser_primary_expression ../.././gcc/cp/parser.c:4632 0x661a2a cp_parser_postfix_expression ../.././gcc/cp/parser.c:5989 0x664e83 cp_parser_unary_expression ../.././gcc/cp/parser.c:7190 0x665b6f cp_parser_binary_expression ../.././gcc/cp/parser.c:7895 0x666051 cp_parser_assignment_expression ../.././gcc/cp/parser.c:8133 0x6685c3 cp_parser_expression ../.././gcc/cp/parser.c:8295 0x668dec cp_parser_expression ../.././gcc/cp/parser.c:8334 0x668dec cp_parser_expression_statement ../.././gcc/cp/parser.c:9653 0x65dc78 cp_parser_statement ../.././gcc/cp/parser.c:9504 0x65eaa9 cp_parser_statement_seq_opt ../.././gcc/cp/parser.c:9776 0x65f87d cp_parser_lambda_body ../.././gcc/cp/parser.c:9280 0x65f87d cp_parser_lambda_expression ../.././gcc/cp/parser.c:8785 0x6607e0 cp_parser_primary_expression ../.././gcc/cp/parser.c:4323 0x661a2a cp_parser_postfix_expression ../.././gcc/cp/parser.c:5989 0x664e83 cp_parser_unary_expression ../.././gcc/cp/parser.c:7190
gcc 4.9.0-1 works
Tracking this upstream: http://gcc.gnu.org/PR61151