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

InnoDB: Failing assertion: UT_LIST_GET_LEN(trx_list) == 0 in innobase/trx/trx0sys.cc

    XMLWordPrintable

Details

    Description

      Replay using CLI

      install plugin test_sql_service soname 'test_sql_service';
      shutdown;
      

      Leads to

      10.4.32 f7552313d4e54a1cbfa5cb9bb9d06a55df7d0e95 (Optimized)

      InnoDB: Failing assertion: UT_LIST_GET_LEN(trx_list) == 0
      

      10.4.32 f7552313d4e54a1cbfa5cb9bb9d06a55df7d0e95 (Optimized)

      Core was generated by `/test/mtest/MD111123-mariadb-10.4.32-linux-x86_64-opt/bin/mariadbd --no-default'.
      Program terminated with signal SIGABRT, Aborted.
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      [Current thread is 1 (Thread 0x155299fdc7c0 (LWP 3299198))]
      (gdb) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x000015529a1b5859 in __GI_abort () at abort.c:79
      #2  0x00005603754f534c in ut_dbg_assertion_failed (expr=expr@entry=0x560376122838 "UT_LIST_GET_LEN(trx_list) == 0", file=file@entry=0x5603761226a8 "/test/mtest/10.4_opt/storage/innobase/trx/trx0sys.cc", line=line@entry=340) at /test/mtest/10.4_opt/storage/innobase/ut/ut0dbg.cc:60
      #3  0x00005603754f39ca in trx_sys_t::close (this=0x5603766baf80 <trx_sys>) at /test/mtest/10.4_opt/storage/innobase/trx/trx0sys.cc:340
      #4  0x0000560375c1fc3b in innodb_shutdown () at /test/mtest/10.4_opt/storage/innobase/srv/srv0start.cc:2539
      #5  0x0000560375b0bf7b in innobase_end () at /test/mtest/10.4_opt/storage/innobase/handler/ha_innodb.cc:4464
      #6  innobase_end () at /test/mtest/10.4_opt/storage/innobase/handler/ha_innodb.cc:4440
      #7  0x0000560375828d4b in ha_finalize_handlerton (plugin=0x560377482370) at /test/mtest/10.4_opt/sql/handler.cc:510
      #8  0x000056037562030c in plugin_deinitialize (plugin=0x560377482370, ref_check=ref_check@entry=true) at /test/mtest/10.4_opt/sql/sql_plugin.cc:1244
      #9  0x000056037562253e in reap_plugins () at /test/mtest/10.4_opt/sql/sql_plugin.cc:1320
      #10 0x0000560375623d6d in plugin_shutdown () at /test/mtest/10.4_opt/sql/sql_plugin.cc:2060
      #11 0x000056037553e6c7 in clean_up (print_message=print_message@entry=true) at /test/mtest/10.4_opt/sql/mysqld.cc:2010
      #12 0x0000560375549d5d in clean_up (print_message=true) at /test/mtest/10.4_opt/sql/mysqld.cc:5979
      #13 mysqld_main (argc=<optimized out>, argv=<optimized out>) at /test/mtest/10.4_opt/sql/mysqld.cc:5979
      #14 0x000015529a1b7083 in __libc_start_main (main=0x560375521520 <main(int, char**)>, argc=10, argv=0x7fffce977038, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffce977028) at ../csu/libc-start.c:308
      #15 0x000056037553ccde in _start () at /test/mtest/10.4_opt/include/mysql/plugin.h:211
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            ramesh Ramesh Sivaraman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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