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

Assertion `share->now_transactional == share->base.born_transactional' failed in maria_close

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8
    • 10.4, 10.5, 10.6
    • Storage Engine - Aria
    • None
    • Ubuntu 17.10 but most probably unimportant

    Description

      10.3 c664c48726cdfa

      mysqld: /data/src/10.3/storage/maria/ma_close.c:182: maria_close: Assertion `share->now_transactional == share->base.born_transactional' failed.
      180103 11:29:49 [ERROR] mysqld got signal 6 ;
       
      Query (0x7fa040013828): ALTER TABLE t1 ADD UNIQUE KEY uidx ( col1 ) /* QNO 536 CON_ID 16 */
      Connection ID (thread ID): 16
      Status: NOT_KILLED
      

      #5  0x00007fa0c50ba448 in __GI_abort () at abort.c:89
      #6  0x00007fa0c50b2266 in __assert_fail_base (fmt=0x7fa0c51eaf18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fa0c86483f0 "share->now_transactional == share->base.born_transactional", file=file@entry=0x7fa0c8648230 "/data/src/10.3/storage/maria/ma_close.c", line=line@entry=182, function=function@entry=0x7fa0c8648463 <__PRETTY_FUNCTION__.15205> "maria_close") at assert.c:92
      #7  0x00007fa0c50b2312 in __GI___assert_fail (assertion=0x7fa0c86483f0 "share->now_transactional == share->base.born_transactional", file=0x7fa0c8648230 "/data/src/10.3/storage/maria/ma_close.c", line=182, function=0x7fa0c8648463 <__PRETTY_FUNCTION__.15205> "maria_close") at assert.c:101
      #8  0x00007fa0c815a3f5 in maria_close (info=0x7fa03408f490) at /data/src/10.3/storage/maria/ma_close.c:182
      #9  0x00007fa0c80d2924 in ha_maria::close (this=0x7fa03408ed08) at /data/src/10.3/storage/maria/ha_maria.cc:1274
      #10 0x00007fa0c7a7e0f8 in handler::ha_close (this=0x7fa03408ed08) at /data/src/10.3/sql/handler.cc:2711
      #11 0x00007fa0c78b2a7d in closefrm (table=0x7fa03408e0e0) at /data/src/10.3/sql/table.cc:3454
      #12 0x00007fa0c79b8940 in intern_close_table (table=0x7fa03408e0e0) at /data/src/10.3/sql/table_cache.cc:222
      #13 0x00007fa0c79b8adf in tc_remove_table (table=0x7fa03408e0e0) at /data/src/10.3/sql/table_cache.cc:260
      #14 0x00007fa0c79b944c in tc_release_table (table=0x7fa03408e0e0) at /data/src/10.3/sql/table_cache.cc:472
      #15 0x00007fa0c7724436 in close_thread_table (thd=0x7fa040000b00, table_ptr=0x7fa040000bc0) at /data/src/10.3/sql/sql_base.cc:906
      #16 0x00007fa0c7723c9b in close_all_tables_for_name (thd=0x7fa040000b00, share=0x7fa0300a6998, extra=HA_EXTRA_NOT_USED, skip_table=0x0) at /data/src/10.3/sql/sql_base.cc:674
      #17 0x00007fa0c7880c80 in mysql_alter_table (thd=0x7fa040000b00, new_db=0x7fa040013f70 "test", new_name=0x0, create_info=0x7fa0c40ecdb0, table_list=0x7fa040013960, alter_info=0x7fa0c40ecd00, order_num=0, order=0x0, ignore=false) at /data/src/10.3/sql/sql_table.cc:9614
      #18 0x00007fa0c790088b in Sql_cmd_alter_table::execute (this=0x7fa040014040, thd=0x7fa040000b00) at /data/src/10.3/sql/sql_alter.cc:331
      #19 0x00007fa0c77b18f8 in mysql_execute_command (thd=0x7fa040000b00) at /data/src/10.3/sql/sql_parse.cc:6251
      #20 0x00007fa0c77b6308 in mysql_parse (thd=0x7fa040000b00, rawbuf=0x7fa040013828 "ALTER TABLE t1 ADD UNIQUE KEY uidx ( col1 ) /* QNO 536 CON_ID 16 */", length=67, parser_state=0x7fa0c40ee660, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7966
      #21 0x00007fa0c77a3c7d in dispatch_command (command=COM_QUERY, thd=0x7fa040000b00, packet=0x7fa04000b061 "ALTER TABLE t1 ADD UNIQUE KEY uidx ( col1 ) /* QNO 536 CON_ID 16 */ ", packet_length=68, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1824
      #22 0x00007fa0c77a26b1 in do_command (thd=0x7fa040000b00) at /data/src/10.3/sql/sql_parse.cc:1369
      #23 0x00007fa0c78fb400 in do_handle_one_connection (connect=0x7fa0cb7460c0) at /data/src/10.3/sql/sql_connect.cc:1420
      #24 0x00007fa0c78fb18d in handle_one_connection (arg=0x7fa0cb7460c0) at /data/src/10.3/sql/sql_connect.cc:1326
      #25 0x00007fa0c6d19064 in start_thread (arg=0x7fa0c40ef700) at pthread_create.c:309
      #26 0x00007fa0c516c62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        1. MDEV-14865_new.tgz
          2 kB
        2. MDEV-14865.tgz
          8 kB
        3. mysql.log
          289 kB
        4. threads
          53 kB

        Issue Links

          Activity

            People

              monty Michael Widenius
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.