Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14407

Assertion `len < ((ulint) srv_page_size)' failed in trx_undo_rec_copy upon rollback

    XMLWordPrintable

Details

    Description

      10.3 c2a868b18cdffc

      mysqld: /data/src/10.3/storage/innobase/include/trx0rec.ic:68: trx_undo_rec_t* trx_undo_rec_copy(const trx_undo_rec_t*, mem_heap_t*): Assertion `len < ((ulint) srv_page_size)' failed.
      171115 13:08:05 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007fdc661c9ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x000055c8bc4061a5 in trx_undo_rec_copy (undo_rec=0x7fdc5bc7b082 "", heap=0x7fdc0c4a31d0) at /data/src/10.3/storage/innobase/include/trx0rec.ic:68
      #9  0x000055c8bc40cb8f in trx_undo_get_undo_rec_low (roll_ptr=22236523175227522, is_temp=true, heap=0x7fdc0c4a31d0) at /data/src/10.3/storage/innobase/trx/trx0rec.cc:2103
      #10 0x000055c8bc40cc8b in trx_undo_get_undo_rec (roll_ptr=22236523175227522, is_temp=true, heap=0x7fdc0c4a31d0, trx_id=5759, name=..., undo_rec=0x7fdc5853e630) at /data/src/10.3/storage/innobase/trx/trx0rec.cc:2139
      #11 0x000055c8bc40cf35 in trx_undo_prev_version_build (index_rec=0x7fdc5bae81e9 "", index_mtr=0x7fdc5853ef90, rec=0x7fdc0c4a2ec6 "", index=0x7fdc0c204248, offsets=0x7fdc0c4a2f38, heap=0x7fdc0c4a31d0, old_vers=0x7fdc
      5853e720, v_heap=0x0, vrow=0x0, v_status=0) at /data/src/10.3/storage/innobase/trx/trx0rec.cc:2223
      #12 0x000055c8bc3c1bfa in row_vers_old_has_index_entry (also_curr=0, rec=0x7fdc5bae81e9 "", mtr=0x7fdc5853ef90, index=0x7fdc0c343208, ientry=0x7fdc0c4a2938, roll_ptr=0, trx_id=0) at /data/src/10.3/storage/innobase/r
      ow/row0vers.cc:1032
      #13 0x000055c8bc5c3cda in row_undo_mod_del_mark_or_remove_sec_low (node=0x7fdc0c4a2398, thr=0x7fdc0c18dab0, index=0x7fdc0c343208, entry=0x7fdc0c4a2938, mode=2) at /data/src/10.3/storage/innobase/row/row0umod.cc:512
      #14 0x000055c8bc5c4030 in row_undo_mod_del_mark_or_remove_sec (node=0x7fdc0c4a2398, thr=0x7fdc0c18dab0, index=0x7fdc0c343208, entry=0x7fdc0c4a2938) at /data/src/10.3/storage/innobase/row/row0umod.cc:584
      #15 0x000055c8bc5c5492 in row_undo_mod_upd_exist_sec (node=0x7fdc0c4a2398, thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/row/row0umod.cc:1064
      #16 0x000055c8bc5c5d90 in row_undo_mod (node=0x7fdc0c4a2398, thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/row/row0umod.cc:1268
      #17 0x000055c8bc3aa43e in row_undo (node=0x7fdc0c4a2398, thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/row/row0undo.cc:305
      #18 0x000055c8bc3aa56a in row_undo_step (thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/row/row0undo.cc:346
      #19 0x000055c8bc2fa8c4 in que_thr_step (thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/que/que0que.cc:1052
      #20 0x000055c8bc2fab0b in que_run_threads_low (thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/que/que0que.cc:1116
      #21 0x000055c8bc2faced in que_run_threads (thr=0x7fdc0c18dab0) at /data/src/10.3/storage/innobase/que/que0que.cc:1156
      #22 0x000055c8bc40ffb5 in trx_rollback_to_savepoint_low (trx=0x7fdc600f5878, savept=0x0) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:118
      #23 0x000055c8bc410334 in trx_rollback_for_mysql_low (trx=0x7fdc600f5878) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:180
      #24 0x000055c8bc4106ff in trx_rollback_low (trx=0x7fdc600f5878) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:212
      #25 0x000055c8bc410bf5 in trx_rollback_for_mysql (trx=0x7fdc600f5878) at /data/src/10.3/storage/innobase/trx/trx0roll.cc:291
      #26 0x000055c8bc1edf02 in innobase_rollback (hton=0x55c8be5b0900, thd=0x7fdc0c000b00, rollback_trx=true) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:4651
      #27 0x000055c8bbecb705 in ha_rollback_trans (thd=0x7fdc0c000b00, all=true) at /data/src/10.3/sql/handler.cc:1679
      #28 0x000055c8bbd69eed in trans_rollback (thd=0x7fdc0c000b00) at /data/src/10.3/sql/transaction.cc:415
      #29 0x000055c8bbc0a5ce in mysql_execute_command (thd=0x7fdc0c000b00) at /data/src/10.3/sql/sql_parse.cc:5796
      #30 0x000055c8bbc1071e in mysql_parse (thd=0x7fdc0c000b00, rawbuf=0x7fdc0c013788 "ROLLBACK /* QNO 15244 CON_ID 15 */", length=34, parser_state=0x7fdc58541610, is_com_multi=false, is_next_command=false) at /data/src/
      10.3/sql/sql_parse.cc:7922
      #31 0x000055c8bbbfe1f4 in dispatch_command (command=COM_QUERY, thd=0x7fdc0c000b00, packet=0x7fdc0c00af71 "ROLLBACK /* QNO 15244 CON_ID 15 */", packet_length=34, is_com_multi=false, is_next_command=false) at /data/sr
      c/10.3/sql/sql_parse.cc:1828
      #32 0x000055c8bbbfcc15 in do_command (thd=0x7fdc0c000b00) at /data/src/10.3/sql/sql_parse.cc:1370
      #33 0x000055c8bbd540ca in do_handle_one_connection (connect=0x55c8bebbb290) at /data/src/10.3/sql/sql_connect.cc:1418
      #34 0x000055c8bbd53e57 in handle_one_connection (arg=0x55c8bebbb290) at /data/src/10.3/sql/sql_connect.cc:1324
      #35 0x000055c8bc1d4bdc in pfs_spawn_thread (arg=0x55c8beb57b80) at /data/src/10.3/storage/perfschema/pfs.cc:1863
      #36 0x00007fdc67ea0494 in start_thread (arg=0x7fdc58542700) at pthread_create.c:333
      #37 0x00007fdc6628693f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      perl ./mtr bug.t9 --mysqld=--sql-mode=no_engine_substitution --mysqld=--lock-wait-timeout=5 --mysqld=--innodb-lock-wait-timeout=3 --testcase-timeout=300
      

      (with --repeat if necessary)

      Attachments

        Activity

          People

            marko Marko Mäkelä
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.