[MDEV-14120] [Draft] InnoDB: Failing assertion: ret Created: 2017-10-24  Updated: 2018-02-21

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File master.log     File master1.err     HTML File threads1    

 Description   

10.3 3722372ae56b

2017-10-25 01:54:20 0x7f749832b700  InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/btr/btr0cur.cc line 7062
InnoDB: Failing assertion: ret
 
#6  0x00005649d9e81b4a in ut_dbg_assertion_failed (expr=0x5649da41ba08 "ret", file=0x5649da41d598 "/data/src/10.3/storage/innobase/btr/btr0cur.cc", line=7062) at /data/src/10.3/storage/innobase/ut/ut0dbg.cc:61
#7  0x00005649d9ec6c08 in btr_blob_log_check_t::check (this=0x7f7498326fa0) at /data/src/10.3/storage/innobase/btr/btr0cur.cc:7062
#8  0x00005649d9ec3015 in btr_store_big_rec_extern_fields (pcur=0x7f7498327ae0, upd=0x0, offsets=0x7f74983282e0, big_rec_vec=0x7f742c0fe078, btr_mtr=0x7f7498327be0, op=BTR_STORE_INSERT) at /data/src/10.3/storage/innobase/btr/btr0cur.cc:7234
#9  0x00005649d9d7d50d in row_ins_index_entry_big_rec (entry=0x7f742c0dc678, big_rec=0x7f742c0fe078, offsets=0x7f74983282e0, heap=0x7f7498328170, thd=0x7f742c000b00, index=0x7f74300f70d8) at /data/src/10.3/storage/innobase/row/row0ins.cc:2507
#10 0x00005649d9d7e42e in row_ins_clust_index_entry_low (flags=0, mode=2, index=0x7f74300f70d8, n_uniq=1, entry=0x7f742c0dc678, n_ext=0, thr=0x7f74385b54a0, dup_chk_only=false) at /data/src/10.3/storage/innobase/row/row0ins.cc:2785
#11 0x00005649d9d7fa9f in row_ins_clust_index_entry (index=0x7f74300f70d8, entry=0x7f742c0dc678, thr=0x7f74385b54a0, n_ext=0, dup_chk_only=false) at /data/src/10.3/storage/innobase/row/row0ins.cc:3244
#12 0x00005649d9d7fede in row_ins_index_entry (index=0x7f74300f70d8, entry=0x7f742c0dc678, thr=0x7f74385b54a0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3359
#13 0x00005649d9d8048c in row_ins_index_entry_step (node=0x7f74385b51f0, thr=0x7f74385b54a0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3509
#14 0x00005649d9d80867 in row_ins (node=0x7f74385b51f0, thr=0x7f74385b54a0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3651
#15 0x00005649d9d810bc in row_ins_step (thr=0x7f74385b54a0) at /data/src/10.3/storage/innobase/row/row0ins.cc:3855
#16 0x00005649d9da0430 in row_insert_for_mysql (mysql_rec=0x7f743851adb8 "\374\001 п\017,t\177", prebuilt=0x7f74385b4c38) at /data/src/10.3/storage/innobase/row/row0mysql.cc:1489
#17 0x00005649d9c45d9c in ha_innobase::write_row (this=0x7f7438581968, record=0x7f743851adb8 "\374\001 п\017,t\177") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8347
#18 0x00005649d9928451 in handler::ha_write_row (this=0x7f7438581968, buf=0x7f743851adb8 "\374\001 п\017,t\177") at /data/src/10.3/sql/handler.cc:6022
#19 0x00005649d962b25f in write_record (thd=0x7f742c000b00, table=0x7f7438593250, info=0x7f7498329400) at /data/src/10.3/sql/sql_insert.cc:1929
#20 0x00005649d9628be4 in mysql_insert (thd=0x7f742c000b00, table_list=0x7f742c0138c0, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.3/sql/sql_insert.cc:1057
#21 0x00005649d965c1f2 in mysql_execute_command (thd=0x7f742c000b00) at /data/src/10.3/sql/sql_parse.cc:4684
#22 0x00005649d9666a1c in mysql_parse (thd=0x7f742c000b00, rawbuf=0x7f742c0136e8 "INSERT INTO t1 (col1,col2,col3,col4) VALUES ( 4, 4 - 1, 4, REPEAT(CAST(4 AS CHAR(1)),@fill_amount)) /* QNO 14979 CON_ID 17 */", length=125, parser_state=0x7f749832a660, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7921
#23 0x00005649d96541bd in dispatch_command (command=COM_QUERY, thd=0x7f742c000b00, packet=0x7f742c00ae01 "INSERT INTO t1 (col1,col2,col3,col4) VALUES ( 4, 4 - 1, 4, REPEAT(CAST(4 AS CHAR(1)),@fill_amount)) /* QNO 14979 CON_ID 17 */ ", packet_length=126, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1819
#24 0x00005649d9652c1b in do_command (thd=0x7f742c000b00) at /data/src/10.3/sql/sql_parse.cc:1370
#25 0x00005649d97a99f4 in do_handle_one_connection (connect=0x5649dda763e0) at /data/src/10.3/sql/sql_connect.cc:1418
#26 0x00005649d97a9781 in handle_one_connection (arg=0x5649dda763e0) at /data/src/10.3/sql/sql_connect.cc:1324
#27 0x00007f749e0fd494 in start_thread (arg=0x7f749832b700) at pthread_create.c:333
#28 0x00007f749c27593f in clone () from /lib/x86_64-linux-gnu/libc.so.6

experimental 9f5fdd0d14391ae

perl ./runall.pl --no-mask --seed=1508496021 --threads=3 --duration=400 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock,Shutdown --redefine=conf/mariadb/redefine_random_keys.yy --redefine=conf/mariadb/redefine_set_session_vars.yy --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,DisableOptimizations,EnableOptimizations,ExecuteAsCTE,ExecuteAsInsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsExecuteImmediate --grammar=conf/runtime/alter_online.yy --gendata=conf/runtime/alter_online.zz --mtr-build-thread=150 --basedir1=/data/bld/10.3 --vardir1=/dev/shm/vardir2



 Comments   
Comment by Elena Stepanova [ 2017-11-07 ]

Fresh occurrence:
http://buildbot.askmonty.org/buildbot/builders/qa-win-debug/builds/751/steps/crash_tests/logs/stdio

Comment by Marko Mäkelä [ 2018-02-21 ]

Relevant code:

			bool ret = btr_pcur_restore_position(
				BTR_MODIFY_LEAF | BTR_MODIFY_EXTERNAL,
				m_pcur, m_mtr);
 
			ut_a(ret);

This cannot be a duplicate of MDEV-14111 because that one was fixed on October 26, and there were further occurrences after that.

Generated at Thu Feb 08 08:11:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.