161026  0:15:30 [ERROR] 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.

To report this bug, see https://mariadb.com/kb/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.1.14-MariaDB-1~trusty
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=16
max_threads=602
thread_count=6
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4865990 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x7f8343c17008
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 = 0x7f841b060df0 thread_stack 0x30000
/home/buildbot/buildbot/build/mariadb-10.1.14/storage/tokudb/PerconaFT/util/threadpool.cc:112 toku_thread_destroy: Assertion `r == 0 && ret == thread' failed (errno=2)
: No such file or directory
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55ab5fed4b5e]
Backtrace: (Note: toku_do_assert=0x0x7f841b11ecb0)
/usr/sbin/mysqld(handle_fatal_signal+0x38d)[0x55ab5fa00abd]
/usr/lib/mysql/plugin/ha_tokudb.so(_Z19db_env_do_backtraceP8_IO_FILE+0x1b)[0x7f841b18065b]
/usr/lib/mysql/plugin/ha_tokudb.so(+0x11e7e3)[0x7f841b1807e3]
/usr/lib/mysql/plugin/ha_tokudb.so(+0xbc8d7)[0x7f841b11e8d7]
/usr/lib/mysql/plugin/ha_tokudb.so(_Z24toku_thread_pool_destroyPP16toku_thread_pool+0x1bb)[0x7f841b161d7b]
/usr/lib/mysql/plugin/ha_tokudb.so(_Z31toku_ft_serialize_layer_destroyv+0x10)[0x7f841b1650b0]
/usr/lib/mysql/plugin/ha_tokudb.so(_Z21toku_ft_layer_destroyv+0x20)[0x7f841b1650e0]
/usr/lib/mysql/plugin/ha_tokudb.so(+0x40199)[0x7f841b0a2199]
/lib64/ld-linux-x86-64.so.2(+0x1070a)[0x7f8420b3b70a]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c1a9)[0x7f841ecaf1a9]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c1f5)[0x7f841ecaf1f5]
/usr/sbin/mysqld(+0xa9893c)[0x55ab5fee893c]
/usr/sbin/mysqld(my_print_stacktrace+0x4c)[0x55ab5fed4b7c]
/usr/sbin/mysqld(handle_fatal_signal+0x38d)[0x55ab5fa00abd]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f841f856330]
/usr/sbin/mysqld(+0xa5df0b)[0x55ab5feadf0b]
/usr/sbin/mysqld(_ZN11TABLE_SHARE7destroyEv+0x24)[0x55ab5f922664]
/usr/sbin/mysqld(+0x562d94)[0x55ab5f9b2d94]
/usr/sbin/mysqld(_Z17tdc_release_shareP11TABLE_SHARE+0x269)[0x55ab5f9b3a09]
/usr/sbin/mysqld(_Z8closefrmP5TABLEb+0x155)[0x55ab5f923135]
/usr/sbin/mysqld(_Z18intern_close_tableP5TABLE+0x36)[0x55ab5f838b66]
/usr/sbin/mysqld(_Z16tc_release_tableP5TABLE+0x190)[0x55ab5f9b3180]
/usr/sbin/mysqld(_Z18close_thread_tableP3THDPP5TABLE+0xf3)[0x55ab5f838ef3]
/usr/sbin/mysqld(_Z25close_all_tables_for_nameP3THDP11TABLE_SHARE17ha_extra_functionP5TABLE+0x117)[0x55ab5f83a2c7]
/usr/sbin/mysqld(+0x378873)[0x55ab5f7c8873]
/usr/sbin/mysqld(_Z26fast_alter_partition_tableP3THDP5TABLEP10Alter_infoP14HA_CREATE_INFOP10TABLE_LISTPcPKc+0x7f0)[0x55ab5fb3a590]
/usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P14HA_CREATE_INFOP10TABLE_LISTP10Alter_infojP8st_orderb+0x1352)[0x55ab5f90ae12]
/usr/sbin/mysqld(_ZN19Sql_cmd_alter_table7executeEP3THD+0x61a)[0x55ab5f951f7a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f841f856330]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1206)[0x55ab5f87fa66]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x26d)[0x55ab5f88808d]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x2460)[0x55ab5f88b3d0]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x169)[0x55ab5f88bb89]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x18a)[0x55ab5f94f24a]
/usr/sbin/mysqld(handle_one_connection+0x40)[0x55ab5f94f420]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f841f84e184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f841ed6d37d]
Engine status:
BUILD_ID = 0
Env panic code: 2
Env panic string: /home/buildbot/buildbot/build/mariadb-10.1.14/storage/tokudb/PerconaFT/util/threadpool.cc:112 toku_thread_destroy: Assertion `r == 0 && ret == thread' failed (errno=2)

time of environment creation: Fri Jul  1 11:42:09 2016
time of engine startup: Sat Jul  9 11:07:16 2016
time now: Wed Oct 26 00:15:31 2016
db opens: 1186066
db closes: 1185690
num open dbs now: 376
max open dbs: 5730
period, in ms, that recovery log is automatically fsynced: 0
dictionary inserts: 5545843835
dictionary inserts fail: 0
dictionary deletes: 380412
dictionary deletes fail: 0
dictionary updates: 0
dictionary updates fail: 0
dictionary broadcast updates: 0
dictionary broadcast updates fail: 0
dictionary multi inserts: 34832486345
dictionary multi inserts fail: 0
dictionary multi deletes: 0
dictionary multi deletes fail: 0
dictionary updates multi: 0
dictionary updates multi fail: 0
le: max committed xr: 4
le: max provisional xr: 2
le: expanded: 0
le: max memsize: 337
le: size of leafentries before garbage collection (during message application): 2013977982547
le: size of leafentries after garbage collection (during message application): 1094741193213
le: size of leafentries before garbage collection (outside message application): 0
le: size of leafentries after garbage collection (outside message application): 0
checkpoint: period: 60
checkpoint: footprint: 0
checkpoint: last checkpoint began: Wed Oct 26 00:14:36 2016
checkpoint: last complete checkpoint began: Wed Oct 26 00:14:36 2016
checkpoint: last complete checkpoint ended: Wed Oct 26 00:14:36 2016
checkpoint: time spent during checkpoint (begin and end phases): 172553
checkpoint: time spent during last checkpoint (begin and end phases): 0
checkpoint: last complete checkpoint LSN: 24166425119
checkpoint: checkpoints taken : 156308
checkpoint: checkpoints failed: 0
checkpoint: waiters now: 0
checkpoint: waiters max: 0
checkpoint: non-checkpoint client wait on mo lock: 22392
checkpoint: non-checkpoint client wait on cs lock: 0
checkpoint: checkpoint begin time: 4311347165
checkpoint: long checkpoint begin time: 0
checkpoint: long checkpoint begin count: 0
checkpoint: checkpoint end time: 169322183500
checkpoint: long checkpoint end time: 0
checkpoint: long checkpoint end count: 0
cachetable: miss: 61365
cachetable: miss time: 205482955
cachetable: prefetches: 6450
cachetable: size current: 4212570080
cachetable: size limit: 4724464025
cachetable: size writing: 0
cachetable: size nonleaf: 92433626
cachetable: size leaf: 4120134582
cachetable: size rollback: 1872
cachetable: size cachepressure: 58173721
cachetable: size currently cloned data for checkpoint: 0
cachetable: evictions: 663297
cachetable: cleaner executions: 9507631
cachetable: cleaner period: 1
cachetable: cleaner iterations: 5
cachetable: number of waits on cache pressure: 0
cachetable: time waiting on cache pressure: 0
cachetable: number of long waits on cache pressure: 0
cachetable: long time waiting on cache pressure: 0
cachetable: number of threads in pool: 24
cachetable: number of currently active threads in pool: 0
cachetable: number of currently queued work items: 0
cachetable: largest number of queued work items: 1
cachetable: total number of work items processed: 42768
cachetable: total execution time of processing work items: 17969152
cachetable: number of threads in pool: 48
cachetable: number of currently active threads in pool: 0
cachetable: number of currently queued work items: 0
cachetable: largest number of queued work items: 107
cachetable: total number of work items processed: 358635
cachetable: total execution time of processing work items: 1670083
cachetable: number of threads in pool: 6
cachetable: number of currently active threads in pool: 0
cachetable: number of currently queued work items: 0
cachetable: largest number of queued work items: 11
cachetable: total number of work items processed: 742044
cachetable: total execution time of processing work items: 81150499
locktree: memory size: 0
locktree: memory size limit: 536870912
locktree: number of times lock escalation ran: 0
locktree: time spent running escalation (seconds): 0.000000
locktree: latest post-escalation memory size: 0
locktree: number of locktrees open now: 378
locktree: number of pending lock requests: 0
locktree: number of locktrees eligible for the STO: 0
locktree: number of times a locktree ended the STO early: 141
locktree: time spent ending the STO early (seconds): 0.001805
locktree: number of wait locks: 0
locktree: time waiting for locks: 0
locktree: number of long wait locks: 0
locktree: long time waiting for locks: 0
locktree: number of lock timeouts: 0
locktree: number of waits on lock escalation: 0
locktree: time waiting on lock escalation: 0
locktree: number of long waits on lock escalation: 0
locktree: long time waiting on lock escalation: 0
ft: dictionary updates: 0
ft: dictionary broadcast updates: 0
ft: descriptor set: 8910
ft: messages ignored by leaf due to msn: 0
ft: total search retries due to TRY_AGAIN: 181123
ft: searches requiring more tries than the height of the tree: 3
ft: searches requiring more tries than the height of the tree plus three: 3
ft: leaf nodes flushed to disk (not for checkpoint): 197139
ft: leaf nodes flushed to disk (not for checkpoint) (bytes): 181699072
ft: leaf nodes flushed to disk (not for checkpoint) (uncompressed bytes): 975227547
ft: leaf nodes flushed to disk (not for checkpoint) (seconds): 22.672025
ft: nonleaf nodes flushed to disk (not for checkpoint): 28
ft: nonleaf nodes flushed to disk (not for checkpoint) (bytes): 293376
ft: nonleaf nodes flushed to disk (not for checkpoint) (uncompressed bytes): 6088854
ft: nonleaf nodes flushed to disk (not for checkpoint) (seconds): 0.005445
ft: leaf nodes flushed to disk (for checkpoint): 1467068
ft: leaf nodes flushed to disk (for checkpoint) (bytes): 271016446464
ft: leaf nodes flushed to disk (for checkpoint) (uncompressed bytes): 3013787595232
ft: leaf nodes flushed to disk (for checkpoint) (seconds): 502.057350
ft: nonleaf nodes flushed to disk (for checkpoint): 599634
ft: nonleaf nodes flushed to disk (for checkpoint) (bytes): 8168779264
ft: nonleaf nodes flushed to disk (for checkpoint) (uncompressed bytes): 177512280538
ft: nonleaf nodes flushed to disk (for checkpoint) (seconds): 96.304738
ft: uncompressed / compressed bytes written (leaf): UNKNOWN STATUS TYPE: 6
ft: uncompressed / compressed bytes written (nonleaf): UNKNOWN STATUS TYPE: 6
ft: uncompressed / compressed bytes written (overall): UNKNOWN STATUS TYPE: 6
ft: nonleaf node partial evictions: 1728579
ft: nonleaf node partial evictions (bytes): 1632737078
ft: leaf node partial evictions: 37519832
ft: leaf node partial evictions (bytes): 3251428651786
ft: leaf node full evictions: 588494
ft: leaf node full evictions (bytes): 27532162448
ft: nonleaf node full evictions: 74803
ft: nonleaf node full evictions (bytes): 288954750
ft: leaf nodes created: 571657
ft: nonleaf nodes created: 78002
ft: leaf nodes destroyed: 0
ft: nonleaf nodes destroyed: 0
ft: bytes of messages injected at root (all trees): 147236271852
ft: bytes of messages flushed from h1 nodes to leaves: 147125388756
ft: bytes of messages currently in trees (estimate): 110883096
ft: messages injected at root: 3606718148
ft: broadcast messages injected at root: 0
ft: basements decompressed as a target of a query: 1
ft: basements decompressed for prelocked range: 0
ft: basements decompressed for prefetch: 0
ft: basements decompressed for write: 0
ft: buffers decompressed as a target of a query: 16957
ft: buffers decompressed for prelocked range: 254
ft: buffers decompressed for prefetch: 0
ft: buffers decompressed for write: 1750721
ft: pivots fetched for query: 4920
ft: pivots fetched for query (bytes): 156974592
ft: pivots fetched for query (seconds): 16.116313
ft: pivots fetched for prefetch: 6450
ft: pivots fetched for prefetch (bytes): 211353600
ft: pivots fetched for prefetch (seconds): 2.913902
ft: pivots fetched for write: 999
ft: pivots fetched for write (bytes): 2875904
ft: pivots fetched for write (seconds): 1.504927
ft: basements fetched as a target of a query: 348608
ft: basements fetched as a target of a query (bytes): 605804544
ft: basements fetched as a target of a query (seconds): 607.783486
ft: basements fetched for prelocked range: 130501
ft: basements fetched for prelocked range (bytes): 774659584
ft: basements fetched for prelocked range (seconds): 14.165989
ft: basements fetched for prefetch: 900998
ft: basements fetched for prefetch (bytes): 5402980352
ft: basements fetched for prefetch (seconds): 88.918547
ft: basements fetched for write: 484234
ft: basements fetched for write (bytes): 2153725440
ft: basements fetched for write (seconds): 121.922914
ft: buffers fetched as a target of a query: 3
ft: buffers fetched as a target of a query (bytes): 1536
ft: buffers fetched as a target of a query (seconds): 0.011299
ft: buffers fetched for prelocked range: 21
ft: buffers fetched for prelocked range (bytes): 11776
ft: buffers fetched for prelocked range (seconds): 0.002783
ft: buffers fetched for prefetch: 0
ft: buffers fetched for prefetch (bytes): 0
ft: buffers fetched for prefetch (seconds): 0.000000
ft: buffers fetched for write: 35
ft: buffers fetched for write (bytes): 55808
ft: buffers fetched for write (seconds): 0.019452
ft: leaf compression to memory (seconds): 185788.585411
ft: leaf serialization to memory (seconds): 4947.022665
ft: leaf decompression to memory (seconds): 1574.724867
ft: leaf deserialization to memory (seconds): 68.326733
ft: nonleaf compression to memory (seconds): 14653.596733
ft: nonleaf serialization to memory (seconds): 761.049074
ft: nonleaf decompression to memory (seconds): 5.648165
ft: nonleaf deserialization to memory (seconds): 7.336687
ft: promotion: roots split: 2255
ft: promotion: leaf roots injected into: 66329396
ft: promotion: h1 roots injected into: 3700337
ft: promotion: injections at depth 0: 53506564
ft: promotion: injections at depth 1: 1097430713
ft: promotion: injections at depth 2: 2458202116
ft: promotion: injections at depth 3: 505666
ft: promotion: injections lower than depth 3: 96599
ft: promotion: stopped because of a nonempty buffer: 442040067
ft: promotion: stopped at height 1: 5236
ft: promotion: stopped because the child was locked or not at all in memory: 132
ft: promotion: stopped because the child was not fully in memory: 43
ft: promotion: stopped anyway, after locking the child: 1112
ft: basement nodes deserialized with fixed-keysize: 1802718
ft: basement nodes deserialized with variable-keysize: 104509
ft: promotion: succeeded in using the rightmost leaf shortcut: 36699337468
ft: promotion: tried the rightmost leaf shorcut but failed (out-of-bounds): 122
ft: promotion: tried the rightmost leaf shorcut but failed (child reactive): 683480
ft: cursor skipped deleted leaf entries: 428688
ft flusher: total nodes potentially flushed by cleaner thread: 140671
ft flusher: height-one nodes flushed by cleaner thread: 97017
ft flusher: height-greater-than-one nodes flushed by cleaner thread: 43654
ft flusher: nodes cleaned which had empty buffers: 136420
ft flusher: nodes dirtied by cleaner thread: 7591
ft flusher: max bytes in a buffer flushed by cleaner thread: 3812160
ft flusher: min bytes in a buffer flushed by cleaner thread: 44
ft flusher: total bytes in buffers flushed by cleaner thread: 4261296388
ft flusher: max workdone in a buffer flushed by cleaner thread: 250272
ft flusher: min workdone in a buffer flushed by cleaner thread: 0
ft flusher: total workdone in buffers flushed by cleaner thread: 318240
ft flusher: times cleaner thread tries to merge a leaf: 0
ft flusher: cleaner thread leaf merges in progress: 0
ft flusher: cleaner thread leaf merges successful: 0
ft flusher: nodes dirtied by cleaner thread leaf merges: 0
ft flusher: total number of flushes done by flusher threads or cleaner threads: 46796
ft flusher: number of in memory flushes: 46796
ft flusher: number of flushes that read something off disk: 0
ft flusher: number of flushes that triggered another flush in child: 54
ft flusher: number of flushes that triggered 1 cascading flush: 54
ft flusher: number of flushes that triggered 2 cascading flushes: 0
ft flusher: number of flushes that triggered 3 cascading flushes: 0
ft flusher: number of flushes that triggered 4 cascading flushes: 0
ft flusher: number of flushes that triggered 5 cascading flushes: 0
ft flusher: number of flushes that triggered over 5 cascading flushes: 0
ft flusher: leaf node splits: 557938
ft flusher: nonleaf node splits: 75747
ft flusher: leaf node merges: 0
ft flusher: nonleaf node merges: 0
ft flusher: leaf node balances: 0
hot: operations ever started: 0
hot: operations successfully completed: 0
hot: operations aborted: 0
hot: max number of flushes from root ever required to optimize a tree: 0
txn: begin: 2485668277
txn: begin read only: 86
txn: successful commits: 2485667904
txn: aborts: 459
logger: next LSN: 24166457040
logger: writes: 41822046
logger: writes (bytes): 2323262054326
logger: writes (uncompressed bytes): 2323262054326
logger: writes (seconds): 3448.210900
logger: number of long logger write operations: 0
indexer: number of indexers successfully created: 0
indexer: number of calls to toku_indexer_create_indexer() that failed: 0
indexer: number of calls to indexer->build() succeeded: 0
indexer: number of calls to indexer->build() failed: 0
indexer: number of calls to indexer->close() that succeeded: 0
indexer: number of calls to indexer->close() that failed: 0
indexer: number of calls to indexer->abort(): 0
indexer: number of indexers currently in existence: 0
indexer: max number of indexers that ever existed simultaneously: 0
loader: number of loaders successfully created: 305
loader: number of calls to toku_loader_create_loader() that failed: 0
loader: number of calls to loader->put() succeeded: 362729
loader: number of calls to loader->put() failed: 0
loader: number of calls to loader->close() that succeeded: 305
loader: number of calls to loader->close() that failed: 0
loader: number of calls to loader->abort(): 0
loader: number of loaders currently in existence: 0
loader: max number of loaders that ever existed simultaneously: 2
memory: number of malloc operations: 0
memory: number of free operations: 0
memory: number of realloc operations: 0
memory: number of malloc operations that failed: 0
memory: number of realloc operations that failed: 436
memory: number of bytes requested: 0
memory: number of bytes used (requested + overhead): 0
memory: number of bytes freed: 0
memory: largest attempted allocation size: 0
memory: size of the last failed allocation attempt: 0
memory: estimated maximum memory footprint: 0
memory: mallocator version: 3.5.1-0-g7709a64c59daf0b1f938be49472fcc499e1bd136
memory: mmap threshold: 4194304
filesystem: ENOSPC redzone state: 0
filesystem: threads currently blocked by full disk: 0
filesystem: number of operations rejected by enospc prevention (red zone): 0
filesystem: most recent disk full: Thu Jan  1 02:00:00 1970
filesystem: number of write operations that returned ENOSPC: 0
filesystem: fsync time: 30163608652
filesystem: fsync count: 45555096
filesystem: long fsync time: 74723637
filesystem: long fsync count: 45
context: tree traversals blocked by a full fetch: 0
context: tree traversals blocked by a partial fetch: 0
context: tree traversals blocked by a full eviction: 0
context: tree traversals blocked by a partial eviction: 3
context: tree traversals blocked by a message injection: 1
context: tree traversals blocked by a message application: 0
context: tree traversals blocked by a flush: 0
context: tree traversals blocked by a the cleaner thread: 0
context: tree traversals blocked by something uninstrumented: 15375
context: promotion blocked by a full fetch (should never happen): 0
context: promotion blocked by a partial fetch (should never happen): 7
context: promotion blocked by a full eviction (should never happen): 0
context: promotion blocked by a partial eviction (should never happen): 1
context: promotion blocked by a message injection: 4444
context: promotion blocked by a message application: 0
context: promotion blocked by a flush: 42
context: promotion blocked by the cleaner thread: 22
context: promotion blocked by something uninstrumented: 87
context: something uninstrumented blocked by something uninstrumented: 4

Memory usage:
Arena 0:
system bytes     =          0
in use bytes     =          0
Total (incl. mmap):
system bytes     =          0
in use bytes     =          0
max mmap regions =          0
max mmap bytes   =          0
Fatal signal 6 while backtracing
/usr/sbin/mysqld(+0xa5df0b)[0x55ab5feadf0b]
/usr/sbin/mysqld(_ZN11TABLE_SHARE7destroyEv+0x24)[0x55ab5f922664]
/usr/sbin/mysqld(+0x562d94)[0x55ab5f9b2d94]
/usr/sbin/mysqld(_Z17tdc_release_shareP11TABLE_SHARE+0x269)[0x55ab5f9b3a09]
/usr/sbin/mysqld(_Z8closefrmP5TABLEb+0x155)[0x55ab5f923135]
/usr/sbin/mysqld(_Z18intern_close_tableP5TABLE+0x36)[0x55ab5f838b66]
/usr/sbin/mysqld(_Z16tc_release_tableP5TABLE+0x190)[0x55ab5f9b3180]
/usr/sbin/mysqld(_Z18close_thread_tableP3THDPP5TABLE+0xf3)[0x55ab5f838ef3]
/usr/sbin/mysqld(_Z25close_all_tables_for_nameP3THDP11TABLE_SHARE17ha_extra_functionP5TABLE+0x117)[0x55ab5f83a2c7]
/usr/sbin/mysqld(+0x378873)[0x55ab5f7c8873]
/usr/sbin/mysqld(_Z26fast_alter_partition_tableP3THDP5TABLEP10Alter_infoP14HA_CREATE_INFOP10TABLE_LISTPcPKc+0x7f0)[0x55ab5fb3a590]
/usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P14HA_CREATE_INFOP10TABLE_LISTP10Alter_infojP8st_orderb+0x1352)[0x55ab5f90ae12]
/usr/sbin/mysqld(_ZN19Sql_cmd_alter_table7executeEP3THD+0x61a)[0x55ab5f951f7a]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1206)[0x55ab5f87fa66]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x26d)[0x55ab5f88808d]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x2460)[0x55ab5f88b3d0]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x169)[0x55ab5f88bb89]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x18a)[0x55ab5f94f24a]
/usr/sbin/mysqld(handle_one_connection+0x40)[0x55ab5f94f420]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f841f84e184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f841ed6d37d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f83bc579020): is an invalid pointer
Connection ID (thread ID): 8009371
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.
