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

Assertion `trx->xid.is_null()' failed during test wsrep.wsrep-recover

    XMLWordPrintable

Details

    Description

      The test has started to fail after MDEV-24035 with assertion `trx->xid.is_null()' in innobase_rollback_by_xid():

      20:33:09 #10 0x00007754bec2871b in __assert_fail_base (fmt=0x7754beddd130 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x56b0d0ae820d "trx->xid.is_null()", file=0x56b0d0aebeb0 "/tmp/workspace/mariadb-10.6-build/storage/innobase/handler/ha_innodb.cc", line=3079, function=<optimized out>) at ./assert/assert.c:92
      20:33:09 #11 0x00007754bec39e96 in __GI___assert_fail (assertion=0x56b0d0ae820d "trx->xid.is_null()", file=0x56b0d0aebeb0 "/tmp/workspace/mariadb-10.6-build/storage/innobase/handler/ha_innodb.cc", line=3079, function=0x56b0d0aecb90 "int innobase_rollback_by_xid(handlerton*, XID*)") at ./assert/assert.c:101
      20:33:09 #12 0x000056b0d01b7556 in innobase_rollback_by_xid (xid=<optimized out>) at /tmp/workspace/mariadb-10.6-build/storage/innobase/handler/ha_innodb.cc:3079
      20:33:09 #13 0x000056b0cfde6206 in xarecover_do_commit_or_rollback (arg=0xd1baac64a8225aa9, hton=<optimized out>) at /tmp/workspace/mariadb-10.6-build/sql/handler.cc:2633
      20:33:09 #14 xarecover_do_commit_or_rollback_handlerton (unused=unused@entry=0x0, plugin=<optimized out>, arg=arg@entry=0x7ffd30ef7c20) at /tmp/workspace/mariadb-10.6-build/sql/handler.cc:2666
      20:33:09 #15 0x000056b0cfb17b1d in plugin_foreach_with_mask (thd=thd@entry=0x0, func=func@entry=0x56b0cfde6131 <xarecover_do_commit_or_rollback_handlerton(THD*, plugin_ref, void*)>, type=type@entry=1, state_mask=state_mask@entry=8, arg=arg@entry=0x7ffd30ef7c20) at /tmp/workspace/mariadb-10.6-build/sql/sql_plugin.cc:2559
      20:33:09 #16 0x000056b0cfde5fe2 in xarecover_complete_and_count (member_arg=0x56b0d40d8a40, param_arg=0x7ffd30ef7c20) at /tmp/workspace/mariadb-10.6-build/sql/handler.cc:2686
      20:33:09 #17 0x000056b0d06420f2 in my_hash_iterate (hash=0x7ffd30ef7d70, action=0x56b0cfde5fb4 <xarecover_complete_and_count(void*, void*)>, argument=0x7ffd30ef7c20) at /tmp/workspace/mariadb-10.6-build/mysys/hash.c:801
      20:33:09 #18 0x000056b0cfded077 in ha_recover_complete (commit_list=<optimized out>, coord=<optimized out>) at /tmp/workspace/mariadb-10.6-build/sql/handler.cc:2708
      20:33:09 #19 0x000056b0cff404df in Recovery_context::complete (this=this@entry=0x7ffd30ef81c0, log=log@entry=0x56b0d12ab020 <mysql_bin_log>, xids=...) at /tmp/workspace/mariadb-10.6-build/sql/log.cc:10987
      20:33:09 #20 0x000056b0cff41c4b in MYSQL_BIN_LOG::recover (this=this@entry=0x56b0d12ab020 <mysql_bin_log>, linfo=linfo@entry=0x7ffd30ef8bb0, last_log_name=last_log_name@entry=0x7ffd30ef89b0 "./mysqld-bin.000007", first_log=first_log@entry=0x7ffd30ef8840, fdle=fdle@entry=0x56b0d3b41b68, do_xa=do_xa@entry=true) at /tmp/workspace/mariadb-10.6-build/sql/log.cc:11581
      20:33:09 #21 0x000056b0cff420da in MYSQL_BIN_LOG::do_binlog_recovery (this=this@entry=0x56b0d12ab020 <mysql_bin_log>, opt_name=opt_name@entry=0x56b0d3b5d180 "mysqld-bin", do_xa_recovery=do_xa_recovery@entry=true) at /tmp/workspace/mariadb-10.6-build/sql/log.cc:11678
      20:33:09 #22 0x000056b0cff46c65 in MYSQL_BIN_LOG::open (this=0x56b0d12ab020 <mysql_bin_log>, opt_name=0x56b0d3b5d180 "mysqld-bin") at /tmp/workspace/mariadb-10.6-build/sql/log.cc:10346
      20:33:09 #23 0x000056b0cf9ee055 in init_server_components () at /tmp/workspace/mariadb-10.6-build/sql/mysqld.cc:5378
      20:33:09 #24 0x000056b0cf9f478a in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /tmp/workspace/mariadb-10.6-build/sql/mysqld.cc:5767
      20:33:09 #25 0x000056b0cf9e70b2 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/workspace/mariadb-10.6-build/sql/main.cc:34
      

      Attachments

        Issue Links

          Activity

            People

              sciascid Daniele Sciascia
              sciascid Daniele Sciascia
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.