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

Server crashes in my_uni_utf8_no_range on HANDLER READ

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0.10
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows

      Description

      Server crashes on Windows on an attempt to use a handler.
      The problem appeared in 10.0 tree with the following revision:

      revno: 4119
      revision-id: monty@askmonty.org-20140323134357-htwcr4657cjdilap
      parent: monty@askmonty.org-20140322103236-h3n275zc76cusd69
      author: Michael Widenius <monty@mariadb.org>
      committer: Michael Widenius <monty@askmonty.org>
      branch nick: maria-10.0
      timestamp: Sun 2014-03-23 15:43:57 +0200
      message:
        MDEV-5850: MySQL Bug#21317: SHOW CREATE DATABASE does not obey to lower_case_table_names
        Bug #3329 Incomplete lower_case_table_names=2 implementation

      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (a CHAR(8), b INT(11)) ENGINE=MyISAM;
      INSERT INTO t1 (a,b) VALUES ('foobar',1000),('a',1),('bar',200),('foo',100);
      HANDLER t1 OPEN AS h1;
      HANDLER t1 READ FIRST;

      mysqld.exe!my_uni_utf8_no_range(const charset_info_st * cs, unsigned long wc, unsigned char * r) Line 5035	C
      mysqld.exe!my_casedn_str_utf8(const charset_info_st * cs, char * src) Line 5172	C
      mysqld.exe!st_select_lex::add_table_to_list(THD * thd, Table_ident * table, st_mysql_lex_string * alias, unsigned long table_options, thr_lock_type lock_type, enum_mdl_type mdl_type, List<Index_hint> * index_hints_arg, List<String> * partition_names, st_mysql_lex_string * option) Line 6761	C++
      mysqld.exe!MYSQLparse(THD * thd) Line 14992	C++
      mysqld.exe!parse_sql(THD * thd, Parser_state * parser_state, Object_creation_ctx * creation_ctx, bool do_pfs_digest) Line 8492	C++
      mysqld.exe!mysql_parse(THD * thd, char * rawbuf, unsigned int length, Parser_state * parser_state) Line 6402	C++
      mysqld.exe!dispatch_command(enum_server_command command, THD * thd, char * packet, unsigned int packet_length) Line 1311	C++
      mysqld.exe!do_command(THD * thd) Line 1005	C++
      mysqld.exe!threadpool_process_request(THD * thd) Line 233	C++
      mysqld.exe!io_completion_callback(_TP_CALLBACK_INSTANCE * instance, void * context, void * overlapped, unsigned long io_result, unsigned __int64 nbytes, _TP_IO * io) Line 568	C++

      Stack trace from:

      revision-id: psergey@askmonty.org-20140327203856-zierdrc2qo0aqdx9
      date: 2014-03-28 00:38:56 +0400
      build-date: 2014-03-28 04:21:12 +0400
      revno: 4129
      branch-nick: 10.0

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              elenst Elena Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: