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

Assertion `inited==RND' failed in handler::ha_rnd_end() upon DML on partitioned table

    XMLWordPrintable

    Details

      Description

       10.3 a33c0e3f34afd024ded83d3e5ec122c50d8b38a2
      Version: '10.3.11-MariaDB-debug-log'  
      mysqld: /git/10.3/sql/handler.h:3096: int handler::ha_rnd_end(): Assertion `inited==RND' failed.
      181106 16:46:22 [ERROR] mysqld got signal 6 ;
      stdlib/abort.c:91(__GI_abort)[0x7ff6000ff02a]
      assert/assert.c:92(__assert_fail_base)[0x7ff6000f5bd7]
      /lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7ff6000f5c82]
      sql/handler.h:3097(handler::ha_rnd_end())[0x561c35827ef5]
      sql/ha_partition.cc:4991(ha_partition::rnd_end())[0x561c3704f2a1]
      sql/ha_partition.cc:4928(ha_partition::rnd_init(bool))[0x561c3704ea4a]
      sql/handler.h:3089(handler::ha_rnd_init(bool))[0x561c358f1f2a]
      sql/handler.cc:2981(handler::ha_rnd_init_with_error(bool))[0x561c36061db3]
      sql/records.cc:298(init_read_record(READ_RECORD*, THD*, TABLE*, SQL_SELECT*, SORT_INFO*, int, bool, bool))[0x561c363f27eb]
      sql/sql_select.cc:20232(join_init_read_record(st_join_table*))[0x561c35aa01e2]
      sql/sql_select.cc:19300(sub_select(JOIN*, st_join_table*, bool))[0x561c35a99c09]
      sql/sql_select.cc:18843(do_select(JOIN*, Procedure*))[0x561c35a98261]
      sql/sql_select.cc:4035(JOIN::exec_inner())[0x561c35a376df]
      sql/sql_select.cc:3830(JOIN::exec())[0x561c35a35424]
      sql/sql_select.cc:4236(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x561c35a387f6]
      sql/sql_select.cc:382(handle_select(THD*, LEX*, select_result*, unsigned long))[0x561c35a13bdd]
      sql/sql_parse.cc:6547(execute_sqlcom_select(THD*, TABLE_LIST*))[0x561c3599a5a2]
      sql/sql_parse.cc:3769(mysql_execute_command(THD*))[0x561c35988d13]
      sql/sql_parse.cc:8091(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x561c359a2fc7]
      sql/sql_parse.cc:1852(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x561c3597dae8]
      sql/sql_parse.cc:1395(do_command(THD*))[0x561c3597ac80]
      sql/sql_connect.cc:1402(do_handle_one_connection(CONNECT*))[0x561c35cccb89]
      sql/sql_connect.cc:1309(handle_one_connection)[0x561c35ccc566]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7ff600d3a6ba]
      x86_64/clone.S:111(clone)[0x7ff6001cf41d]
      

      with update or delete:

      linux/raise.c:54(__GI_raise)[0x7fb745d56428]
      stdlib/abort.c:91(__GI_abort)[0x7fb745d5802a]
      assert/assert.c:92(__assert_fail_base)[0x7fb745d4ebd7]
      /lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7fb745d4ec82]
      sql/handler.h:3097(handler::ha_rnd_end())[0x561d2f99cef5]
      sql/ha_partition.cc:4991(ha_partition::rnd_end())[0x561d311c42a1]
      sql/ha_partition.cc:4928(ha_partition::rnd_init(bool))[0x561d311c3a4a]
      sql/handler.h:3089(handler::ha_rnd_init(bool))[0x561d2fa66f2a]
      sql/handler.cc:2981(handler::ha_rnd_init_with_error(bool))[0x561d301d6db3]
      sql/records.cc:298(init_read_record(READ_RECORD*, THD*, TABLE*, SQL_SELECT*, SORT_INFO*, int, bool, bool))[0x561d305677eb]
      sql/sql_update.cc:819(mysql_update(THD*, TABLE_LIST*, List<Item>&, List<Item>&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*))[0x561d2fd52298]
      sql/sql_parse.cc:4581(mysql_execute_command(THD*))[0x561d2fb01bbb]
      sql/sql_parse.cc:8091(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x561d2fb17fc7]
      sql/sql_parse.cc:1852(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x561d2faf2ae8]
      sql/sql_parse.cc:1395(do_command(THD*))[0x561d2faefc80]
      sql/sql_connect.cc:1402(do_handle_one_connection(CONNECT*))[0x561d2fe41b89]
      sql/sql_connect.cc:1309(handle_one_connection)[0x561d2fe41566]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fb7469936ba]
      x86_64/clone.S:111(clone)[0x7fb745e2841d]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                alice Alice Sherepa
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: