Bug #74759 Failing assertion: lock_rec_get_first(receiver, receiver_heap_no) == __null
Submitted: 10 Nov 2014 7:29 Modified: 10 Nov 2014 8:33
Reporter: Ramesh Sivaraman Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: DML Severity:S3 (Non-critical)
Version:5.6.20-debug OS:Linux (CentOS 7)
Assigned to: CPU Architecture:Any

[10 Nov 2014 7:29] Ramesh Sivaraman
Description:
2014-11-10 06:45:24 7fb4d56ab700  InnoDB: Assertion failure in thread 140414651381504 in file lock0lock.cc line 2715
InnoDB: Failing assertion: lock_rec_get_first(receiver, receiver_heap_no) == __null

*** GDB 

#0  0x00007fb4d50b2771 in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000a9035e in my_write_core (sig=6) at /ssd/ramesh/mysql-server/mysql-5.6/mysys/stacktrace.c:422
#2  0x0000000000723688 in handle_fatal_signal (sig=6) at /ssd/ramesh/mysql-server/mysql-5.6/sql/signal_handler.cc:230
#3  <signal handler called>
#4  0x00007fb4d3ebe5c9 in raise () from /lib64/libc.so.6
#5  0x00007fb4d3ebfcd8 in abort () from /lib64/libc.so.6
#6  0x0000000000b9fab0 in lock_rec_move (receiver=0x7fb442912900, donator=0x7fb44290dc00, receiver_heap_no=1, donator_heap_no=1) at /ssd/ramesh/mysql-
server/mysql-5.6/storage/innobase/lock/lock0lock.cc:2715
#7  0x0000000000ba0712 in lock_update_root_raise (block=0x7fb442912900, root=0x7fb44290dc00) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/lo
ck/lock0lock.cc:3171
#8  0x0000000000ce80c0 in btr_root_raise_and_insert (flags=7, cursor=0x7fb4d56a75c0, offsets=0x7fb4d56a7650, heap=0x7fb4d56a7648, tuple=0x7fb4380b5b78
, n_ext=0, mtr=0x7fb4d56a7a70) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0btr.cc:2207
#9  0x0000000000cfa365 in btr_cur_pessimistic_insert (flags=7, cursor=0x7fb4d56a75c0, offsets=0x7fb4d56a7650, heap=0x7fb4d56a7648, entry=0x7fb4380b5b7
8, rec=0x7fb4d56a7658, big_rec=0x7fb4d56a7660, n_ext=0, thr=0x0, mtr=0x7fb4d56a7a70) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0cur.cc:1601
#10 0x0000000000ce8c4d in btr_insert_on_non_leaf_level_func (flags=0, index=0x7fb438071378, level=1, tuple=0x7fb4380b5b78, file=0x1047e38 "/ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0btr.cc", line=2725, mtr=0x7fb4d56a7a70) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0btr.cc:2632
#11 0x0000000000ce900e in btr_attach_half_pages (flags=0, index=0x7fb438071378, block=0x7fb442913140, split_rec=0x7fb4380fe99d "", new_block=0x7fb44290d940, direction=111, mtr=0x7fb4d56a7a70) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0btr.cc:2725
#12 0x0000000000ce9bb7 in btr_page_split_and_insert (flags=0, cursor=0x7fb4d56a79f0, offsets=0x7fb4d56a7f50, heap=0x7fb4d56a79d0, tuple=0x7fb4380b4c78, n_ext=0, mtr=0x7fb4d56a7a70) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0btr.cc:2965
#13 0x0000000000cfa396 in btr_cur_pessimistic_insert (flags=0, cursor=0x7fb4d56a79f0, offsets=0x7fb4d56a7f50, heap=0x7fb4d56a79d0, entry=0x7fb4380b4c78, rec=0x7fb4d56a7f48, big_rec=0x7fb4d56a7f40, n_ext=0, thr=0x7fb438196b10, mtr=0x7fb4d56a7a70) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/btr/btr0cur.cc:1604
#14 0x0000000000c2a0b3 in row_ins_sec_index_entry_low (flags=0, mode=33, index=0x7fb438071378, offsets_heap=0x7fb4380b5100, heap=0x7fb4380b5600, entry=0x7fb4380b4c78, trx_id=0, thr=0x7fb438196b10) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0ins.cc:2772
#15 0x0000000000c2a6da in row_ins_sec_index_entry (index=0x7fb438071378, entry=0x7fb4380b4c78, thr=0x7fb438196b10) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0ins.cc:2948
#16 0x0000000000c7f960 in row_upd_sec_index_entry (node=0x7fb438196810, thr=0x7fb438196b10) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0upd.cc:1834
#17 0x0000000000c7fa9f in row_upd_sec_step (node=0x7fb438196810, thr=0x7fb438196b10) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0upd.cc:1861
#18 0x0000000000c81379 in row_upd (node=0x7fb438196810, thr=0x7fb438196b10) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0upd.cc:2556
#19 0x0000000000c81678 in row_upd_step (thr=0x7fb438196b10) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0upd.cc:2673
#20 0x0000000000c42aaf in row_update_for_mysql (mysql_rec=0x7fb438097c20 "\370\001", prebuilt=0x7fb438196078) at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/row/row0mysql.cc:1735
#21 0x0000000000b4ffb1 in ha_innobase::update_row (this=0x7fb43807d010, old_row=0x7fb438097c20 "\370\001", new_row=0x7fb438097c10 "\370\001") at /ssd/ramesh/mysql-server/mysql-5.6/storage/innobase/handler/ha_innodb.cc:7083
#22 0x00000000006421ab in handler::ha_update_row (this=0x7fb43807d010, old_data=0x7fb438097c20 "\370\001", new_data=0x7fb438097c10 "\370\001") at /ssd/ramesh/mysql-server/mysql-5.6/sql/handler.cc:7305
#23 0x000000000085f1fe in mysql_update (thd=0x7fb441f24000, table_list=0x7fb43801f0e8, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551614, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7fb4d56a99f8, updated_return=0x7fb4d56a99f0) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_update.cc:818
#24 0x00000000007d1052 in mysql_execute_command (thd=0x7fb441f24000) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_parse.cc:3307
#25 0x00000000007d8fa4 in mysql_parse (thd=0x7fb441f24000, rawbuf=0x7fb43801f010 "UPDATE t1 SET a=1", length=17, parser_state=0x7fb4d56a9e70) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_parse.cc:6245
#26 0x00000000007cc557 in dispatch_command (command=COM_QUERY, thd=0x7fb441f24000, packet=0x7fb441f62001 "UPDATE t1 SET a=1", packet_length=17) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_parse.cc:1332
#27 0x00000000007cb646 in do_command (thd=0x7fb441f24000) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_parse.cc:1034
#28 0x0000000000793a61 in do_handle_one_connection (thd_arg=0x7fb441f24000) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_connect.cc:982
#29 0x000000000079354a in handle_one_connection (arg=0x7fb441f24000) at /ssd/ramesh/mysql-server/mysql-5.6/sql/sql_connect.cc:898
#30 0x0000000000ad4b5c in pfs_spawn_thread (arg=0x7fb4d17feb00) at /ssd/ramesh/mysql-server/mysql-5.6/storage/perfschema/pfs.cc:1860
#31 0x00007fb4d50addf3 in start_thread () from /lib64/libpthread.so.0
#32 0x00007fb4d3f7f01d in clone () from /lib64/libc.so.6

How to repeat:
DROP DATABASE test;CREATE DATABASE test;USE test;
create table t1(a text,b date,fulltext index(a)) ENGINE=InnoDB;
select * from t1 where MATCH a AGAINST("search" IN BOOLEAN MODE);
set global innodb_limit_optimistic_insert_debug=2;
CREATE TABLE t4(c1 BLOB);
alter table t1 row_format=dynamic;
ALTER TABLE t1 ADD c3 CHAR(1);
CREATE TABLE t3(a DATE,b char(1),KEY (a)) PARTITION BY KEY (a) PARTITIONS 3;
CREATE TABLE articles(id INT UNSIGNED KEY,title CHAR (1),body TEXT,FULLTEXT idx (title,body)) ENGINE=InnoDB;
set global innodb_trx_rseg_n_slots_debug=1;
CREATE TABLE m3(c1 TIMESTAMP,c2 BINARY(1),c3 INT(1),c4 BINARY(1) KEY,c5 TIMESTAMP UNIQUE KEY,c6 NUMERIC(10,8) DEFAULT 3.141592);
CREATE TABLE t5(c1 CHAR (1));
insert into t1 values(1,2,"one"),(2,4,"two"),(3,6,"three");
CREATE TABLE t6(c1 CHAR (1));
SELECT * FROM t3;
INSERT INTO t4 VALUES(),();
drop table if exists t1;
UPDATE t1 SET a=1;
[10 Nov 2014 8:33] MySQL Verification Team
Hello Ramesh Sivaraman,

Thank you for the bug report and test case.
Observed that debug build of 5.6.22 affected.

Thanks,
Umesh
[10 Nov 2014 8:33] MySQL Verification Team
// with 5.6.22 - debug version only

(gdb) bt
#0  0x0000003deb00c8ac in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000b0011b in my_write_core (sig=6) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/mysys/stacktrace.c:422
#2  0x000000000077ecb8 in handle_fatal_signal (sig=6) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/signal_handler.cc:230
#3  <signal handler called>
#4  0x0000003deac32625 in raise () from /lib64/libc.so.6
#5  0x0000003deac33e05 in abort () from /lib64/libc.so.6
#6  0x0000000000bea169 in lock_rec_move (receiver=0x7f5c8077a240, donator=0x7f5c8071c200, receiver_heap_no=1, donator_heap_no=1)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/lock/lock0lock.cc:2715
#7  0x0000000000beadec in lock_update_root_raise (block=0x7f5c8077a240, root=0x7f5c8071c200)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/lock/lock0lock.cc:3171
#8  0x0000000000d33c47 in btr_root_raise_and_insert (flags=7, cursor=0x7f5c7abb0710, offsets=0x7f5c7abb07a0, heap=0x7f5c7abb0798, tuple=0x7f5c480b0a88, n_ext=0, mtr=0x7f5c7abb0b50)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0btr.cc:2207
#9  0x0000000000d4677f in btr_cur_pessimistic_insert (flags=7, cursor=0x7f5c7abb0710, offsets=0x7f5c7abb07a0, heap=0x7f5c7abb0798, entry=0x7f5c480b0a88, rec=0x7f5c7abb07a8,
    big_rec=0x7f5c7abb07b0, n_ext=0, thr=0x0, mtr=0x7f5c7abb0b50) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0cur.cc:1601
#10 0x0000000000d347f0 in btr_insert_on_non_leaf_level_func (flags=0, index=0x7f5c48021388, level=1, tuple=0x7f5c480b0a88,
    file=0x11693d8 "/pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0btr.cc", line=2725, mtr=0x7f5c7abb0b50)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0btr.cc:2632
#11 0x0000000000d34bb5 in btr_attach_half_pages (flags=0, index=0x7f5c48021388, block=0x7f5c8077b000, split_rec=0x7f5c480af31d "", new_block=0x7f5c80711fc0, direction=111, mtr=0x7f5c7abb0b50)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0btr.cc:2725
#12 0x0000000000d35d7d in btr_page_split_and_insert (flags=0, cursor=0x7f5c7abb1020, offsets=0x7f5c7abb10b8, heap=0x7f5c7abb0b30, tuple=0x7f5c4809bd08, n_ext=0, mtr=0x7f5c7abb0b50)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0btr.cc:3101
#13 0x0000000000d467b9 in btr_cur_pessimistic_insert (flags=0, cursor=0x7f5c7abb1020, offsets=0x7f5c7abb10b8, heap=0x7f5c7abb0b30, entry=0x7f5c4809bd08, rec=0x7f5c7abb10b0,
    big_rec=0x7f5c7abb10a8, n_ext=0, thr=0x7f5c480aa8d8, mtr=0x7f5c7abb0b50) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/btr/btr0cur.cc:1604
#14 0x0000000000c749d4 in row_ins_sec_index_entry_low (flags=0, mode=33, index=0x7f5c48021388, offsets_heap=0x7f5c480af510, heap=0x7f5c480af990, entry=0x7f5c4809bd08, trx_id=0,
    thr=0x7f5c480aa8d8) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0ins.cc:2762
#15 0x0000000000c74ffe in row_ins_sec_index_entry (index=0x7f5c48021388, entry=0x7f5c4809bd08, thr=0x7f5c480aa8d8)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0ins.cc:2938
#16 0x0000000000ccacd6 in row_upd_sec_index_entry (node=0x7f5c480aa5d8, thr=0x7f5c480aa8d8) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0upd.cc:1834
#17 0x0000000000ccae17 in row_upd_sec_step (node=0x7f5c480aa5d8, thr=0x7f5c480aa8d8) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0upd.cc:1861
#18 0x0000000000ccc72b in row_upd (node=0x7f5c480aa5d8, thr=0x7f5c480aa8d8) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0upd.cc:2556
#19 0x0000000000ccca31 in row_upd_step (thr=0x7f5c480aa8d8) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0upd.cc:2673
#20 0x0000000000c8d6cc in row_update_for_mysql (mysql_rec=0x7f5c480666a8 "\370\001", prebuilt=0x7f5c480a9e18)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/row/row0mysql.cc:1786
#21 0x0000000000b99fcb in ha_innobase::update_row (this=0x7f5c480663d0, old_row=0x7f5c480666a8 "\370\001", new_row=0x7f5c48066698 "\370\001")
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/innobase/handler/ha_innodb.cc:7124
#22 0x0000000000699dd4 in handler::ha_update_row (this=0x7f5c480663d0, old_data=0x7f5c480666a8 "\370\001", new_data=0x7f5c48066698 "\370\001")
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/handler.cc:7305
#23 0x00000000008c0b7e in mysql_update (thd=0x3036c90, table_list=0x7f5c480050c8, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551614,
    handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f5c7abb2d08, updated_return=0x7f5c7abb2d00) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_update.cc:818
#24 0x000000000082f86e in mysql_execute_command (thd=0x3036c90) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:3307
#25 0x00000000008380e1 in mysql_parse (thd=0x3036c90, rawbuf=0x7f5c48004ff0 "UPDATE t1 SET a=1", length=17, parser_state=0x7f5c7abb3680)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:6357
#26 0x000000000082aa63 in dispatch_command (command=COM_QUERY, thd=0x3036c90, packet=0x31665b1 "UPDATE t1 SET a=1", packet_length=17)
    at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:1332
#27 0x0000000000829ac8 in do_command (thd=0x3036c90) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_parse.cc:1034
#28 0x00000000007f0f17 in do_handle_one_connection (thd_arg=0x3036c90) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_connect.cc:982
#29 0x00000000007f09e8 in handle_one_connection (arg=0x3036c90) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/sql/sql_connect.cc:898
#30 0x0000000000e64c25 in pfs_spawn_thread (arg=0x3129ce0) at /pb2/build/sb_0-13562263-1414689457.82/mysqlcom-pro-5.6.22/storage/perfschema/pfs.cc:1860
#31 0x0000003deb0079d1 in start_thread () from /lib64/libpthread.so.0
#32 0x0000003deace89dd in clone () from /lib64/libc.so.6

// build

revision-id: marko.makela@oracle.com-20141030065549-onni0r95h2uc4s8w
date: 2014-10-30 08:55:49 +0200
build-date: 2014-10-30 18:00:06 +0100
revno: 6229
branch-nick: daily-5.6

MySQL source 5.6.22

// options used etc
/data/ushastry/server/mysql-advanced-5.6.22/scripts/mysql_install_db --basedir=/data/ushastry/server/mysql-advanced-5.6.22 --datadir=/tmp/bug --user=root
/data/ushastry/server/mysql-advanced-5.6.22/bin/mysqld-debug --basedir=/data/ushastry/server/mysql-advanced-5.6.22 --tmpdir=/tmp/bug --datadir=/tmp/bug --core --socket=/tmp/mysql.sock  --port=3306 --log-error=/tmp/bug/log.err --maximum-bulk_insert_buffer_size=1M --maximum-join_buffer_size=1M --maximum-max_heap_table_size=1M --maximum-max_join_size=1M --maximum-myisam_max_sort_file_size=1M --maximum-myisam_mmap_size=1M --maximum-myisam_sort_buffer_size=1M --maximum-optimizer_trace_max_mem_size=1M --maximum-preload_buffer_size=1M --maximum-query_alloc_block_size=1M --maximum-query_prealloc_size=1M --maximum-range_alloc_block_size=1M --maximum-read_buffer_size=1M --maximum-read_rnd_buffer_size=1M --maximum-sort_buffer_size=1M --maximum-tmp_table_size=1M --maximum-transaction_alloc_block_size=1M --maximum-transaction_prealloc_size=1M --log-output=none --sql_mode=ONLY_FULL_GROUP_BY --user=root 2>&1 &
[10 Nov 2014 8:36] MySQL Verification Team
// 5.7.6 debug only

(gdb) bt
#0  0x0000003deb00c8ac in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000f990a1 in my_write_core (sig=6) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/mysys/stacktrace.c:247
#2  0x000000000092d7cc in handle_fatal_signal (sig=6) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/signal_handler.cc:219
#3  <signal handler called>
#4  0x0000003deac32625 in raise () from /lib64/libc.so.6
#5  0x0000003deac33e05 in abort () from /lib64/libc.so.6
#6  0x000000000121b81b in ut_dbg_assertion_failed (expr=0x175ace8 "index->id == btr_page_get_index_id(page)",
    file=0x175a248 "/pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/btr/btr0cur.cc", line=2231)
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/ut/ut0dbg.cc:67
#7  0x000000000124a9f8 in btr_cur_open_at_index_side_func (from_left=true, index=0x7fc3bc02f218, latch_mode=1, cursor=0x7fc3bc0b1730, level=0,
    file=0x172ca28 "/pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/include/btr0pcur.ic", line=551, mtr=0x7fc3fdb582c0)
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/btr/btr0cur.cc:2231
#8  0x000000000118952a in btr_pcur_open_at_index_side (from_left=true, index=0x7fc3bc02f218, latch_mode=1, pcur=0x7fc3bc0b1730, init_pcur=false, level=0, mtr=0x7fc3fdb582c0)
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/include/btr0pcur.ic:551
#9  0x00000000011933fa in row_search_mvcc (buf=0x7fc3bc02ca30 "\377", mode=PAGE_CUR_G, prebuilt=0x7fc3bc0b1548, match_mode=0, direction=0)
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/row/row0sel.cc:4781
#10 0x000000000103f4a1 in ha_innobase::index_read (this=0x7fc3bc02c760, buf=0x7fc3bc02ca30 "\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY)
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/handler/ha_innodb.cc:7672
#11 0x0000000001040500 in ha_innobase::index_first (this=0x7fc3bc02c760, buf=0x7fc3bc02ca30 "\377")
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/handler/ha_innodb.cc:8105
#12 0x000000000104078a in ha_innobase::rnd_next (this=0x7fc3bc02c760, buf=0x7fc3bc02ca30 "\377")
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/innobase/handler/ha_innodb.cc:8209
#13 0x00000000009938b9 in handler::ha_rnd_next (this=0x7fc3bc02c760, buf=0x7fc3bc02ca30 "\377") at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/handler.cc:2665
#14 0x0000000000bf9a28 in rr_sequential (info=0x7fc3fdb59b50) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/records.cc:507
#15 0x0000000000d53b93 in mysql_update (thd=0x7fc3bc000cf0, fields=..., values=..., limit=18446744073709551615, handle_duplicates=DUP_ERROR, found_return=0x7fc3fdb5ac88,
    updated_return=0x7fc3fdb5ac80) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_update.cc:796
#16 0x0000000000cb5f1e in mysql_execute_command (thd=0x7fc3bc000cf0) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:3165
#17 0x0000000000cbce6a in mysql_parse (thd=0x7fc3bc000cf0, parser_state=0x7fc3fdb5b660) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:5397
#18 0x0000000000cb0f2c in dispatch_command (command=COM_QUERY, thd=0x7fc3bc000cf0, packet=0x7fc3bc009a21 "UPDATE t1 SET a=1", packet_length=17)
    at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:1249
#19 0x0000000000cafbd4 in do_command (thd=0x7fc3bc000cf0) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/sql_parse.cc:833
#20 0x0000000000dbe89c in handle_connection (arg=0x414c750) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/sql/conn_handler/connection_handler_per_thread.cc:298
#21 0x000000000138347f in pfs_spawn_thread (arg=0x3fa2d60) at /pb2/build/sb_0-13559856-1414670154.69/mysqlcom-pro-5.7.6-m16/storage/perfschema/pfs.cc:2137
#22 0x0000003deb0079d1 in start_thread () from /lib64/libpthread.so.0
#23 0x0000003deace89dd in clone () from /lib64/libc.so.6

// 

/data/ushastry/server/mysql-advanced-5.7.6/bin/mysql_install_db --basedir=/data/ushastry/server/mysql-advanced-5.7.6 --datadir=/tmp/bug --user=root -v
/data/ushastry/server/mysql-advanced-5.7.6/bin/mysqld-debug --basedir=/data/ushastry/server/mysql-advanced-5.7.6 --tmpdir=/tmp/bug --datadir=/tmp/bug --core-file --socket=/tmp/mysql.sock --port=3306 --log-error=/tmp/bug/log.err --maximum-bulk_insert_buffer_size=1M --maximum-join_buffer_size=1M --maximum-max_heap_table_size=1M --maximum-max_join_size=1M --maximum-myisam_max_sort_file_size=1M --maximum-myisam_mmap_size=1M --maximum-myisam_sort_buffer_size=1M --maximum-optimizer_trace_max_mem_size=1M --maximum-preload_buffer_size=1M --maximum-query_alloc_block_size=1M --maximum-query_prealloc_size=1M --maximum-range_alloc_block_size=1M --maximum-read_buffer_size=1M --maximum-read_rnd_buffer_size=1M --maximum-sort_buffer_size=1M --maximum-tmp_table_size=1M --maximum-transaction_alloc_block_size=1M --maximum-transaction_prealloc_size=1M --log-output=none --sql_mode=ONLY_FULL_GROUP_BY --user=root 2>&1 &

// Build

 more docs/INFO_SRC
revision-id: knut.hatlen@oracle.com-20141030112312-87lkavvjlg9cqtvz
date: 2014-10-30 12:23:12 +0100
build-date: 2014-10-30 12:30:43 +0100
revno: 9156
branch-nick: daily-trunk-el6

MySQL source 5.7.6
[10 Nov 2014 8:55] MySQL Verification Team
// 5.6.23 debug build - affected

(gdb) bt
#0  0x0000003deb00c8ac in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000affdab in my_write_core (sig=6) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/mysys/stacktrace.c:422
#2  0x000000000077ebbc in handle_fatal_signal (sig=6) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/signal_handler.cc:230
#3  <signal handler called>
#4  0x0000003deac32625 in raise () from /lib64/libc.so.6
#5  0x0000003deac33e05 in abort () from /lib64/libc.so.6
#6  0x0000000000bec429 in lock_rec_move (receiver=0x7ff6f932c480, donator=0x7ff6f92ce700, receiver_heap_no=1, donator_heap_no=1)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/lock/lock0lock.cc:2715
#7  0x0000000000bed0ac in lock_update_root_raise (block=0x7ff6f932c480, root=0x7ff6f92ce700)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/lock/lock0lock.cc:3171
#8  0x0000000000d35f07 in btr_root_raise_and_insert (flags=7, cursor=0x7ff6f3763710, offsets=0x7ff6f37637a0, heap=0x7ff6f3763798, tuple=0x7ff6c00b09e8, n_ext=0, mtr=0x7ff6f3763b50)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0btr.cc:2207
#9  0x0000000000d48a3f in btr_cur_pessimistic_insert (flags=7, cursor=0x7ff6f3763710, offsets=0x7ff6f37637a0, heap=0x7ff6f3763798, entry=0x7ff6c00b09e8, rec=0x7ff6f37637a8,
    big_rec=0x7ff6f37637b0, n_ext=0, thr=0x0, mtr=0x7ff6f3763b50) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0cur.cc:1601
#10 0x0000000000d36ab0 in btr_insert_on_non_leaf_level_func (flags=0, index=0x7ff6c0020c18, level=1, tuple=0x7ff6c00b09e8,
    file=0x116e2c8 "/export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0btr.cc", line=2725, mtr=0x7ff6f3763b50)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0btr.cc:2632
#11 0x0000000000d36e75 in btr_attach_half_pages (flags=0, index=0x7ff6c0020c18, block=0x7ff6f932ccc0, split_rec=0x7ff6c00af27d "", new_block=0x7ff6f92c44c0, direction=111, mtr=0x7ff6f3763b50)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0btr.cc:2725
#12 0x0000000000d3803d in btr_page_split_and_insert (flags=0, cursor=0x7ff6f3764020, offsets=0x7ff6f37640b8, heap=0x7ff6f3763b30, tuple=0x7ff6c009bb38, n_ext=0, mtr=0x7ff6f3763b50)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0btr.cc:3101
#13 0x0000000000d48a79 in btr_cur_pessimistic_insert (flags=0, cursor=0x7ff6f3764020, offsets=0x7ff6f37640b8, heap=0x7ff6f3763b30, entry=0x7ff6c009bb38, rec=0x7ff6f37640b0,
    big_rec=0x7ff6f37640a8, n_ext=0, thr=0x7ff6c00aa838, mtr=0x7ff6f3763b50) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/btr/btr0cur.cc:1604
#14 0x0000000000c76c94 in row_ins_sec_index_entry_low (flags=0, mode=33, index=0x7ff6c0020c18, offsets_heap=0x7ff6c00af470, heap=0x7ff6c00af8f0, entry=0x7ff6c009bb38, trx_id=0,
    thr=0x7ff6c00aa838) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0ins.cc:2762
#15 0x0000000000c772be in row_ins_sec_index_entry (index=0x7ff6c0020c18, entry=0x7ff6c009bb38, thr=0x7ff6c00aa838)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0ins.cc:2938
#16 0x0000000000cccf96 in row_upd_sec_index_entry (node=0x7ff6c00aa538, thr=0x7ff6c00aa838)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0upd.cc:1834
#17 0x0000000000ccd0d7 in row_upd_sec_step (node=0x7ff6c00aa538, thr=0x7ff6c00aa838)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0upd.cc:1861
#18 0x0000000000cce9eb in row_upd (node=0x7ff6c00aa538, thr=0x7ff6c00aa838) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0upd.cc:2556
#19 0x0000000000ccecf1 in row_upd_step (thr=0x7ff6c00aa838) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0upd.cc:2673
#20 0x0000000000c8f98c in row_update_for_mysql (mysql_rec=0x7ff6c006fa48 "\370\001", prebuilt=0x7ff6c00a9d78)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/row/row0mysql.cc:1786
#21 0x0000000000b9c28b in ha_innobase::update_row (this=0x7ff6c006f770, old_row=0x7ff6c006fa48 "\370\001", new_row=0x7ff6c006fa38 "\370\001")
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/innobase/handler/ha_innodb.cc:7124
#22 0x0000000000699cdc in handler::ha_update_row (this=0x7ff6c006f770, old_data=0x7ff6c006fa48 "\370\001", new_data=0x7ff6c006fa38 "\370\001")
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/handler.cc:7305
#23 0x00000000008c0a06 in mysql_update (thd=0x249cfe0, table_list=0x7ff6c00050c8, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551614,
    handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7ff6f3765d08, updated_return=0x7ff6f3765d00)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_update.cc:818
#24 0x000000000082f736 in mysql_execute_command (thd=0x249cfe0) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_parse.cc:3307
#25 0x0000000000837fa9 in mysql_parse (thd=0x249cfe0, rawbuf=0x7ff6c0004ff0 "UPDATE t1 SET a=1", length=17, parser_state=0x7ff6f3766680)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_parse.cc:6357
#26 0x000000000082a92b in dispatch_command (command=COM_QUERY, thd=0x249cfe0, packet=0x25cb871 "UPDATE t1 SET a=1", packet_length=17)
    at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_parse.cc:1332
#27 0x0000000000829990 in do_command (thd=0x249cfe0) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_parse.cc:1034
#28 0x00000000007f0d8f in do_handle_one_connection (thd_arg=0x249cfe0) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_connect.cc:982
#29 0x00000000007f0860 in handle_one_connection (arg=0x249cfe0) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/sql/sql_connect.cc:898
#30 0x0000000000e5f509 in pfs_spawn_thread (arg=0x258efa0) at /export/home/pb2/build/sb_0-13622626-1415294505.52/mysqlcom-pro-5.6.23/storage/perfschema/pfs.cc:1860
#31 0x0000003deb0079d1 in start_thread () from /lib64/libpthread.so.0
#32 0x0000003deace89dd in clone () from /lib64/libc.so.6

[root@cluster-repo mysql-advanced-5.6.23]# more docs/INFO_SRC
revision-id: michael.izioumtchenko@oracle.com-20141106152508-nntohvuco3v1rjjx
date: 2014-11-06 16:25:08 +0100
build-date: 2014-11-06 18:00:43 +0100
revno: 6243
branch-nick: daily-5.6

MySQL source 5.6.23

// 
scripts/mysql_install_db --basedir=/data/ushastry/server/mysql-advanced-5.6.23 --datadir=/tmp/bug --user=root
bin/mysqld-debug --basedir=/data/ushastry/server/mysql-advanced-5.6.23 --tmpdir=/tmp/bug --datadir=/tmp/bug --core --socket=/tmp/mysql.sock  --port=3306 --log-error=/tmp/bug/log.err --maximum-bulk_insert_buffer_size=1M --maximum-join_buffer_size=1M --maximum-max_heap_table_size=1M --maximum-max_join_size=1M --maximum-myisam_max_sort_file_size=1M --maximum-myisam_mmap_size=1M --maximum-myisam_sort_buffer_size=1M --maximum-optimizer_trace_max_mem_size=1M --maximum-preload_buffer_size=1M --maximum-query_alloc_block_size=1M --maximum-query_prealloc_size=1M --maximum-range_alloc_block_size=1M --maximum-read_buffer_size=1M --maximum-read_rnd_buffer_size=1M --maximum-sort_buffer_size=1M --maximum-tmp_table_size=1M --maximum-transaction_alloc_block_size=1M --maximum-transaction_prealloc_size=1M --log-output=none --sql_mode=ONLY_FULL_GROUP_BY --user=root 2>&1 &