Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.6
-
None
Description
The following assertion fails during RQG testing of MDEV-34690 fix:
#6 0x0000211154d43e96 in __GI___assert_fail (assertion=0x5acc78484e60 "mode == 16 || mode == 12",
|
file=0x5acc784839a8 "./storage/innobase/buf/buf0buf.cc", line=2576,
|
function=0x5acc78484c88 "buf_block_t* buf_page_get_low(page_id_t, ulint, ulint, buf_block_t*, ulint, mtr_t*, dberr_t*, bool, bool*)")
|
at ./assert/assert.c:101
|
#7 0x00005acc77c63a88 in buf_page_get_low (page_id=..., zip_size=0, rw_latch=1, guess=0x0, mode=10, mtr=0x4c666c6e2ec0, err=0x4c666c6e2b9c,
|
allow_ibuf_merge=false, no_wait=0x0) at ./storage/innobase/buf/buf0buf.cc:2576
|
#8 0x00005acc77c6525c in buf_page_get_gen (page_id=..., zip_size=0, rw_latch=1, guess=0x0, mode=10, mtr=0x4c666c6e2ec0, err=0x4c666c6e2b9c,
|
allow_ibuf_merge=false, no_wait=0x0) at ./storage/innobase/buf/buf0buf.cc:2963
|
#9 0x00005acc77bf8e79 in btr_block_get (index=..., page=364, mode=RW_S_LATCH, merge=true, mtr=0x4c666c6e2ec0, err=0x4c666c6e2b9c, first=0x0)
|
at ./storage/innobase/btr/btr0btr.cc:230
|
#10 0x00005acc779d25e4 in lock_release_on_prepare_try (trx=0x373355a8a580) at ./storage/innobase/lock/lock0lock.cc:4619
|
#11 0x00005acc779d2e5d in lock_release_on_prepare (trx=0x373355a8a580) at ./storage/innobase/lock/lock0lock.cc:4721
|
#12 0x00005acc77bda0b9 in trx_prepare (trx=0x373355a8a580) at ./storage/innobase/trx/trx0trx.cc:2028
|
#13 0x00005acc77bda157 in trx_prepare_for_mysql (trx=0x373355a8a580) at ./storage/innobase/trx/trx0trx.cc:2041
|
#14 0x00005acc779184a2 in innobase_xa_prepare (hton=0x5acc7adb85c8, thd=0x5fca3c000d58, prepare_trx=true)
|
at ./storage/innobase/handler/ha_innodb.cc:17112
|
#15 0x00005acc7756e682 in prepare_or_error (ht=0x5acc7adb85c8, thd=0x5fca3c000d58, all=true) at ./sql/handler.cc:1465
|
#16 0x00005acc7756e7ae in ha_prepare (thd=0x5fca3c000d58) at ./sql/handler.cc:1503
|
#17 0x00005acc774a6866 in trans_xa_prepare (thd=0x5fca3c000d58) at ./sql/xa.cc:544
|
#18 0x00005acc771de402 in mysql_execute_command (thd=0x5fca3c000d58, is_called_from_prepared_stmt=false)
|
at ./sql/sql_parse.cc:5979
|
#19 0x00005acc771e48b5 in mysql_parse (thd=0x5fca3c000d58, rawbuf=0x5fca3c013370 "XA PREPARE 'xid56' /* E_R Thread8 QNO 828 CON_ID 23 */", length=55,
|
parser_state=0x4c666c6e4370) at ./sql/sql_parse.cc:8165
|
#20 0x00005acc771d0ac9 in dispatch_command (command=COM_QUERY, thd=0x5fca3c000d58,
|
packet=0x5fca3c00af59 "XA PREPARE 'xid56' /* E_R Thread8 QNO 828 CON_ID 23 */ ", packet_length=56, blocking=true)
|
at ./sql/sql_parse.cc:1897
|
#21 0x00005acc771cf5d8 in do_command (thd=0x5fca3c000d58, blocking=true) at ./sql/sql_parse.cc:1410
|
#22 0x00005acc77385e91 in do_handle_one_connection (connect=0x5acc7afea648, put_in_cache=true)
|
at ./sql/sql_connect.cc:1417
|
#23 0x00005acc77385bfc in handle_one_connection (arg=0x5acc7afea648) at ./sql/sql_connect.cc:1319
|
#24 0x0000211154d9eac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#25 0x0000211154e2fa04 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
|
Attachments
Issue Links
- duplicates
-
MDEV-34690 lock_rec_unlock_unmodified() causes deadlock
- Closed
- is caused by
-
MDEV-33454 release row locks for non-modified rows at XA PREPARE
- Closed
- relates to
-
MDEV-32020 XA transaction replicates incorrectly, must be applied at XA COMMIT, not XA PREPARE
- Open