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

Protocol::end_statement(): Assertion `0' failed with invalid xmltype + sql_mode=''

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 12.3
    • 12.3
    • XML
    • None

    Description

      set sql_mode='';
      CREATE TABLE t1(x XMLTYPE);
      INSERT INTO t1 SELECT 'a';
      

      mariadbd: /12.3/src/sql/protocol.cc:639: void Protocol::end_statement(): Assertion `0' failed.
      260512 17:07:45 [ERROR] /12.3/bld/sql/mariadbd got signal 6 ;
       
      Server version: 12.3.2-MariaDB-asan-debug-log source revision: 181f13ec49fdf14a873e9ebf7440133b3e0d70d9
       
      posix/raise.c:27(__GI_raise)[0x75ed5fe4527e]
      stdlib/abort.c:81(__GI_abort)[0x75ed5fe288ff]
      intl/loadmsgcat.c:1177(_nl_load_domain)[0x75ed5fe2881b]
      /lib/x86_64-linux-gnu/libc.so.6(+0x3b517)[0x75ed5fe3b517]
      sql/protocol.cc:640(Protocol::end_statement())[0x5d8fc1877429]
      sql/sql_parse.cc:2453(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x5d8fc1bb4b61]
      sql/sql_parse.cc:1437(do_command(THD*, bool))[0x5d8fc1bb6706]
      sql/sql_connect.cc:1503(do_handle_one_connection(CONNECT*, bool))[0x5d8fc20774bc]
      sql/sql_connect.cc:1415(handle_one_connection)[0x5d8fc20779a1]
      /home/alice/am/m5-12.3/bld/sql/mariadbd(+0x273f958)[0x5d8fc2d5c958]
      asan/asan_interceptors.cpp:234(asan_thread_start(void*))[0x75ed60e5ea42]
      nptl/pthread_create.c:447(start_thread)[0x75ed5fe9caa4]
      x86_64/clone3.S:80(clone3)[0x75ed5ff29c6c]
       
      Query (0x52d00017c448): INSERT INTO t1 SELECT 'a'
      

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              alice Alice Sherepa
              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.