ERROR 2013 (HY000) at line 1353: Lost connection to server during query. with Encryption ON with AWS KMS

Hello, I'm trying to import a large data dump from MySQL to MariaDB but keep getting the ERROR 2013 (HY000) at line 1353: Lost connection to server during query

I have tried increasing all settings of time out and buffer size but it did not help.

The weird thing is if encryption is turned off then the dump was able to import with no connection issue.

Have anyone had this issue before or is there some sort of bug or limitation when encryption is on? Any help would be greatly appreciated. Thank you.

220217 20:17:49 [ERROR] mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see https://mariadb.com/kb/en/reporting-bugs

We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail.

Server version: 10.7.3-MariaDB-1:10.7.3+mariabionic-log key_buffer_size=1073741824 read_buffer_size=131072 max_used_connections=1 max_threads=153 thread_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1385498 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7fc4500008e8 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x7fc664076d98 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x555ad02bc31e] ??:0(handle_fatal_signal)[0x555acfd21a85] ??:0(restore_rt)[0x7fc666ba3980] ??:0(AES_unwrap_key)[0x7fc666e370b3] ??:0(EVP_MD_CTX_ctrl)[0x7fc666f0d85c] ??:0(EVP_EncryptUpdate)[0x7fc666f1c3eb] ??:0(MyCTX_nopad::update(unsigned char const*, unsigned int, unsigned char*, unsigned int*))[0x555acff29e47] ??:0(std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, bool> std::_Rb_t ree<unsigned int, std::pair<unsigned int const, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<unsigned int const, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::_ _cxx??:0(std::pair<std::_Rb_tree_iterator<std::pair<unsigned int const, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, bool> std::_ Rb_tree<unsigned int, std::pair<unsigned int const, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<unsigned int const, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, st d::cxx??:0(std::unique_lock<std::mutex>::unlock())[0x555ad00c3635] ??:0(std::unique_lock<std::mutex>::unlock())[0x555ad00c9d84] ??:0(std::unique_lock<std::mutex>::unlock())[0x555ad00c04d5] ??:0(std::unique_lock<std::mutex>::unlock())[0x555ad00d43ff] ??:0(wsrep_notify_status(wsrep::server_state::state, wsrep::view const*))[0x555ad001027c] ??:0(handler::ha_write_row(unsigned char const*))[0x555acfd2e67f] ??:0(write_record(THD*, TABLE*, st_copy_info*, select_result*))[0x555acfabe0fd] ??:0(mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*))[0x555acfac8a6a] ??:0(mysql_execute_command(THD*, bool))[0x555acfaf4954] ??:0(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x555acfafa116] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x555acfaef325] ??:0(do_command(THD*, bool))[0x555acfaedfaa] ??:0(do_handle_one_connection(CONNECT*, bool))[0x555acfbfefb7] ??:0(handle_one_connection)[0x555acfbff344] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x555acff43c5d] ??:0(start_thread)[0x7fc666b986db] ??:0(clone)[0x7fc665f9671f]

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.