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

Assertion failure in Protocol::end_statement upon meaningless FTS query on sequence

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.6(EOL), 10.11, 11.4, 11.8, 12.3, 13.0
    • 10.11, 11.4, 11.8, 12.3
    • Sequences
    • None

    Description

      CREATE SEQUENCE s ENGINE=MyISAM;
      SELECT * FROM s WHERE MATCH (increment) AGAINST ("x" IN BOOLEAN MODE);
       
      DROP SEQUENCE s;
      

      10.11 bd127faa659bffb91cd659c5f739af30c8aba690

      mariadbd: /data/bld/10.11-asan-ubsan/sql/protocol.cc:618: void Protocol::end_statement(): Assertion `0' failed.
      260814 21:54:15 [ERROR] /share8t/bld/10.11-asan-ubsan/sql/mariadbd got signal 6 ;
       
      #10 0x00007fa697252ec2 in __GI___assert_fail (assertion=0x55f922423660 "0", file=0x55f922423380 "/data/bld/10.11-asan-ubsan/sql/protocol.cc", line=618, function=0x55f922425520 "void Protocol::end_statement()") at ./assert/assert.c:103
      #11 0x000055f91e5e1d8f in Protocol::end_statement (this=this@entry=0x62c0000b0838) at /data/bld/10.11-asan-ubsan/sql/protocol.cc:618
      #12 0x000055f91ec17efb in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x62c0000b0218, packet=<optimized out>, packet@entry=0x62900024e219 "SELECT * FROM s WHERE MATCH (increment) AGAINST (\"x\" IN BOOLEAN MODE)", packet_length=packet_length@entry=69, blocking=blocking@entry=true) at /data/bld/10.11-asan-ubsan/sql/sql_parse.cc:2466
      #13 0x000055f91ec1c701 in do_command (thd=thd@entry=0x62c0000b0218, blocking=blocking@entry=true) at /data/bld/10.11-asan-ubsan/sql/sql_parse.cc:1434
      #14 0x000055f91f414e1a in do_handle_one_connection (connect=<optimized out>, connect@entry=0x608000003a38, put_in_cache=put_in_cache@entry=true) at /data/bld/10.11-asan-ubsan/sql/sql_connect.cc:1486
      #15 0x000055f91f415f77 in handle_one_connection (arg=0x608000003a38) at /data/bld/10.11-asan-ubsan/sql/sql_connect.cc:1398
      #16 0x000055f920d61155 in pfs_spawn_thread (arg=0x617000005f18) at /data/bld/10.11-asan-ubsan/storage/perfschema/pfs.cc:2201
      #17 0x00007fa6972a71f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
      #18 0x00007fa6973278ec in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
      

      No obvious problem on a non-debug build.

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.