free(): invalid pointer 221102 14:19:49 [ERROR] mysqld got signal 6 ; 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.9.3-MariaDB-log key_buffer_size=8589934592 read_buffer_size=131072 max_used_connections=6 max_threads=2002 thread_count=8 something is definitely wrong and this may fail. Server version: 10.9.3-MariaDB-log key_buffer_size=8589934592 read_buffer_size=131072 max_used_connections=6 max_threads=2002 thread_count=8 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 12797705 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fa794001598 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 = 0x7fa6beffc7a0 thread_stack 0x400000 Printing to addr2line failed /opt/bitnami/mariadb/sbin/mysqld(my_print_stacktrace+0x2e)[0x55d40cdf18ce] /opt/bitnami/mariadb/sbin/mysqld(handle_fatal_signal+0x485)[0x55d40c940aa5] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7fbb42791140] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7fbb422aece1] /lib/x86_64-linux-gnu/libc.so.6(abort+0x123)[0x7fbb42298537] /lib/x86_64-linux-gnu/libc.so.6(+0x7b768)[0x7fbb422f1768] /lib/x86_64-linux-gnu/libc.so.6(+0x82a5a)[0x7fbb422f8a5a] /lib/x86_64-linux-gnu/libc.so.6(+0x83c14)[0x7fbb422f9c14] /opt/bitnami/mariadb/sbin/mysqld(_ZN3THD6set_dbEPK25st_mysql_const_lex_string+0xba)[0x55d40c6bceba] /opt/bitnami/mariadb/sbin/mysqld(_Z15mysql_change_dbP3THDPK25st_mysql_const_lex_stringb+0x1f4)[0x55d40c6cc364] /opt/bitnami/mariadb/sbin/mysqld(_Z19mysql_opt_change_dbP3THDPK25st_mysql_const_lex_stringP19st_mysql_lex_stringbPb+0x6c)[0x55d40c6cc62c]