150925 15:06:58 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2015-09-25 15:06:58 7ff5b3891760 InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2015-09-25 15:06:58 7ff5b3891760 InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
150925 15:06:58 [Note] InnoDB: The InnoDB memory heap is disabled
150925 15:06:58 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
150925 15:06:58 [Note] InnoDB: Memory barrier is not used
150925 15:06:58 [Note] InnoDB: Compressed tables use zlib 1.2.3
150925 15:06:58 [Note] InnoDB: Using Linux native AIO
150925 15:06:58 [Note] InnoDB: Using CPU crc32 instructions
150925 15:06:58 [Note] InnoDB: Initializing buffer pool, size = 128.0M
150925 15:06:58 [Note] InnoDB: Completed initialization of buffer pool
150925 15:06:58 [Note] InnoDB: Highest supported file format is Barracuda.
150925 15:06:58 [Note] InnoDB: The log sequence numbers 1819858502771 and 1819858502771 in ibdata files do not match the log sequence number 1819859266306 in the ib_logfiles!
150925 15:06:58 [Note] InnoDB: Database was not shutdown normally!
150925 15:06:58 [Note] InnoDB: Starting crash recovery.
150925 15:06:58 [Note] InnoDB: Reading tablespace information from the .ibd files...
150925 15:06:58 [Note] InnoDB: Restoring possible half-written data pages
150925 15:06:58 [Note] InnoDB: from the doublewrite buffer...
150925 15:06:59 [Note] InnoDB: 128 rollback segment(s) are active.
150925 15:06:59 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.25-73.1 started; log sequence number 1819859266306
150925 15:06:59 [Note] CONNECT: Version 1.03.0007 July 05, 2015
150925 15:06:59 [Note] Plugin 'FEEDBACK' is disabled.
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_connect.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Couldn't load plugins from 'ha_connect.so'.
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/libpinba_engine.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Can't open shared library '/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_tokudb.so' (errno: 0, cannot open shared object file: No such file or directory)
150925 15:06:59 [ERROR] Plugin 'CONNECT' already installed
150925 15:06:59 [Note] Recovering after a crash using tc.log
150925 15:06:59 [Note] Starting crash recovery...
150925 15:06:59 [Note] Crash recovery finished.
150925 15:06:59 [Note] Server socket created on IP: '10.0.0.51'.
150925 15:06:59 [Note] Event Scheduler: Loaded 0 events
150925 15:06:59 [Note] /opt/mariadb-10.0.21/mariadb-10.0.21/sql/mysqld: ready for connections.
Version: '10.0.21-MariaDB-debug-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
mysqld: /opt/mariadb-10.0.21/mariadb-10.0.21/sql/handler.cc:2473: THD* handler::ha_thd() const: Assertion `!table || !table->in_use || table->in_use == _current_thd()' failed.
150925 15:07:07 [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 http://kb.askmonty.org/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.0.21-MariaDB-debug-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=2
max_threads=153
thread_count=2
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467068 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x7ff597c8f070
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 = 0x7ff5b3845df8 thread_stack 0x48000
mysys/stacktrace.c:246(my_print_stacktrace)[0xf81195]
sql/signal_handler.cc:155(handle_fatal_signal)[0x85c0d9]
/lib64/libpthread.so.0(+0xf790)[0x7ff5b347d790]
/lib64/libc.so.6(gsignal+0x35)[0x7ff5b1da2625]
/lib64/libc.so.6(abort+0x175)[0x7ff5b1da3e05]
/lib64/libc.so.6(+0x2b74e)[0x7ff5b1d9b74e]
/lib64/libc.so.6(__assert_perror_fail+0x0)[0x7ff5b1d9b810]
sql/handler.cc:2474(handler::ha_thd() const)[0x861bcc]
handler/ha_innodb.cc:13024(ha_innobase::extra(ha_extra_function))[0xa1b01b]
/opt/mariadb-10.0.21/mariadb-10.0.21/sql/lib/plugin/ha_oqgraph.so(_ZN10ha_oqgraph5extraE17ha_extra_function+0x3b)[0x7ff5b193675d]
sql/table_cache.cc:342(tc_acquire_table)[0x7ead7c]
sql/table_cache.cc:765(tdc_acquire_share(THD*, char const*, char const*, char const*, unsigned int, unsigned int, unsigned int, TABLE**))[0x7ebc6b]
sql/sql_base.cc:2371(open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*))[0x603792]
sql/sql_base.cc:4032(open_and_process_table)[0x606441]
sql/sql_base.cc:4566(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*))[0x607552]
sql/sql_base.cc:5209(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*))[0x608640]
sql/sql_base.h:490(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int))[0x5fc65e]
sql/sql_parse.cc:5219(execute_sqlcom_select)[0x66d748]
sql/sql_parse.cc:2562(mysql_execute_command(THD*))[0x6659b1]
sql/sql_parse.cc:6531(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x6705d6]
sql/sql_parse.cc:1310(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x662b43]
sql/sql_parse.cc:999(do_command(THD*))[0x661dc9]
sql/sql_connect.cc:1378(do_handle_one_connection(THD*))[0x784376]
sql/sql_connect.cc:1294(handle_one_connection)[0x7840d5]
/lib64/libpthread.so.0(+0x7a51)[0x7ff5b3475a51]
/lib64/libc.so.6(clone+0x6d)[0x7ff5b1e5893d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7ff584823088): SELECT COUNT(*) FROM version_history
Connection ID (thread ID): 5
Status: NOT_KILLED

Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on

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.
