Not the answer you need?
Register and ask your own question!

MySQL 5.6 crashing with stack_bottom = 0 thread_stack 0x30000

Jens@netono.se[email protected] EntrantInactive User Role Beginner
HI,
I'm having serous trouble with one MySQL server. I was getting permission errors in the log that the plugin and user table was not readable. I tried starting the server with innodb_force_recovery = 1 and --skip-grant-tables, then I could access the tables but the user table was still read only.

But when i now starts the server it just crashes with the errors below:

[email protected]:~# /usr/sbin/mysqld --skip-grant-tables --basedir=/ --datadir=/data/mysql/data --user=mysql --pid-file=/var/lib/mysql/db11a.pid --skip-external-locking --port=3306 --socket=/var/lib/mysql/mysql.sock
2017-04-16 04:33:09 0 [Note] /usr/sbin/mysqld (mysqld 5.6.30-log) starting as process 15357 ...
2017-04-16 04:33:09 15357 [Note] Plugin 'FEDERATED' is disabled.
2017-04-16 04:33:09 15357 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-04-16 04:33:09 15357 [Note] InnoDB: The InnoDB memory heap is disabled
2017-04-16 04:33:09 15357 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-04-16 04:33:09 15357 [Note] InnoDB: Memory barrier is not used
2017-04-16 04:33:09 15357 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-04-16 04:33:09 15357 [Note] InnoDB: Using Linux native AIO
2017-04-16 04:33:09 15357 [Note] InnoDB: Using CPU crc32 instructions
2017-04-16 04:33:09 15357 [Note] InnoDB: Initializing buffer pool, size = 64.0G
2017-04-16 04:33:11 15357 [Note] InnoDB: Completed initialization of buffer pool
2017-04-16 04:33:11 15357 [Note] InnoDB: Highest supported file format is Barracuda.
2017-04-16 04:33:12 15357 [Note] InnoDB: 128 rollback segment(s) are active.
2017-04-16 04:33:12 15357 [Note] InnoDB: Waiting for purge to start
02:33:12 UTC - 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.
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=33554432
read_buffer_size=2097152
max_used_connections=0
max_threads=6000
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 61549549 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 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x3b)[0x8d192b]
/usr/sbin/mysqld(handle_fatal_signal+0x4a1)[0x65ce81]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fbf93ade390]
/usr/sbin/mysqld(my_realpath+0x8b)[0x8cebdb]
/usr/sbin/mysqld(_Z19find_or_create_fileP10PFS_threadP14PFS_file_classPKcjb+0x9c)[0x93711c]
/usr/sbin/mysqld[0x95d134]
/usr/sbin/mysqld[0xacf54f]
/usr/sbin/mysqld[0xad02c3]
/usr/sbin/mysqld[0xad5268]
/usr/sbin/mysqld[0xad9ebe]
/usr/sbin/mysqld[0xaa2bf3]
/usr/sbin/mysqld[0xa88a22]
/usr/sbin/mysqld[0xa6f212]
/usr/sbin/mysqld[0xa15cb3]
/usr/sbin/mysqld[0xa1280f]
/usr/sbin/mysqld[0xa14386]
/usr/sbin/mysqld[0x9e2ad8]
/usr/sbin/mysqld[0xa3a072]
/usr/sbin/mysqld[0xa2ca0b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fbf93ad46ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fbf92f6982d]
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.

I would realy appriciate any help here.

Regards
Jens

Comments

  • jriverajrivera Percona Support Engineer Percona Staff Role
    Can you share the logs from the time when mysql.user table was flagged as not writable the first time?
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.