MySQL Forums
Forum List  »  InnoDB

MySql Crash
Posted by: VINEET KAPOOR
Date: September 17, 2016 03:12AM

HI All,

I am running load test on mysql (with innodb and memcached) and got following error/crash

Version: '5.6.32-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
mysqld: /export/home/pb2/build/sb_0-19672887-1468244967.53/release-ET46834/mysql-5.6.32/plugin/innodb_memcached/innodb_memcache/src/innodb_engine.c:1462: innodb_switch_mapping: Assertion `*name_len < 250' failed.
08:39:40 UTC - 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.
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.

key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=0
max_threads=151
thread_count=2
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 76300 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
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 = 0 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x8c187e]
/usr/sbin/mysqld(handle_fatal_signal+0x474)[0x6711b4]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7ff370ae0cb0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7ff36ff37035]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7ff36ff3a79b]
/lib/x86_64-linux-gnu/libc.so.6(+0x2ee1e)[0x7ff36ff2fe1e]
/lib/x86_64-linux-gnu/libc.so.6(+0x2eec2)[0x7ff36ff2fec2]
/usr/lib/mysql/plugin//innodb_engine.so(+0x9aa3)[0x7ff23f265aa3]
/usr/lib/mysql/plugin//innodb_engine.so(+0xa5da)[0x7ff23f2665da]
/usr/lib/mysql/plugin/libmemcached.so(+0xd31b)[0x7ff3550aa31b]
/usr/lib/mysql/plugin/libmemcached.so(+0xec5a)[0x7ff3550abc5a]
/usr/lib/mysql/plugin/libmemcached.so(+0x12912)[0x7ff3550af912]
/usr/lib/mysql/plugin/libmemcached.so(conn_parse_cmd+0x11)[0x7ff3550b0461]
/usr/lib/mysql/plugin/libmemcached.so(+0x91dc)[0x7ff3550a61dc]
/usr/lib/mysql/plugin/libmemcached.so(event_base_loop+0x645)[0x7ff3550b99f5]
/usr/lib/mysql/plugin/libmemcached.so(+0x18df2)[0x7ff3550b5df2]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7ff370ad8e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ff36fff436d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
160917 08:39:41 mysqld_safe Number of processes running now: 0
160917 08:39:41 mysqld_safe mysqld restarted



Though the server restarted on its own, i still want to know the reason behind crash. At first, i was thinking the length of memcached table key's length may be a cause but i can not recreate crash when running queries with long key (> 250) . It only happen while running load test and mysql res memory > 4.7g.

Any help would be appriciated. If you need more logs/mysql conf please let me know here.

Thanks
vinny

Options: ReplyQuote


Subject
Views
Written By
Posted
MySql Crash
1730
September 17, 2016 03:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.