The current releases:
5.6 (5.6.34)5.7 (5.7.16)throws buffer overflow exception when innodb-use-native-aio = 0 is configured and a client connects.
The versions 5.6.33 and 5.7.15 works.
MySQL 5.6.34 Log
typo3_mysql_1 | *** buffer overflow detected ***: mysqld terminated
typo3_mysql_1 | ======= Backtrace: =========
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0x731af)[0x7f2e3e6e01af]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f2e3e765aa7]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0xf6cc0)[0x7f2e3e763cc0]
typo3_mysql_1 | mysqld(_Z19find_or_create_hostP10PFS_threadPKcj+0x1d7)[0x8d8107]
typo3_mysql_1 | mysqld(_Z22find_or_create_accountP10PFS_threadPKcjS2_j+0x305)[0x8d3535]
typo3_mysql_1 | mysqld(_Z18set_thread_accountP10PFS_thread+0x36)[0x8dc536]
typo3_mysql_1 | mysqld[0x8fcf42]
typo3_mysql_1 | mysqld(_Z16acl_authenticateP3THDj+0x8ad)[0x684a6d]
typo3_mysql_1 | mysqld[0x6abc97]
typo3_mysql_1 | mysqld(_Z16login_connectionP3THD+0x3e)[0x6aca5e]
typo3_mysql_1 | mysqld(_Z22thd_prepare_connectionP3THD+0x21)[0x6ad031]
typo3_mysql_1 | mysqld(_Z24do_handle_one_connectionP3THD+0x11c)[0x6ad30c]
typo3_mysql_1 | mysqld(handle_one_connection+0x40)[0x6ad3e0]
typo3_mysql_1 | mysqld(pfs_spawn_thread+0x146)[0x8f9406]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7f2e3fca50a4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f2e3e75562d]
typo3_mysql_1 | ======= Memory map: ========
typo3_mysql_1 | 00400000-00f67000 r-xp 00000000 00:34 68 /usr/sbin/mysqld
typo3_mysql_1 | 01166000-01211000 r--p 00b66000 00:34 68 /usr/sbin/mysqld
typo3_mysql_1 | 01211000-01314000 rw-p 00c11000 00:34 68 /usr/sbin/mysqld
typo3_mysql_1 | 01314000-01369000 rw-p 00000000 00:00 0
typo3_mysql_1 | 0301a000-03747000 rw-p 00000000 00:00 0 [heap]
typo3_mysql_1 | 7f2dfc000000-7f2dfc021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2dfc021000-7f2e00000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e04000000-7f2e04021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e04021000-7f2e08000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e08000000-7f2e08021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e08021000-7f2e0c000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e0c000000-7f2e0c021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e0c021000-7f2e10000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e112ab000-7f2e112bf000 r-xp 00000000 00:34 194 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7f2e112bf000-7f2e114be000 ---p 00014000 00:34 194 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7f2e114be000-7f2e114bf000 r--p 00013000 00:34 194 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7f2e114bf000-7f2e114c0000 rw-p 00014000 00:34 194 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7f2e114c0000-7f2e114c2000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e114c2000-7f2e114c3000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e114c3000-7f2e11cc3000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e11cc3000-7f2e11cc4000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e11cc4000-7f2e124c4000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e124c4000-7f2e124c5000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e124c5000-7f2e12cc5000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e12cc5000-7f2e12cc6000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e12cc6000-7f2e134c6000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e134c6000-7f2e134c7000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e134c7000-7f2e13cc7000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e13cc7000-7f2e13cc8000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e13cc8000-7f2e144c8000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e144c8000-7f2e144c9000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e144c9000-7f2e14cc9000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e14cc9000-7f2e14cca000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e14cca000-7f2e154ca000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e154ca000-7f2e154cb000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e154cb000-7f2e15f58000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e160ee000-7f2e160f3000 r-xp 00000000 00:34 192 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7f2e160f3000-7f2e162f2000 ---p 00005000 00:34 192 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7f2e162f2000-7f2e162f3000 r--p 00004000 00:34 192 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7f2e162f3000-7f2e162f4000 rw-p 00005000 00:34 192 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7f2e162f4000-7f2e162f5000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e162f5000-7f2e16335000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e16335000-7f2e16336000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e16336000-7f2e16376000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e16376000-7f2e16377000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e16377000-7f2e16b77000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e16b77000-7f2e16b78000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e16b78000-7f2e17378000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e17378000-7f2e17379000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e17379000-7f2e17b79000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e17b79000-7f2e17b7a000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e17b7a000-7f2e1837a000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e1837a000-7f2e1837b000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e1837b000-7f2e18b7b000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e18b7b000-7f2e18b7c000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e18b7c000-7f2e1937c000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e1937c000-7f2e1937d000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e1937d000-7f2e19b7d000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e19b7d000-7f2e19b7e000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e19b7e000-7f2e1a37e000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e1a37e000-7f2e1a37f000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e1a37f000-7f2e1ab7f000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e1ab7f000-7f2e1ab80000 ---p 00000000 00:00 0
typo3_mysql_1 | 7f2e1ab80000-7f2e24b7d000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e24b7d000-7f2e24b88000 r-xp 00000000 00:34 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7f2e24b88000-7f2e24d87000 ---p 0000b000 00:34 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7f2e24d87000-7f2e24d88000 r--p 0000a000 00:34 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7f2e24d88000-7f2e24d89000 rw-p 0000b000 00:34 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7f2e24d89000-7f2e24d93000 r-xp 00000000 00:34 54 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
typo3_mysql_1 | 7f2e24d93000-7f2e24f92000 ---p 0000a000 00:34 54 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
typo3_mysql_1 | 7f2e24f92000-7f2e24f93000 r--p 00009000 00:34 54 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
typo3_mysql_1 | 7f2e24f93000-7f2e24f94000 rw-p 0000a000 00:34 54 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
typo3_mysql_1 | 7f2e24f94000-7f2e24fa9000 r-xp 00000000 00:34 52 /lib/x86_64-linux-gnu/libnsl-2.19.so
typo3_mysql_1 | 7f2e24fa9000-7f2e251a8000 ---p 00015000 00:34 52 /lib/x86_64-linux-gnu/libnsl-2.19.so
typo3_mysql_1 | 7f2e251a8000-7f2e251a9000 r--p 00014000 00:34 52 /lib/x86_64-linux-gnu/libnsl-2.19.so
typo3_mysql_1 | 7f2e251a9000-7f2e251aa000 rw-p 00015000 00:34 52 /lib/x86_64-linux-gnu/libnsl-2.19.so
typo3_mysql_1 | 7f2e251aa000-7f2e251ac000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e251ac000-7f2e251b3000 r-xp 00000000 00:34 50 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
typo3_mysql_1 | 7f2e251b3000-7f2e253b2000 ---p 00007000 00:34 50 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
typo3_mysql_1 | 7f2e253b2000-7f2e253b3000 r--p 00006000 00:34 50 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
typo3_mysql_1 | 7f2e253b3000-7f2e253b4000 rw-p 00007000 00:34 50 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
typo3_mysql_1 | 7f2e253b4000-7f2e3e66d000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e3e66d000-7f2e3e80e000 r-xp 00000000 00:34 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7f2e3e80e000-7f2e3ea0e000 ---p 001a1000 00:34 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7f2e3ea0e000-7f2e3ea12000 r--p 001a1000 00:34 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7f2e3ea12000-7f2e3ea14000 rw-p 001a5000 00:34 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7f2e3ea14000-7f2e3ea18000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e3ea18000-7f2e3ea2e000 r-xp 00000000 00:34 83 /lib/x86_64-linux-gnu/libgcc_s.so.1
typo3_mysql_1 | 7f2e3ea2e000-7f2e3ec2d000 ---p 00016000 00:34 83 /lib/x86_64-linux-gnu/libgcc_s.so.1
typo3_mysql_1 | 7f2e3ec2d000-7f2e3ec2e000 rw-p 00015000 00:34 83 /lib/x86_64-linux-gnu/libgcc_s.so.1
typo3_mysql_1 | 7f2e3ec2e000-7f2e3ed2e000 r-xp 00000000 00:34 82 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7f2e3ed2e000-7f2e3ef2d000 ---p 00100000 00:34 82 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7f2e3ef2d000-7f2e3ef2e000 r--p 000ff000 00:34 82 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7f2e3ef2e000-7f2e3ef2f000 rw-p 00100000 00:34 82 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7f2e3ef2f000-7f2e3f01b000 r-xp 00000000 00:34 80 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7f2e3f01b000-7f2e3f21b000 ---p 000ec000 00:34 80 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7f2e3f21b000-7f2e3f223000 r--p 000ec000 00:34 80 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7f2e3f223000-7f2e3f225000 rw-p 000f4000 00:34 80 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7f2e3f225000-7f2e3f23a000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e3f23a000-7f2e3f23d000 r-xp 00000000 00:34 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7f2e3f23d000-7f2e3f43c000 ---p 00003000 00:34 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7f2e3f43c000-7f2e3f43d000 r--p 00002000 00:34 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7f2e3f43d000-7f2e3f43e000 rw-p 00003000 00:34 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7f2e3f43e000-7f2e3f446000 r-xp 00000000 00:34 78 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7f2e3f446000-7f2e3f645000 ---p 00008000 00:34 78 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7f2e3f645000-7f2e3f646000 r--p 00007000 00:34 78 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7f2e3f646000-7f2e3f647000 rw-p 00008000 00:34 78 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7f2e3f647000-7f2e3f675000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e3f675000-7f2e3f68f000 r-xp 00000000 00:34 76 /lib/x86_64-linux-gnu/libz.so.1.2.8
typo3_mysql_1 | 7f2e3f68f000-7f2e3f88e000 ---p 0001a000 00:34 76 /lib/x86_64-linux-gnu/libz.so.1.2.8
typo3_mysql_1 | 7f2e3f88e000-7f2e3f88f000 r--p 00019000 00:34 76 /lib/x86_64-linux-gnu/libz.so.1.2.8
typo3_mysql_1 | 7f2e3f88f000-7f2e3f890000 rw-p 0001a000 00:34 76 /lib/x86_64-linux-gnu/libz.so.1.2.8
typo3_mysql_1 | 7f2e3f890000-7f2e3f89a000 r-xp 00000000 00:34 74 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7f2e3f89a000-7f2e3fa99000 ---p 0000a000 00:34 74 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7f2e3fa99000-7f2e3fa9a000 r--p 00009000 00:34 74 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7f2e3fa9a000-7f2e3fa9b000 rw-p 0000a000 00:34 74 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7f2e3fa9b000-7f2e3fa9c000 r-xp 00000000 00:34 70 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7f2e3fa9c000-7f2e3fc9b000 ---p 00001000 00:34 70 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7f2e3fc9b000-7f2e3fc9c000 r--p 00000000 00:34 70 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7f2e3fc9c000-7f2e3fc9d000 rw-p 00001000 00:34 70 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7f2e3fc9d000-7f2e3fcb5000 r-xp 00000000 00:34 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7f2e3fcb5000-7f2e3feb4000 ---p 00018000 00:34 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7f2e3feb4000-7f2e3feb5000 r--p 00017000 00:34 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7f2e3feb5000-7f2e3feb6000 rw-p 00018000 00:34 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7f2e3feb6000-7f2e3feba000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e3feba000-7f2e3feda000 r-xp 00000000 00:34 36 /lib/x86_64-linux-gnu/ld-2.19.so
typo3_mysql_1 | 7f2e3fee7000-7f2e400d7000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e400d7000-7f2e400da000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7f2e400da000-7f2e400db000 r--p 00020000 00:34 36 /lib/x86_64-linux-gnu/ld-2.19.so
typo3_mysql_1 | 7f2e400db000-7f2e400dc000 rw-p 00021000 00:34 36 /lib/x86_64-linux-gnu/ld-2.19.so
typo3_mysql_1 | 7f2e400dc000-7f2e400dd000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7ffe8f35c000-7ffe8f37d000 rw-p 00000000 00:00 0 [stack]
typo3_mysql_1 | 7ffe8f3d6000-7ffe8f3d8000 r--p 00000000 00:00 0 [vvar]
typo3_mysql_1 | 7ffe8f3d8000-7ffe8f3da000 r-xp 00000000 00:00 0 [vdso]
typo3_mysql_1 | ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
typo3_mysql_1 | 08:38:20 UTC - mysqld got signal 6 ;
typo3_mysql_1 | This could be because you hit a bug. It is also possible that this binary
typo3_mysql_1 | or one of the libraries it was linked against is corrupt, improperly built,
typo3_mysql_1 | or misconfigured. This error can also be caused by malfunctioning hardware.
typo3_mysql_1 | We will try our best to scrape up some info that will hopefully help
typo3_mysql_1 | diagnose the problem, but since we have already crashed,
typo3_mysql_1 | something is definitely wrong and this may fail.
typo3_mysql_1 |
typo3_mysql_1 | key_buffer_size=8388608
typo3_mysql_1 | read_buffer_size=131072
typo3_mysql_1 | max_used_connections=1
typo3_mysql_1 | max_threads=151
typo3_mysql_1 | thread_count=1
typo3_mysql_1 | connection_count=1
typo3_mysql_1 | It is possible that mysqld could use up to
typo3_mysql_1 | key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68108 K bytes of memory
typo3_mysql_1 | Hope that's ok; if not, decrease some variables in the equation.
typo3_mysql_1 |
typo3_mysql_1 | Thread pointer: 0x30f5620
typo3_mysql_1 | Attempting backtrace. You can use the following information to find out
typo3_mysql_1 | where mysqld died. If you see no messages after this, something went
typo3_mysql_1 | terribly wrong...
typo3_mysql_1 | stack_bottom = 7f2e16333e98 thread_stack 0x40000
typo3_mysql_1 | mysqld(my_print_stacktrace+0x2c)[0x8c317c]
typo3_mysql_1 | mysqld(handle_fatal_signal+0x481)[0x661c61]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x7f2e3fcac8d0]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f2e3e6a2067]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f2e3e6a3448]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0x731b4)[0x7f2e3e6e01b4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f2e3e765aa7]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0xf6cc0)[0x7f2e3e763cc0]
typo3_mysql_1 | mysqld(_Z19find_or_create_hostP10PFS_threadPKcj+0x1d7)[0x8d8107]
typo3_mysql_1 | mysqld(_Z22find_or_create_accountP10PFS_threadPKcjS2_j+0x305)[0x8d3535]
typo3_mysql_1 | mysqld(_Z18set_thread_accountP10PFS_thread+0x36)[0x8dc536]
typo3_mysql_1 | mysqld[0x8fcf42]
typo3_mysql_1 | mysqld(_Z16acl_authenticateP3THDj+0x8ad)[0x684a6d]
typo3_mysql_1 | mysqld[0x6abc97]
typo3_mysql_1 | mysqld(_Z16login_connectionP3THD+0x3e)[0x6aca5e]
typo3_mysql_1 | mysqld(_Z22thd_prepare_connectionP3THD+0x21)[0x6ad031]
typo3_mysql_1 | mysqld(_Z24do_handle_one_connectionP3THD+0x11c)[0x6ad30c]
typo3_mysql_1 | mysqld(handle_one_connection+0x40)[0x6ad3e0]
typo3_mysql_1 | mysqld(pfs_spawn_thread+0x146)[0x8f9406]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7f2e3fca50a4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f2e3e75562d]
typo3_mysql_1 |
typo3_mysql_1 | Trying to get some variables.
typo3_mysql_1 | Some pointers may be invalid and cause the dump to abort.
typo3_mysql_1 | Query (0): Connection ID (thread ID): 1
typo3_mysql_1 | Status: NOT_KILLED
typo3_mysql_1 |
typo3_mysql_1 | The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
typo3_mysql_1 | information that should help you find out what is causing the crash.
MySQL 5.7.16 Log
typo3_mysql_1 | *** buffer overflow detected ***: mysqld terminated
typo3_mysql_1 | ======= Backtrace: =========
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0x731af)[0x7fbc435941af]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fbc43619aa7]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0xf6cc0)[0x7fbc43617cc0]
typo3_mysql_1 | mysqld(_Z19find_or_create_hostP10PFS_threadPKcj+0x395)[0xeaa815]
typo3_mysql_1 | mysqld(_Z22find_or_create_accountP10PFS_threadPKcjS2_j+0x3d2)[0xef4fc2]
typo3_mysql_1 | mysqld(_Z18set_thread_accountP10PFS_thread+0x36)[0xeb25c6]
typo3_mysql_1 | mysqld(pfs_set_thread_account_v1+0xa0)[0xe948b0]
typo3_mysql_1 | mysqld(_Z16acl_authenticateP3THD19enum_server_command+0xfb2)[0x7b1e22]
typo3_mysql_1 | mysqld[0xc1548d]
typo3_mysql_1 | mysqld(_Z22thd_prepare_connectionP3THD+0x53)[0xc16543]
typo3_mysql_1 | mysqld(handle_connection+0x24f)[0xd13b5f]
typo3_mysql_1 | mysqld(pfs_spawn_thread+0x1b4)[0xe941e4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7fbc44b460a4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fbc4360962d]
typo3_mysql_1 | ======= Memory map: ========
typo3_mysql_1 | 00400000-01a36000 r-xp 00000000 00:2e 65 /usr/sbin/mysqld
typo3_mysql_1 | 01c35000-01d27000 r--p 01635000 00:2e 65 /usr/sbin/mysqld
typo3_mysql_1 | 01d27000-01dd3000 rw-p 01727000 00:2e 65 /usr/sbin/mysqld
typo3_mysql_1 | 01dd3000-01e92000 rw-p 00000000 00:00 0
typo3_mysql_1 | 03706000-04277000 rw-p 00000000 00:00 0 [heap]
typo3_mysql_1 | 7fbbd0000000-7fbbd0021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbd0021000-7fbbd4000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbd8000000-7fbbd8021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbd8021000-7fbbdc000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbdc000000-7fbbdc021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbdc021000-7fbbe0000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbe0000000-7fbbe0021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbe0021000-7fbbe4000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbe4000000-7fbbe4024000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbe4024000-7fbbe8000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbea7fd000-7fbbea7fe000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbea7fe000-7fbbeaffe000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbeaffe000-7fbbeafff000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbeafff000-7fbbeb7ff000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbeb7ff000-7fbbeb800000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbeb800000-7fbbec000000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbec000000-7fbbec024000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbec024000-7fbbf0000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbf0000000-7fbbf0024000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbf0024000-7fbbf4000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbf4000000-7fbbf4021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbf4021000-7fbbf8000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbf8000000-7fbbf8021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbf8021000-7fbbfc000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbbfc000000-7fbbfc021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbbfc021000-7fbc00000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc0011b000-7fbc0012f000 r-xp 00000000 00:2e 2006 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7fbc0012f000-7fbc0032e000 ---p 00014000 00:2e 2006 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7fbc0032e000-7fbc0032f000 r--p 00013000 00:2e 2006 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7fbc0032f000-7fbc00330000 rw-p 00014000 00:2e 2006 /lib/x86_64-linux-gnu/libresolv-2.19.so
typo3_mysql_1 | 7fbc00330000-7fbc00332000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc00332000-7fbc00337000 r-xp 00000000 00:2e 120 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7fbc00337000-7fbc00536000 ---p 00005000 00:2e 120 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7fbc00536000-7fbc00537000 r--p 00004000 00:2e 120 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7fbc00537000-7fbc00538000 rw-p 00005000 00:2e 120 /lib/x86_64-linux-gnu/libnss_dns-2.19.so
typo3_mysql_1 | 7fbc00538000-7fbc007f9000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc007f9000-7fbc007fa000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc007fa000-7fbc00ffa000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc00ffa000-7fbc00ffb000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc00ffb000-7fbc017fb000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc017fb000-7fbc017fc000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc017fc000-7fbc01ffc000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc01ffc000-7fbc01ffd000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc01ffd000-7fbc027fd000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc027fd000-7fbc027fe000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc027fe000-7fbc02ffe000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc02ffe000-7fbc02fff000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc02fff000-7fbc037ff000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc037ff000-7fbc03800000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc03800000-7fbc04000000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc04000000-7fbc04021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc04021000-7fbc08000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc08000000-7fbc08021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc08021000-7fbc0c000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc0c000000-7fbc0c021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc0c021000-7fbc10000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc10000000-7fbc10021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc10021000-7fbc14000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc14000000-7fbc14021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc14021000-7fbc18000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc18000000-7fbc18021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc18021000-7fbc1c000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc1c000000-7fbc1c021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc1c021000-7fbc20000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc20000000-7fbc20021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc20021000-7fbc24000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc241f3000-7fbc245f4000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc245f4000-7fbc245f5000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc245f5000-7fbc24df5000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc24df5000-7fbc24df6000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc24df6000-7fbc255f6000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc255f6000-7fbc255f7000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc255f7000-7fbc25ffc000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc25ffc000-7fbc25ffd000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc25ffd000-7fbc267fd000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc267fd000-7fbc267fe000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc267fe000-7fbc26ffe000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc26ffe000-7fbc26fff000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc26fff000-7fbc277ff000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc277ff000-7fbc27800000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc27800000-7fbc28000000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc28000000-7fbc28021000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc28021000-7fbc2c000000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2c181000-7fbc2c1a2000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2c1a2000-7fbc2c1a3000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2c1a3000-7fbc2c9a3000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2c9a3000-7fbc2c9a4000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2c9a4000-7fbc2d1a4000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2d1a4000-7fbc2d1a5000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2d1a5000-7fbc2d9a5000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2d9a5000-7fbc2d9a6000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2d9a6000-7fbc2e1a6000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2e1a6000-7fbc2e1a7000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2e1a7000-7fbc2e9a7000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2e9a7000-7fbc2e9a8000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2e9a8000-7fbc2f1a8000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2f1a8000-7fbc2f1a9000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2f1a9000-7fbc2faa0000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2fab0000-7fbc2fabb000 r-xp 00000000 00:2e 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7fbc2fabb000-7fbc2fcba000 ---p 0000b000 00:2e 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7fbc2fcba000-7fbc2fcbb000 r--p 0000a000 00:2e 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7fbc2fcbb000-7fbc2fcbc000 rw-p 0000b000 00:2e 56 /lib/x86_64-linux-gnu/libnss_files-2.19.so
typo3_mysql_1 | 7fbc2fcbc000-7fbc2fcbd000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2fe3b000-7fbc2fe3c000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2fe3c000-7fbc2fe3d000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2fe3d000-7fbc2fe7d000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc2fe7d000-7fbc2fe7e000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc2fe7e000-7fbc3b29a000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc3b29a000-7fbc3b29b000 ---p 00000000 00:00 0
typo3_mysql_1 | 7fbc3b29b000-7fbc43521000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc43521000-7fbc436c2000 r-xp 00000000 00:2e 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7fbc436c2000-7fbc438c2000 ---p 001a1000 00:2e 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7fbc438c2000-7fbc438c6000 r--p 001a1000 00:2e 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7fbc438c6000-7fbc438c8000 rw-p 001a5000 00:2e 45 /lib/x86_64-linux-gnu/libc-2.19.so
typo3_mysql_1 | 7fbc438c8000-7fbc438cc000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc438cc000-7fbc438e2000 r-xp 00000000 00:2e 80 /lib/x86_64-linux-gnu/libgcc_s.so.1
typo3_mysql_1 | 7fbc438e2000-7fbc43ae1000 ---p 00016000 00:2e 80 /lib/x86_64-linux-gnu/libgcc_s.so.1
typo3_mysql_1 | 7fbc43ae1000-7fbc43ae2000 rw-p 00015000 00:2e 80 /lib/x86_64-linux-gnu/libgcc_s.so.1
typo3_mysql_1 | 7fbc43ae2000-7fbc43be2000 r-xp 00000000 00:2e 79 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7fbc43be2000-7fbc43de1000 ---p 00100000 00:2e 79 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7fbc43de1000-7fbc43de2000 r--p 000ff000 00:2e 79 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7fbc43de2000-7fbc43de3000 rw-p 00100000 00:2e 79 /lib/x86_64-linux-gnu/libm-2.19.so
typo3_mysql_1 | 7fbc43de3000-7fbc43ecf000 r-xp 00000000 00:2e 77 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7fbc43ecf000-7fbc440cf000 ---p 000ec000 00:2e 77 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7fbc440cf000-7fbc440d7000 r--p 000ec000 00:2e 77 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7fbc440d7000-7fbc440d9000 rw-p 000f4000 00:2e 77 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
typo3_mysql_1 | 7fbc440d9000-7fbc440ee000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc440ee000-7fbc440f5000 r-xp 00000000 00:2e 75 /lib/x86_64-linux-gnu/librt-2.19.so
typo3_mysql_1 | 7fbc440f5000-7fbc442f4000 ---p 00007000 00:2e 75 /lib/x86_64-linux-gnu/librt-2.19.so
typo3_mysql_1 | 7fbc442f4000-7fbc442f5000 r--p 00006000 00:2e 75 /lib/x86_64-linux-gnu/librt-2.19.so
typo3_mysql_1 | 7fbc442f5000-7fbc442f6000 rw-p 00007000 00:2e 75 /lib/x86_64-linux-gnu/librt-2.19.so
typo3_mysql_1 | 7fbc442f6000-7fbc442f9000 r-xp 00000000 00:2e 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7fbc442f9000-7fbc444f8000 ---p 00003000 00:2e 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7fbc444f8000-7fbc444f9000 r--p 00002000 00:2e 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7fbc444f9000-7fbc444fa000 rw-p 00003000 00:2e 43 /lib/x86_64-linux-gnu/libdl-2.19.so
typo3_mysql_1 | 7fbc444fa000-7fbc44502000 r-xp 00000000 00:2e 73 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7fbc44502000-7fbc44701000 ---p 00008000 00:2e 73 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7fbc44701000-7fbc44702000 r--p 00007000 00:2e 73 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7fbc44702000-7fbc44703000 rw-p 00008000 00:2e 73 /lib/x86_64-linux-gnu/libcrypt-2.19.so
typo3_mysql_1 | 7fbc44703000-7fbc44731000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc44731000-7fbc4473b000 r-xp 00000000 00:2e 71 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7fbc4473b000-7fbc4493a000 ---p 0000a000 00:2e 71 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7fbc4493a000-7fbc4493b000 r--p 00009000 00:2e 71 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7fbc4493b000-7fbc4493c000 rw-p 0000a000 00:2e 71 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
typo3_mysql_1 | 7fbc4493c000-7fbc4493d000 r-xp 00000000 00:2e 67 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7fbc4493d000-7fbc44b3c000 ---p 00001000 00:2e 67 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7fbc44b3c000-7fbc44b3d000 r--p 00000000 00:2e 67 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7fbc44b3d000-7fbc44b3e000 rw-p 00001000 00:2e 67 /lib/x86_64-linux-gnu/libaio.so.1.0.1
typo3_mysql_1 | 7fbc44b3e000-7fbc44b56000 r-xp 00000000 00:2e 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7fbc44b56000-7fbc44d55000 ---p 00018000 00:2e 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7fbc44d55000-7fbc44d56000 r--p 00017000 00:2e 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7fbc44d56000-7fbc44d57000 rw-p 00018000 00:2e 64 /lib/x86_64-linux-gnu/libpthread-2.19.so
typo3_mysql_1 | 7fbc44d57000-7fbc44d5b000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc44d5b000-7fbc44d7b000 r-xp 00000000 00:2e 36 /lib/x86_64-linux-gnu/ld-2.19.so
typo3_mysql_1 | 7fbc44d7b000-7fbc44f78000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc44f78000-7fbc44f7b000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7fbc44f7b000-7fbc44f7c000 r--p 00020000 00:2e 36 /lib/x86_64-linux-gnu/ld-2.19.so
typo3_mysql_1 | 7fbc44f7c000-7fbc44f7d000 rw-p 00021000 00:2e 36 /lib/x86_64-linux-gnu/ld-2.19.so
typo3_mysql_1 | 7fbc44f7d000-7fbc44f7e000 rw-p 00000000 00:00 0
typo3_mysql_1 | 7ffd1cbb2000-7ffd1cbd3000 rw-p 00000000 00:00 0 [stack]
typo3_mysql_1 | 7ffd1cbf7000-7ffd1cbf9000 r--p 00000000 00:00 0 [vvar]
typo3_mysql_1 | 7ffd1cbf9000-7ffd1cbfb000 r-xp 00000000 00:00 0 [vdso]
typo3_mysql_1 | ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
typo3_mysql_1 | 08:43:36 UTC - mysqld got signal 6 ;
typo3_mysql_1 | This could be because you hit a bug. It is also possible that this binary
typo3_mysql_1 | or one of the libraries it was linked against is corrupt, improperly built,
typo3_mysql_1 | or misconfigured. This error can also be caused by malfunctioning hardware.
typo3_mysql_1 | Attempting to collect some information that could help diagnose the problem.
typo3_mysql_1 | As this is a crash and something is definitely wrong, the information
typo3_mysql_1 | collection process might fail.
typo3_mysql_1 |
typo3_mysql_1 | key_buffer_size=8388608
typo3_mysql_1 | read_buffer_size=131072
typo3_mysql_1 | max_used_connections=1
typo3_mysql_1 | max_threads=151
typo3_mysql_1 | thread_count=1
typo3_mysql_1 | connection_count=1
typo3_mysql_1 | It is possible that mysqld could use up to
typo3_mysql_1 | key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68190 K bytes of memory
typo3_mysql_1 | Hope that's ok; if not, decrease some variables in the equation.
typo3_mysql_1 |
typo3_mysql_1 | Thread pointer: 0x7fbbd0000ae0
typo3_mysql_1 | Attempting backtrace. You can use the following information to find out
typo3_mysql_1 | where mysqld died. If you see no messages after this, something went
typo3_mysql_1 | terribly wrong...
typo3_mysql_1 | stack_bottom = 7fbc2fe7be80 thread_stack 0x40000
typo3_mysql_1 | mysqld(my_print_stacktrace+0x2c)[0xe7c79c]
typo3_mysql_1 | mysqld(handle_fatal_signal+0x459)[0x7a8909]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x7fbc44b4d8d0]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7fbc43556067]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fbc43557448]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0x731b4)[0x7fbc435941b4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fbc43619aa7]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0xf6cc0)[0x7fbc43617cc0]
typo3_mysql_1 | mysqld(_Z19find_or_create_hostP10PFS_threadPKcj+0x395)[0xeaa815]
typo3_mysql_1 | mysqld(_Z22find_or_create_accountP10PFS_threadPKcjS2_j+0x3d2)[0xef4fc2]
typo3_mysql_1 | mysqld(_Z18set_thread_accountP10PFS_thread+0x36)[0xeb25c6]
typo3_mysql_1 | mysqld(pfs_set_thread_account_v1+0xa0)[0xe948b0]
typo3_mysql_1 | mysqld(_Z16acl_authenticateP3THD19enum_server_command+0xfb2)[0x7b1e22]
typo3_mysql_1 | mysqld[0xc1548d]
typo3_mysql_1 | mysqld(_Z22thd_prepare_connectionP3THD+0x53)[0xc16543]
typo3_mysql_1 | mysqld(handle_connection+0x24f)[0xd13b5f]
typo3_mysql_1 | mysqld(pfs_spawn_thread+0x1b4)[0xe941e4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7fbc44b460a4]
typo3_mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fbc4360962d]
typo3_mysql_1 |
typo3_mysql_1 | Trying to get some variables.
typo3_mysql_1 | Some pointers may be invalid and cause the dump to abort.
typo3_mysql_1 | Query (0): Connection ID (thread ID): 2
typo3_mysql_1 | Status: NOT_KILLED
typo3_mysql_1 |
typo3_mysql_1 | The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
typo3_mysql_1 | information that should help you find out what is causing the crash.
I can't seem to reproduce this -- can you provide more details on how to replicate the issue?
$ docker pull mysql:5.7
5.7: Pulling from library/mysql
Digest: sha256:89cc6ff6a7ac9916c3384e864fb04b8ee9415b572f872a2a4cf5b909dbbca81b
Status: Image is up to date for mysql:5.7
$ docker run -it --rm --name my -e MYSQL_ROOT_PASSWORD=test mysql:5.7 --innodb-use-native-aio=0
Initializing database
2016-12-10T17:07:11.445048Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-12-10T17:07:13.672675Z 0 [Warning] InnoDB: New log files created, LSN=45790
2016-12-10T17:07:13.956493Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-12-10T17:07:14.009028Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 18986ced-befb-11e6-bac2-0242ac120009.
2016-12-10T17:07:14.021481Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-12-10T17:07:14.022375Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2016-12-10T17:07:18.739304Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:18.739359Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:18.739386Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:18.739406Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:18.739475Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
Database initialized
MySQL init process in progress...
2016-12-10T17:07:22.202482Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-12-10T17:07:22.204430Z 0 [Note] mysqld (mysqld 5.7.16) starting as process 58 ...
2016-12-10T17:07:22.208762Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-12-10T17:07:22.208788Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-12-10T17:07:22.208798Z 0 [Note] InnoDB: Uses event mutexes
2016-12-10T17:07:22.208807Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-12-10T17:07:22.208817Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-12-10T17:07:22.209174Z 0 [Note] InnoDB: Number of pools: 1
2016-12-10T17:07:22.209314Z 0 [Note] InnoDB: Using CPU crc32 instructions
2016-12-10T17:07:22.210963Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2016-12-10T17:07:22.223070Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-12-10T17:07:22.225765Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2016-12-10T17:07:22.239624Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-12-10T17:07:22.279244Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2016-12-10T17:07:22.279341Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2016-12-10T17:07:22.589283Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2016-12-10T17:07:22.591777Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2016-12-10T17:07:22.591802Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2016-12-10T17:07:22.592662Z 0 [Note] InnoDB: Waiting for purge to start
2016-12-10T17:07:22.642906Z 0 [Note] InnoDB: 5.7.16 started; log sequence number 2532231
2016-12-10T17:07:22.643238Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2016-12-10T17:07:22.643616Z 0 [Note] Plugin 'FEDERATED' is disabled.
2016-12-10T17:07:22.648652Z 0 [Note] InnoDB: Buffer pool(s) load completed at 161210 17:07:22
2016-12-10T17:07:22.651932Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2016-12-10T17:07:22.684636Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:22.684682Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:22.684708Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:22.684722Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:22.686384Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:22.693650Z 0 [Note] Event Scheduler: Loaded 0 events
2016-12-10T17:07:22.693880Z 0 [Note] mysqld: ready for connections.
Version: '5.7.16' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server (GPL)
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
2016-12-10T17:07:28.640948Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:28.640983Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:28.641041Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:28.643758Z 0 [Note] Giving 0 client threads a chance to die gracefully
2016-12-10T17:07:28.643790Z 0 [Note] Shutting down slave threads
2016-12-10T17:07:28.643808Z 0 [Note] Forcefully disconnecting 0 remaining clients
2016-12-10T17:07:28.643824Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2016-12-10T17:07:28.643971Z 0 [Note] Binlog end
2016-12-10T17:07:28.644688Z 0 [Note] Shutting down plugin 'ngram'
2016-12-10T17:07:28.644703Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2016-12-10T17:07:28.644712Z 0 [Note] Shutting down plugin 'partition'
2016-12-10T17:07:28.644722Z 0 [Note] Shutting down plugin 'ARCHIVE'
2016-12-10T17:07:28.644729Z 0 [Note] Shutting down plugin 'MEMORY'
2016-12-10T17:07:28.644739Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2016-12-10T17:07:28.644749Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-12-10T17:07:28.644757Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-12-10T17:07:28.644766Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-12-10T17:07:28.644776Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-12-10T17:07:28.644783Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2016-12-10T17:07:28.644792Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-12-10T17:07:28.644799Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2016-12-10T17:07:28.644808Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-12-10T17:07:28.644814Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2016-12-10T17:07:28.644823Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-12-10T17:07:28.644832Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-12-10T17:07:28.644837Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2016-12-10T17:07:28.644843Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-12-10T17:07:28.644853Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2016-12-10T17:07:28.644861Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-12-10T17:07:28.644870Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2016-12-10T17:07:28.644879Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2016-12-10T17:07:28.644885Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-12-10T17:07:28.644894Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-12-10T17:07:28.644902Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-12-10T17:07:28.644906Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-12-10T17:07:28.644910Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-12-10T17:07:28.644918Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-12-10T17:07:28.644927Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2016-12-10T17:07:28.644933Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2016-12-10T17:07:28.644939Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2016-12-10T17:07:28.644947Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2016-12-10T17:07:28.644954Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-12-10T17:07:28.644962Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2016-12-10T17:07:28.644969Z 0 [Note] Shutting down plugin 'InnoDB'
2016-12-10T17:07:28.645039Z 0 [Note] InnoDB: FTS optimize thread exiting.
2016-12-10T17:07:28.645128Z 0 [Note] InnoDB: Starting shutdown...
2016-12-10T17:07:28.745329Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2016-12-10T17:07:28.745774Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 161210 17:07:28
2016-12-10T17:07:30.030201Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12105437
2016-12-10T17:07:30.033928Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2016-12-10T17:07:30.033960Z 0 [Note] Shutting down plugin 'MyISAM'
2016-12-10T17:07:30.033979Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2016-12-10T17:07:30.033990Z 0 [Note] Shutting down plugin 'CSV'
2016-12-10T17:07:30.033999Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-12-10T17:07:30.034039Z 0 [Note] Shutting down plugin 'sha256_password'
2016-12-10T17:07:30.034047Z 0 [Note] Shutting down plugin 'mysql_native_password'
2016-12-10T17:07:30.034210Z 0 [Note] Shutting down plugin 'binlog'
2016-12-10T17:07:30.036399Z 0 [Note] mysqld: Shutdown complete
MySQL init process done. Ready for start up.
2016-12-10T17:07:30.268544Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-12-10T17:07:30.270505Z 0 [Note] mysqld (mysqld 5.7.16) starting as process 1 ...
2016-12-10T17:07:30.274864Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-12-10T17:07:30.274893Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-12-10T17:07:30.274906Z 0 [Note] InnoDB: Uses event mutexes
2016-12-10T17:07:30.274916Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-12-10T17:07:30.274926Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-12-10T17:07:30.275325Z 0 [Note] InnoDB: Number of pools: 1
2016-12-10T17:07:30.275474Z 0 [Note] InnoDB: Using CPU crc32 instructions
2016-12-10T17:07:30.277335Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2016-12-10T17:07:30.291538Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-12-10T17:07:30.294500Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2016-12-10T17:07:30.307150Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-12-10T17:07:30.341306Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2016-12-10T17:07:30.341384Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2016-12-10T17:07:30.757673Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2016-12-10T17:07:30.760084Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2016-12-10T17:07:30.760120Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2016-12-10T17:07:30.760894Z 0 [Note] InnoDB: Waiting for purge to start
2016-12-10T17:07:30.811303Z 0 [Note] InnoDB: 5.7.16 started; log sequence number 12105437
2016-12-10T17:07:30.811996Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2016-12-10T17:07:30.812046Z 0 [Note] Plugin 'FEDERATED' is disabled.
2016-12-10T17:07:30.818605Z 0 [Note] InnoDB: Buffer pool(s) load completed at 161210 17:07:30
2016-12-10T17:07:30.819308Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2016-12-10T17:07:30.819973Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2016-12-10T17:07:30.820012Z 0 [Note] IPv6 is available.
2016-12-10T17:07:30.820024Z 0 [Note] - '::' resolves to '::';
2016-12-10T17:07:30.820056Z 0 [Note] Server socket created on IP: '::'.
2016-12-10T17:07:30.843102Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:30.843144Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:30.846050Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
2016-12-10T17:07:30.853433Z 0 [Note] Event Scheduler: Loaded 0 events
2016-12-10T17:07:30.853697Z 0 [Note] mysqld: ready for connections.
Version: '5.7.16' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
$ docker run -it --rm --link my mysql:5.7 mysql -hmy -uroot -ptest
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.16 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> SELECT 1;
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)
mysql> SHOW VARIABLES LIKE '%aio%';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_use_native_aio | OFF |
+-----------------------+-------+
1 row in set (0.01 sec)
We've run into this in some some dev environments, but the above test works fine.
I'll try and come up with a basic reproduction.
Following up, I tested mysql versions 5.7.16 and 5.7.17 (latest) with:
I couldn't reproduce the error with any of the above, using both a basic docker-compose environment with WordPress + mysql, and an existing project where the issue had occurred.
Here are some details from one of our team members who ran into this issue about a week ago (12/01/17):
With docker 1.13.0-rc5, mysql:latest:
mysql_1 | *** buffer overflow detected ***: mysqld terminated
mysql_1 | ======= Backtrace: =========
mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0x731af)[0x7f3b6fdcc1af]
mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f3b6fe51aa7]
mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(+0xf6cc0)[0x7f3b6fe4fcc0]
mysql_1 | mysqld(_Z19find_or_create_hostP10PFS_threadPKcj+0x395)[0xeadfe5]
mysql_1 | mysqld(_Z22find_or_create_accountP10PFS_threadPKcjS2_j+0x3d2)[0xef8792]
mysql_1 | mysqld(_Z18set_thread_accountP10PFS_thread+0x36)[0xeb5d96]
mysql_1 | mysqld(pfs_set_thread_account_v1+0xa0)[0xe97ef0]
mysql_1 | mysqld(_Z16acl_authenticateP3THD19enum_server_command+0xfb2)[0x7b3ac2]
mysql_1 | mysqld[0xc1755d]
mysql_1 | mysqld(_Z22thd_prepare_connectionP3THD+0x53)[0xc18613]
mysql_1 | mysqld(handle_connection+0x24f)[0xd15f7f]
mysql_1 | mysqld(pfs_spawn_thread+0x1b4)[0xe97824]
mysql_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7f3b7137e0a4]
mysql_1 | /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f3b6fe4162d]
After getting the above they tried mysql:5.6 with the same issue. They also tried downgrading to docker 1.11.2 and 1.12.0, both of which didn't work. Using mysql:5.5 worked fine.
I asked them to try again today with mysql:latest and it is working fine.
Thanks for the info. It's difficult to do anything about it if we can't reproduce. Any differences in config, system resources etc. between the systems that could and couldn't reproduce the issue?
I've been able to reproduce this.
A buffer overflow occurs when:
mysql:5.7.16 or mysql:5.7.17/etc/mysql/conf.dIf one of the above isn't true (e.g. you don't map the volume, or you do but your project has a short name) then the buffer overflow doesn't occur.
I've created a repo with an example compose environment and reproduction instructions: https://github.com/OscarBarrett/mysql-docker-buffer-overflow-example
Note that I haven't tested 5.6 as per the OP, but it could probably be reproduced in the same way.
The above example doesn't trigger for short project names, and I'm not sure of the exact cutoff as compose adds additional characters when generating the final container name.
hostname returns the short container ID, but maybe the container name is causing issues in some other way. (Possibly related? https://bugs.mysql.com/bug.php?id=82596)
The content that is lost from mapping an empty folder to /etc/mysql/conf.d is:
docker.cnf:
[mysqld]
skip-host-cache
skip-name-resolve
mysql.cnf:
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# ...
[mysql]
Looking at @pschirch's post, I don't know whether he was mapping an empty folder to /etc/mysql/conf.d, or if he is using docker-compose with a long project name. However the trace generated seems to be the same.
Thanks! I'll test your github setup
As you say, this looks a lot like upstream bug 82596 (which also requires disabling the same options you disable when you remap conf.d/)
I think I have the wrong version of compose, as it complains about the .yml file.
I can reproduce 82596 easily enough, though, just using a standard 5.7.17 server image.
Something you can test: When logging in with a project name that is short enough it doesn't crash, can you run the "status" command? Particularly check what it says for "current user:"
Got it working with a newer compose
Changed index.php to give the wrong password, and for the 5.7.17 with the skip-cache settings disabled:
芦Access denied for user 'mysql'@'somelongnamethatwillbreakmysql_web_run_2.somelongnamethatwillbre禄
Without the volume it's just [email protected]
So yeah, this is the same bug. Could you add a comment to the bug (to show it's affecting multiple people), please?
For the Docker image I don't think is a bug, since there's not much to do aside from what we already do with the skip-settings
Sorry I should have mentioned - the example works with compose 1.7 and upwards.
I've added a comment over on the MySQL bug tracker.
IMO the options added to docker.cnf seem to be pretty sane. Instead of encouraging users to override /etc/mysql/conf.d in the docs (which is included first by my.cnf), it might be worthwhile to instead encourage them to use /etc/mysql/mysql.conf.d/ (which is included last), or structure the configuration in some other way so that the options can still be overriden by a custom config but not so easily wiped out.
A problem with some of these options is that they don't take values, so you can't override them with a second .cnf file saying skip-name-resolve=0 or similar (I think skip-name-resolve is mentioned as an example in another issue in docker-library/mysql).
So for now the only way to override these default settings is by replacing docker.cnf
@ltangvald If you need a workaround, you can use performance-schema = 0, it allows to avoid crash 82596 as well.
We were affected by this issue as well, but it seems to have gone. Can you guys confirm?
Also: I tried mitigating the issue by mounting our custom config on /etc/mysql/mysql.conf.d/, as @OscarBarrett suggested. That seemed to work. However, as I found out today, it made the bug disappear because that directory wasn't loaded at all. So not quite what I was aiming for :). Are you sure that is the correct path?
mysql.conf.d isn't loaded for 5.6, but is for 5.7
For 5.6, the default server config is in /etc/mysql/my.cnf, and it loads files in /etc/mysql/conf.d after that
For 5.7 the /etc/mysql/my.cnf only loads /etc/mysql/conf.d and /etc/mysql/mysql.conf.d/ in that order. It isn't explained very well, and if an option is present in multiple files the one parsed last takes priority, which can lead to confusion when custom configs don't take effect. The 5.7 behavior isn't ideal, but was done to make the packages be more compatible with native mysql variants, so we could consider changing it back to the 5.6 structure for the docker image.
Thanks for the explanation. We're on 5.6, so that explains why mysql.conf.d didn't work. The issue is still there, I forgot about the prerequisite for a long project name. So on our Jenkins machines it still crashes :).
In our case, we never mapped an empty directory on /etc/mysql/conf.d. There was a file there that contained:
[mysqld]
sql_mode = 'NO_ENGINE_SUBSTITUTION'
So, docker.cnf from the source image wasn't used. As it turns out, missing skip-host-cache is the culprit. If I add that one to the config file that is mapped on conf.d, everything works.
Given that this appears to be either solved or an appropriate workaround discovered (and an upstream issue exists), I'm going to close. :+1:
Most helpful comment
I've been able to reproduce this.
A buffer overflow occurs when:
mysql:5.7.16ormysql:5.7.17/etc/mysql/conf.dIf one of the above isn't true (e.g. you don't map the volume, or you do but your project has a short name) then the buffer overflow doesn't occur.
I've created a repo with an example compose environment and reproduction instructions: https://github.com/OscarBarrett/mysql-docker-buffer-overflow-example
Note that I haven't tested 5.6 as per the OP, but it could probably be reproduced in the same way.
The above example doesn't trigger for short project names, and I'm not sure of the exact cutoff as compose adds additional characters when generating the final container name.
hostnamereturns the short container ID, but maybe the container name is causing issues in some other way. (Possibly related? https://bugs.mysql.com/bug.php?id=82596)The content that is lost from mapping an empty folder to
/etc/mysql/conf.dis:docker.cnf:
mysql.cnf:
Looking at @pschirch's post, I don't know whether he was mapping an empty folder to
/etc/mysql/conf.d, or if he is using docker-compose with a long project name. However the trace generated seems to be the same.