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

Assertion `0' failed in Protocol::end_statement upon concurrent UPDATE

    XMLWordPrintable

Details

    Description

      --source include/have_innodb.inc
       
      CREATE OR REPLACE TABLE t1 (pk INT, a CHAR(3), b CHAR(3), PRIMARY KEY(pk)) 
        ENGINE=InnoDB WITH SYSTEM VERSIONING CHARACTER SET ucs2;
       
      INSERT INTO t1 (pk) VALUES (1);
       
      --connect (con1,localhost,root,,test)
      --send
        UPDATE t1 SET a = 'bar';
       
      --connection default
      UPDATE t1 SET b = 'foo';
      --connection con1
      --reap
       
      # Cleanup
      --disconnect con1
      --connection default
      DROP TABLE t1;
      

      10.3 ec32c050726

      mysqld: /data/src/10.3/sql/protocol.cc:587: void Protocol::end_statement(): Assertion `0' failed.
      180123  1:21:57 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f29141b0ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x000055a48947503c in Protocol::end_statement (this=0x7f28b00010e0) at /data/src/10.3/sql/protocol.cc:587
      #9  0x000055a4895526a6 in dispatch_command (command=COM_QUERY, thd=0x7f28b0000b00, packet=0x7f28b000b141 "UPDATE t1 SET a = 'bar'", packet_length=23, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:2381
      #10 0x000055a48954f523 in do_command (thd=0x7f28b0000b00) at /data/src/10.3/sql/sql_parse.cc:1370
      #11 0x000055a4896b6768 in do_handle_one_connection (connect=0x55a48c3408c0) at /data/src/10.3/sql/sql_connect.cc:1401
      #12 0x000055a4896b64f5 in handle_one_connection (arg=0x55a48c3408c0) at /data/src/10.3/sql/sql_connect.cc:1307
      #13 0x000055a489b540b8 in pfs_spawn_thread (arg=0x55a48c3496a0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #14 0x00007f2915e87494 in start_thread (arg=0x7f290455f700) at pthread_create.c:333
      #15 0x00007f291426d93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      No visible effect on non-debug build.

      Attachments

        Issue Links

          Activity

            People

              kevg Eugene Kosov (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.