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

tokudb_savepoint: Assertion `Handlerton: trx->stmt ' failed in tokudb/hatoku_hton.cc on running with embedded server

    XMLWordPrintable

Details

    Description

      perl ./mtr --embedded tokudb_bugs.db817
      

      Stack trace from 10.1 f35e918989

      storage/tokudb/hatoku_hton.cc:1038 tokudb_savepoint: Assertion `Handlerton: trx->stmt ' failed (errno=2)
       
      #7  0x00007f906424be32 in toku_do_assert_fail (expr_as_string=0x7f904ca4fea0 "Handlerton: trx->stmt ", function=0x7f9064253a10 <tokudb_savepoint(handlerton*, THD*, void*)::__FUNCTION__> "tokudb_savepoint", file=0x7f90642517a0 "/data/src/10.1-bug3/storage/tokudb/hatoku_hton.cc", line=1038, caller_errno=2) at /data/src/10.1-bug3/storage/tokudb/PerconaFT/portability/toku_assert.cc:168
      #8  0x00007f906414fc8a in env_crash (db_env=0x7f906ae450d0, msg=0x7f904ca4fea0 "Handlerton: trx->stmt ", fun=0x7f9064253a10 <tokudb_savepoint(handlerton*, THD*, void*)::__FUNCTION__> "tokudb_savepoint", file=0x7f90642517a0 "/data/src/10.1-bug3/storage/tokudb/hatoku_hton.cc", line=1038, caller_errno=2) at /data/src/10.1-bug3/storage/tokudb/PerconaFT/src/ydb.cc:2402
      #9  0x00007f90641362be in toku_hton_assert_fail (expr_as_string=0x7f9064251ee9 "trx->stmt", fun=0x7f9064253a10 <tokudb_savepoint(handlerton*, THD*, void*)::__FUNCTION__> "tokudb_savepoint", file=0x7f90642517a0 "/data/src/10.1-bug3/storage/tokudb/hatoku_hton.cc", line=1038, caller_errno=2) at /data/src/10.1-bug3/storage/tokudb/hatoku_hton.cc:162
      #10 0x00007f9064139b16 in tokudb_savepoint (hton=0x7f906ae297c0, thd=0x7f906ae73c50, savepoint=0x7f906afe4858) at /data/src/10.1-bug3/storage/tokudb/hatoku_hton.cc:1038
      #11 0x00007f9067896275 in ha_savepoint (thd=0x7f906ae73c50, sv=0x7f906afe4828) at /data/src/10.1-bug3/sql/handler.cc:2168
      #12 0x00007f9067919095 in trans_savepoint (thd=0x7f906ae73c50, name=...) at /data/src/10.1-bug3/sql/transaction.cc:570
      #13 0x00007f9067506851 in mysql_execute_command (thd=0x7f906ae73c50) at /data/src/10.1-bug3/sql/sql_parse.cc:5087
      #14 0x00007f906750a3a5 in mysql_parse (thd=0x7f906ae73c50, rawbuf=0x7f906b008378 "savepoint b", length=11, parser_state=0x7f904ca50a80) at /data/src/10.1-bug3/sql/sql_parse.cc:7318
      #15 0x00007f90674ff5a9 in dispatch_command (command=COM_QUERY, thd=0x7f906ae73c50, packet=0x7f906afecac0 "savepoint b", packet_length=11) at /data/src/10.1-bug3/sql/sql_parse.cc:1487
      #16 0x00007f90674f1213 in emb_advanced_command (mysql=0x7f906adefb80, command=COM_QUERY, header=0x0, header_length=0, arg=0x7f906afecac0 "savepoint b", arg_length=11, skip_check=1 '\001', stmt=0x0) at /data/src/10.1-bug3/libmysqld/lib_sql.cc:168
      #17 0x00007f90675d3a3f in mysql_send_query (mysql=0x7f906adefb80, query=0x7f906afecac0 "savepoint b", length=11) at /data/src/10.1-bug3/sql-common/client.c:4067
      #18 0x00007f906749c8bd in connection_thread (arg=0x7f906ada03b0) at /data/src/10.1-bug3/client/mysqltest.cc:880
      #19 0x00007f9066c760a4 in start_thread (arg=0x7f904ca51b00) at pthread_create.c:309
      #20 0x00007f9064e6387d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            elenst Elena Stepanova
            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.