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

Server crashes in Item_char_typecast::fix_length_and_dec_internal after select xmltype

    XMLWordPrintable

Details

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

    Description

      SELECT XMLTYPE(1);
      

      Version: '12.3.2-MariaDB-asan-debug-log'  
      260512 15:33:38 [ERROR] /12.3/bld/sql/mariadbd got signal 11 ;
       
      Server version: 12.3.2-MariaDB-asan-debug-log source revision: 181f13ec49fdf14a873e9ebf7440133b3e0d70d9
       
      Thread pointer: 0x52c0001e0220
      stack_bottom = 0x687bc0763000 thread_stack 0xb00000
      sanitizer_common/sanitizer_common_interceptors.inc:4358(___interceptor_backtrace.part.0)[0x707bdae831e0]
      libc_sigaction.c:0(__restore_rt)[0x707bd9e45330]
      sql/item_timefunc.cc:4190(Item_char_typecast::fix_length_and_dec_internal(charset_info_st const*))[0x63c691fdf02c]
      sql/item_timefunc.cc:4145(Item_char_typecast::fix_length_and_dec_str())[0x63c691fdf097]
      sql/item_func.h:881(Item_handled_func::set_func_handler(Item_handled_func::Handler const*))[0x63c690fc2fcf]
      sql/item_func.cc:412(Item_func::fix_fields(THD*, Item**))[0x63c691100ebf]
      sql/item.h:1149(Item::fix_fields_if_needed(THD*, Item**))[0x63c6913ff56f]
      sql/sql_select.cc:1598(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x63c69145ace1]
      sql/sql_select.cc:636(handle_select(THD*, LEX*, select_result*, unsigned long long))[0x63c69145b6b9]
      sql/sql_parse.cc:6221(execute_sqlcom_select(THD*, TABLE_LIST*))[0x63c691290813]
      sql/sql_parse.cc:3994(mysql_execute_command(THD*, bool))[0x63c6912af504]
      sql/sql_parse.cc:7949(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x63c6912bcbb9]
      sql/sql_parse.cc:1903(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x63c6912c0969]
      sql/sql_parse.cc:1437(do_command(THD*, bool))[0x63c6912c5706]
      sql/sql_connect.cc:1503(do_handle_one_connection(CONNECT*, bool))[0x63c6917864bc]
      sql/sql_connect.cc:1415(handle_one_connection)[0x63c6917869a1]
      perfschema/pfs.cc:2201(pfs_spawn_thread)[0x63c69246b958]
      asan/asan_interceptors.cpp:234(asan_thread_start(void*))[0x707bdae5ea42]
      nptl/pthread_create.c:447(start_thread)[0x707bd9e9caa4]
      x86_64/clone3.S:80(clone3)[0x707bd9f29c6c]
       
      Query (0x52d00017c448): SELECT XMLTYPE(1)
      

      Attachments

        Issue Links

          Activity

            People

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