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

Server crashes in MDL_ticket::has_stronger_or_equal_type upon inserting into temporary sequence

    XMLWordPrintable

    Details

      Description

      --source include/have_innodb.inc
      CREATE TEMPORARY SEQUENCE s ENGINE=InnoDB;
      INSERT INTO s VALUES (1, 1, 1000, 1, 1, 1, 1, 0);
      

      10.3 1761e382088b3

      #3  <signal handler called>
      #4  0x0000561c1d437ea5 in MDL_ticket::has_stronger_or_equal_type (this=0x0, type=MDL_EXCLUSIVE) at /data/src/10.3/sql/mdl.cc:1721
      #5  0x0000561c1d439324 in MDL_context::upgrade_shared_lock (this=0x7fe520000c00, mdl_ticket=0x0, new_type=MDL_EXCLUSIVE, lock_wait_timeout=86400) at /data/src/10.3/sql/mdl.cc:2329
      #6  0x0000561c1dd559cb in ha_sequence::write_row (this=0x7fe52011fc08, buf=0x7fe520120108 "\377\001") at /data/src/10.3/sql/ha_sequence.cc:240
      #7  0x0000561c1d5b7d75 in handler::ha_write_row (this=0x7fe52011fc08, buf=0x7fe520120108 "\377\001") at /data/src/10.3/sql/handler.cc:6196
      #8  0x0000561c1d2ab739 in write_record (thd=0x7fe520000b00, table=0x7fe520189900, info=0x7fe56c22c3b0) at /data/src/10.3/sql/sql_insert.cc:1932
      #9  0x0000561c1d2a90c2 in mysql_insert (thd=0x7fe520000b00, table_list=0x7fe520014c68, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.3/sql/sql_insert.cc:1060
      #10 0x0000561c1d2ddf0e in mysql_execute_command (thd=0x7fe520000b00) at /data/src/10.3/sql/sql_parse.cc:4696
      #11 0x0000561c1d2e853a in mysql_parse (thd=0x7fe520000b00, rawbuf=0x7fe520014b58 "INSERT INTO s VALUES (1, 1, 1000, 1, 1, 1, 1, 0)", length=48, parser_state=0x7fe56c22d610, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7966
      #12 0x0000561c1d2d5eaf in dispatch_command (command=COM_QUERY, thd=0x7fe520000b00, packet=0x7fe52000b061 "INSERT INTO s VALUES (1, 1, 1000, 1, 1, 1, 1, 0)", packet_length=48, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1824
      #13 0x0000561c1d2d48e3 in do_command (thd=0x7fe520000b00) at /data/src/10.3/sql/sql_parse.cc:1369
      #14 0x0000561c1d42e35a in do_handle_one_connection (connect=0x561c20c5c0e0) at /data/src/10.3/sql/sql_connect.cc:1420
      #15 0x0000561c1d42e0e7 in handle_one_connection (arg=0x561c20c5c0e0) at /data/src/10.3/sql/sql_connect.cc:1326
      #16 0x0000561c1d8bb1e6 in pfs_spawn_thread (arg=0x561c20bb62a0) at /data/src/10.3/storage/perfschema/pfs.cc:1863
      #17 0x00007fe5762fe494 in start_thread (arg=0x7fe56c22e700) at pthread_create.c:333
      #18 0x00007fe5746e493f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

        Attachments

          Activity

            People

            Assignee:
            monty Michael Widenius
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: