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

sql_error.cc:357: void Diagnostics_area::set_ok_status after CHECK (XMLISVALID..

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • N/A
    • 13.1
    • XML
    • None
    • Q3/2026 Server Maintenance

    Description

      bb-13.1-mdev-37262-hf b75702097e55151cfb

      CREATE TABLE t (x XMLTYPE,CHECK (XMLISVALID(x, '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="a"/></xs:schema>')));
      

      mariadbd: /13.1/sql/sql_error.cc:357: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed.
      260611 15:56:13 [ERROR] /sql/mariadbd got signal 6 ;
       
      Server version: 13.1.0-MariaDB-asan-debug-log source revision: b75702097e55151cfb1599ef65a8b1fc6a1c6b71
       
      libc_sigaction.c:0(__restore_rt)[0x7013bf445330]
      nptl/pthread_kill.c:44(__pthread_kill_implementation)[0x7013bf49eb2c]
      posix/raise.c:27(__GI_raise)[0x7013bf44527e]
      stdlib/abort.c:81(__GI_abort)[0x7013bf4288ff]
      intl/loadmsgcat.c:1177(_nl_load_domain)[0x7013bf42881b]
      /lib/x86_64-linux-gnu/libc.so.6(+0x3b517)[0x7013bf43b517]
      sql/sql_error.cc:362(Diagnostics_area::set_ok_status(unsigned long long, unsigned long long, char const*))[0x61989d4f4ab2]
      sql/sql_class.h:6609(my_ok(THD*, unsigned long long, unsigned long long, char const*))[0x61989d8ea8e3]
      sql/sql_parse.cc:5905(mysql_execute_command(THD*, bool))[0x61989d61f828]
      sql/sql_parse.cc:7945(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x61989d6217d4]
      sql/sql_parse.cc:1903(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x61989d625584]
      sql/sql_parse.cc:1437(do_command(THD*, bool))[0x61989d62a31e]
      sql/sql_connect.cc:1503(do_handle_one_connection(CONNECT*, bool))[0x61989db0e0be]
      sql/sql_connect.cc:1415(handle_one_connection)[0x61989db0e5a3]
      asan/asan_interceptors.cpp:234(asan_thread_start(void*))[0x7013c045ea42]
      nptl/pthread_create.c:447(start_thread)[0x7013bf49caa4]
      x86_64/clone3.S:80(clone3)[0x7013bf529c6c]
      
      

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.