Apr 11 22:28:06 petcat mysqld[29750]: Server version: 10.1.13-MariaDB Apr 11 22:28:06 petcat mysqld[29750]: key_buffer_size=134217728 Apr 11 22:28:06 petcat mysqld[29750]: read_buffer_size=131072 Apr 11 22:28:06 petcat mysqld[29750]: max_used_connections=5 Apr 11 22:28:06 petcat mysqld[29750]: max_threads=1002 Apr 11 22:28:06 petcat mysqld[29750]: thread_count=2 Apr 11 22:28:06 petcat mysqld[29750]: It is possible that mysqld could use up to Apr 11 22:28:06 petcat mysqld[29750]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4384024 K bytes of memory Apr 11 22:28:06 petcat mysqld[29750]: Hope that's ok; if not, decrease some variables in the equation. Apr 11 22:28:06 petcat mysqld[29750]: Thread pointer: 0x0x7fc919b7e008 Apr 11 22:28:06 petcat mysqld[29750]: Attempting backtrace. You can use the following information to find out Apr 11 22:28:06 petcat mysqld[29750]: where mysqld died. If you see no messages after this, something went Apr 11 22:28:06 petcat mysqld[29750]: terribly wrong... Apr 11 22:28:06 petcat mysqld[29750]: stack_bottom = 0x7fc8e4a1e218 thread_stack 0x48400 Apr 11 22:28:06 petcat mysqld[29750]: *** buffer overflow detected ***: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld terminated Apr 11 22:28:06 petcat mysqld[29750]: ======= Backtrace: ========= Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libc.so.6(+0x70c1f)[0x7fd3fc77bc1f] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libc.so.6(__fortify_fail+0x37)[0x7fd3fc802127] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libc.so.6(+0xf53b0)[0x7fd3fc8003b0] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libc.so.6(+0xf7097)[0x7fd3fc802097] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(my_addr_resolve+0x45)[0x7fd3ffcfb805] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(my_print_stacktrace+0x19a)[0x7fd3ffce82ea] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(handle_fatal_signal+0x355)[0x7fd3ff847465] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libpthread.so.0(+0x103e0)[0x7fd3fee6f3e0] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(+0xa7a12d)[0x7fd3ffd1912d] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(+0x3dccc5)[0x7fd3ff67bcc5] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(_Z17sql_set_variablesP3THDP4ListI12set_var_baseEb+0x39)[0x7fd3ff653c09] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(_Z21mysql_execute_commandP3THD+0x67af)[0x7fd3ff6d1e6f] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x274)[0x7fd3ff6d4a54] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1bb6)[0x7fd3ff6d73d6] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(_Z10do_commandP3THD+0x16b)[0x7fd3ff6d7afb] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x18c)[0x7fd3ff798b0c] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7ygzwj9zfa1qzcv79gdbffnks57ip3i9-mariadb-10.1.13/bin/mysqld(handle_one_connection+0x37)[0x7fd3ff798ce7] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libpthread.so.0(+0x8484)[0x7fd3fee67484] Apr 11 22:28:06 petcat mysqld[29750]: /nix/store/7b82878b8l4d136i6pxmwcc12sfsda33-glibc-2.21/lib/libc.so.6(clone+0x6d)[0x7fd3fc7f1f3d]