Bug #97266 | GR fail to start,conflict with k8s CNI(flannel) | ||
---|---|---|---|
Submitted: | 17 Oct 2019 2:39 | Modified: | 25 Oct 2019 9:23 |
Reporter: | weston lee | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S1 (Critical) |
Version: | 5.7.28 | OS: | CentOS (aliyun ECS CentOS 7.4) |
Assigned to: | CPU Architecture: | x86 |
[17 Oct 2019 2:39]
weston lee
[25 Oct 2019 9:23]
MySQL Verification Team
Hi, Thanks for the report. Verified. kind regards
[12 Dec 2019 12:31]
Tiago Jorge
Thank you for your bug report. Can you please provide the configuration (JSON or any other) of your overlay flannel network so that we can try and reproduce the problem in our environment?
[13 Sep 2021 10:19]
oracle wang
I've encountered a similar bug, mysql gr works fine when stop and reset flannel.
Attachment: info.txt (text/plain), 47.49 KiB.
[13 Sep 2021 10:19]
oracle wang
I've encountered a similar bug, mysql gr works fine when stop and reset flannel.
Attachment: info.txt (text/plain), 47.49 KiB.
[15 Sep 2021 9:08]
oracle wang
Starting program: /usr/sbin/mysqld-debug --defaults-file=/data/mysql-3306/my.cnf --pid-file=/var/run/mysqld/mysqld-3306.pid --gdb [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffed75b700 (LWP 467930)] [New Thread 0x7ffe43c49700 (LWP 468336)] [New Thread 0x7ffe43448700 (LWP 468337)] [New Thread 0x7ffe42c47700 (LWP 468338)] [New Thread 0x7ffe42446700 (LWP 468339)] [New Thread 0x7ffe41c45700 (LWP 468340)] [New Thread 0x7ffe41444700 (LWP 468341)] [New Thread 0x7ffe40c43700 (LWP 468342)] [New Thread 0x7ffe40442700 (LWP 468343)] [New Thread 0x7ffe3fc41700 (LWP 468344)] [New Thread 0x7ffe3f440700 (LWP 468345)] [New Thread 0x7ffe3ec3f700 (LWP 468346)] [New Thread 0x7ffe37fff700 (LWP 468347)] [New Thread 0x7ffe3e43e700 (LWP 468348)] [New Thread 0x7ffe3dc3d700 (LWP 468349)] [New Thread 0x7ffe3d216700 (LWP 468370)] [Thread 0x7ffe3d216700 (LWP 468370) exited] [New Thread 0x7ffe3d216700 (LWP 468638)] [Thread 0x7ffe3d216700 (LWP 468638) exited] [New Thread 0x7ffe3d216700 (LWP 468639)] [New Thread 0x7ffe4d449700 (LWP 468640)] [New Thread 0x7ffe4cc48700 (LWP 468641)] [New Thread 0x7ffe4c447700 (LWP 468642)] [New Thread 0x7ffe4bc46700 (LWP 468643)] [New Thread 0x7ffe4b445700 (LWP 468644)] [New Thread 0x7ffe4ac44700 (LWP 468645)] [New Thread 0x7ffe4a443700 (LWP 468646)] [New Thread 0x7ffe49c42700 (LWP 468647)] [New Thread 0x7ffe49441700 (LWP 468648)] [New Thread 0x7ffe48c40700 (LWP 468649)] [New Thread 0x7ffe4843f700 (LWP 468650)] [New Thread 0x7ffe4757c700 (LWP 468673)] [New Thread 0x7ffe4753a700 (LWP 468901)] [New Thread 0x7ffe3ca15700 (LWP 468902)] [New Thread 0x7ffe474f8700 (LWP 468903)] [New Thread 0x7ffe474b6700 (LWP 468905)] [Switching to Thread 0x7ffe4757c700 (LWP 468673)] Thread 31 "mysqld-debug" hit Breakpoint 2, is_parameters_syntax_correct (interface_params=...) at /var/lib/pb2/sb_1-1352104-1607570308.55/rpm/BUILD/mysql-5.7.33/mysql-5.7.33/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_utils.cc:1112 warning: Source file is more recent than executable. 1112 { (gdb) n 1113 enum_gcs_error error= GCS_OK; (gdb) n 1117 interface_params.get_parameter("group_name"); (gdb) n 1119 interface_params.get_parameter("local_node"); (gdb) n 1121 interface_params.get_parameter("peer_nodes"); (gdb) n 1123 interface_params.get_parameter("bootstrap_group"); (gdb) n 1125 interface_params.get_parameter("poll_spin_loops"); (gdb) n 1127 interface_params.get_parameter("compression_threshold"); (gdb) n 1129 interface_params.get_parameter("compression"); (gdb) n 1131 interface_params.get_parameter("wait_time"); (gdb) n 1133 interface_params.get_parameter("join_attempts"); (gdb) n 1135 interface_params.get_parameter("join_sleep_time"); (gdb) n 1143 if (group_name_str != NULL && (gdb) n 1144 group_name_str->size() == 0) (gdb) n 1143 if (group_name_str != NULL && (gdb) n 1154 if (bootstrap_group_str != NULL) (gdb) n 1156 std::string &flag= const_cast<std::string &>(*bootstrap_group_str); (gdb) n 1157 error= is_valid_flag("bootstrap_group", flag); (gdb) n 1158 if (error == GCS_NOK) (gdb) n 1163 if (peer_nodes_str != NULL) (gdb) n 1168 std::vector<std::string> hostnames_and_ports; (gdb) n 1169 std::vector<std::string> invalid_hostnames_and_ports; (gdb) n 1170 Gcs_xcom_utils::process_peer_nodes(peer_nodes_str, hostnames_and_ports); (gdb) n 1172 invalid_hostnames_and_ports); (gdb) n 1174 if(!invalid_hostnames_and_ports.empty()) (gdb) n 1191 if(!invalid_hostnames_and_ports.empty() && hostnames_and_ports.empty()) (gdb) n 1169 std::vector<std::string> invalid_hostnames_and_ports; (gdb) n 1196 } (gdb) n 1200 if (local_node_str != NULL) (gdb) n 1202 bool matches_local_ip= false; (gdb) n 1203 std::map<std::string, int> ips; (gdb) n 1204 std::map<std::string, int>::iterator it; (gdb) n 1206 std::string::size_type delim_pos= (*local_node_str).find_last_of(":"); (gdb) n 1207 std::string host= (*local_node_str).substr(0, delim_pos); (gdb) n 1208 std::string ip; (gdb) n 1211 if (!is_valid_hostname(*local_node_str)) (gdb) n 1222 if (resolve_ip_addr_from_hostname(host, ip)) (gdb) n 1230 if (ip.compare(host) != 0) (gdb) n 1234 if (get_ipv4_local_addresses(ips, true)) (gdb) n 1243 for (it= ips.begin(); it != ips.end() && !matches_local_ip; it++) (gdb) n 1244 matches_local_ip= (*it).first.compare(ip) == 0; (gdb) n 1243 for (it= ips.begin(); it != ips.end() && !matches_local_ip; it++) (gdb) n 1244 matches_local_ip= (*it).first.compare(ip) == 0; (gdb) n 1243 for (it= ips.begin(); it != ips.end() && !matches_local_ip; it++) (gdb) n 1244 matches_local_ip= (*it).first.compare(ip) == 0; (gdb) n 1243 for (it= ips.begin(); it != ips.end() && !matches_local_ip; it++) (gdb) n 1244 matches_local_ip= (*it).first.compare(ip) == 0; (gdb) n 1243 for (it= ips.begin(); it != ips.end() && !matches_local_ip; it++) (gdb) n 1245 if(!matches_local_ip) (gdb) n 1208 std::string ip; (gdb) n 1207 std::string host= (*local_node_str).substr(0, delim_pos); (gdb) n *** Error in `/usr/sbin/mysqld-debug': free(): invalid next size (fast): 0x00007ffdf0011450 ***
[29 Aug 2022 3:34]
Keso BIBO
Is there a way to fix this bug? As far as I know, this error is only encountered on some models of Alibaba Cloud Looking forward to your reply