Bug #82665 Assertion failure in file row0merge.cc line 1009
Submitted: 20 Aug 2016 9:13 Modified: 20 Aug 2016 9:59
Reporter: Ruslan Fedoseienko Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.7.12-1 OS:Ubuntu
Assigned to: CPU Architecture:Any
Tags: assertion failure

[20 Aug 2016 9:13] Ruslan Fedoseienko
Description:
2016-08-20 10:50:58 0x7f09a7fff700  InnoDB: Assertion failure in thread 139679450003200 in file row0merge.cc line 1009
InnoDB: Failing assertion: b == &block[0] + buf->total_size
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
08:50:58 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.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.

key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=1
max_threads=151
thread_count=1
connection_count=1
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 76381 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+0x2c)[0xebf2cc]
/usr/sbin/mysqld(handle_fatal_signal+0x451)[0x7accb1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f0a36f3f330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f0a36380c37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f0a36384028]
/usr/sbin/mysqld[0x77dace]
/usr/sbin/mysqld[0x1087879]
/usr/sbin/mysqld(_Z25fts_parallel_tokenizationPv+0x14ef)[0x1069a6f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f0a36f37184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f0a3644437d]
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.

How to repeat:
I have a table with 200 000+ records
I tried to rebuild FULLTEXT INDEX(recreate) for InnoDB
Firstly I've dropped it.
And this failture occurs on creating index.
CREATE FULLTEXT INDEX ft_name on table_name (column_name);
[20 Aug 2016 9:56] MySQL Verification Team
Please upgrade to current 5.7.14.
This looks like a duplicate of:

https://bugs.mysql.com/bug.php?id=80755
BUG 22963169 - MYSQL CRASHES ON CREATE FULLTEXT INDEX

https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-13.html
"InnoDB: A full-text index operation raised an assertion. (Bug #22963169)"
[20 Aug 2016 9:59] Ruslan Fedoseienko
yeap just upgraded from official apt repo (prvoiously installed from ppa) - no problem there.