Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-17005 ASAN heap-use-after-free in innobase_get_computed_value
  3. MDEV-19619

Variety of test cases and stack traces which are likely to be related to MDEV-17005 and need to be re-checked after the fix

    XMLWordPrintable

    Details

      Description

      All stack traces are from debug or ASAN builds of 10.3 592dc59d.
      All attached test cases are unsimpilfied and non-deterministic and can produce different failures. Re-run each of them multiple times to confirm that none has left unfixed. Don't put any of them to the regression test suite, produce clean and deterministic ones instead.
      If test cases (especially bigger ones) stall for a long period of time, try to run with --mysqld=--max-statement-time=5 --mysqld=--lock-wait-timeout=3 --mysqld=--innodb-lock-wait-timeout=1 or alike.

      ==5286==ERROR: AddressSanitizer: heap-use-after-free on address 0x6290008616d9 at pc 0x55da8882e3c4 bp 0x7f1f724224c0 sp 0x7f1f724224b8
      READ of size 8 at 0x6290008616d9 thread T27
          #0 0x55da8882e3c3 in Field_longlong::val_int() /data/src/10.3/sql/field.cc:4404
          #1 0x55da8888546b in Field_int::val_uint() /data/src/10.3/sql/field.h:2049
          #2 0x55da88dcfe73 in ha_innobase::write_row(unsigned char*) /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8096
          #3 0x55da888d7e1a in handler::ha_write_row(unsigned char*) /data/src/10.3/sql/handler.cc:6420
          #4 0x55da8814c95b in write_record(THD*, TABLE*, st_copy_info*) /data/src/10.3/sql/sql_insert.cc:1705
          #5 0x55da881bda8c in read_sep_field /data/src/10.3/sql/sql_load.cc:1179
          #6 0x55da881ba63b in mysql_load(THD*, sql_exchange const*, TABLE_LIST*, List<Item>&, List<Item>&, List<Item>&, enum_duplicates, bool, bool) /data/src/10.3/sql/sql_load.cc:685
          #7 0x55da881e42bf in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:5134
          #8 0x55da881f6a03 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:8098
          #9 0x55da881d11b5 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1858
          #10 0x55da881ce16c in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1403
          #11 0x55da88532584 in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1402
          #12 0x55da88531f60 in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
          #13 0x55da898db92b in pfs_spawn_thread /data/src/10.3/storage/perfschema/pfs.cc:1862
          #14 0x7f1f89b5b4a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
          #15 0x7f1f880a3d0e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe8d0e)
       
      0x6290008616d9 is located 1241 bytes inside of 16520-byte region [0x629000861200,0x629000865288)
      freed by thread T27 here:
          #0 0x7f1f89e32a10 in free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1a10)
          #1 0x55da88f4d930 in mem_heap_block_free(mem_block_info_t*, mem_block_info_t*) /data/src/10.3/storage/innobase/mem/mem0mem.cc:415
          #2 0x55da891221bc in mem_heap_free /data/src/10.3/storage/innobase/include/mem0mem.ic:432
          #3 0x55da8912d102 in row_upd_build_difference_binary(dict_index_t*, dtuple_t const*, unsigned char const*, unsigned long const*, bool, trx_t*, mem_block_info_t*, TABLE*, dberr_t*) /data/src/10.3/storage/innobase/row/row0upd.cc:1158
          #4 0x55da890344bd in row_ins_clust_index_entry_by_modify /data/src/10.3/storage/innobase/row/row0ins.cc:360
          #5 0x55da8903f245 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*, bool) /data/src/10.3/storage/innobase/row/row0ins.cc:2747
          #6 0x55da8904165c in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long, bool) /data/src/10.3/storage/innobase/row/row0ins.cc:3272
          #7 0x55da890420a7 in row_ins_index_entry /data/src/10.3/storage/innobase/row/row0ins.cc:3399
          #8 0x55da89042ba6 in row_ins_index_entry_step /data/src/10.3/storage/innobase/row/row0ins.cc:3549
          #9 0x55da890435f8 in row_ins /data/src/10.3/storage/innobase/row/row0ins.cc:3692
          #10 0x55da89044ade in row_ins_step(que_thr_t*) /data/src/10.3/storage/innobase/row/row0ins.cc:3937
          #11 0x55da890836fa in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.3/storage/innobase/row/row0mysql.cc:1458
          #12 0x55da88dcfb4d in ha_innobase::write_row(unsigned char*) /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8073
          #13 0x55da888d7e1a in handler::ha_write_row(unsigned char*) /data/src/10.3/sql/handler.cc:6420
          #14 0x55da8814c95b in write_record(THD*, TABLE*, st_copy_info*) /data/src/10.3/sql/sql_insert.cc:1705
          #15 0x55da881bda8c in read_sep_field /data/src/10.3/sql/sql_load.cc:1179
          #16 0x55da881ba63b in mysql_load(THD*, sql_exchange const*, TABLE_LIST*, List<Item>&, List<Item>&, List<Item>&, enum_duplicates, bool, bool) /data/src/10.3/sql/sql_load.cc:685
          #17 0x55da881e42bf in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:5134
          #18 0x55da881f6a03 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:8098
          #19 0x55da881d11b5 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1858
          #20 0x55da881ce16c in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1403
          #21 0x55da88532584 in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1402
          #22 0x55da88531f60 in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
          #23 0x55da898db92b in pfs_spawn_thread /data/src/10.3/storage/perfschema/pfs.cc:1862
          #24 0x7f1f89b5b4a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
       
      previously allocated by thread T27 here:
          #0 0x7f1f89e32d28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28)
          #1 0x55da88f4cd60 in mem_heap_create_block_func(mem_block_info_t*, unsigned long, char const*, unsigned int, unsigned long) /data/src/10.3/storage/innobase/mem/mem0mem.cc:269
          #2 0x55da88daaec5 in mem_heap_create_func /data/src/10.3/storage/innobase/include/mem0mem.ic:388
          #3 0x55da88e03f63 in innobase_allocate_row_for_vcol(THD*, dict_index_t*, mem_block_info_t**, TABLE**, unsigned char**, VCOL_STORAGE**) /data/src/10.3/storage/innobase/handler/ha_innodb.cc:20730
          #4 0x55da8912cecd in row_upd_build_difference_binary(dict_index_t*, dtuple_t const*, unsigned char const*, unsigned long const*, bool, trx_t*, mem_block_info_t*, TABLE*, dberr_t*) /data/src/10.3/storage/innobase/row/row0upd.cc:1137
          #5 0x55da890344bd in row_ins_clust_index_entry_by_modify /data/src/10.3/storage/innobase/row/row0ins.cc:360
          #6 0x55da8903f245 in row_ins_clust_index_entry_low(unsigned long, unsigned long, dict_index_t*, unsigned long, dtuple_t*, unsigned long, que_thr_t*, bool) /data/src/10.3/storage/innobase/row/row0ins.cc:2747
          #7 0x55da8904165c in row_ins_clust_index_entry(dict_index_t*, dtuple_t*, que_thr_t*, unsigned long, bool) /data/src/10.3/storage/innobase/row/row0ins.cc:3272
          #8 0x55da890420a7 in row_ins_index_entry /data/src/10.3/storage/innobase/row/row0ins.cc:3399
          #9 0x55da89042ba6 in row_ins_index_entry_step /data/src/10.3/storage/innobase/row/row0ins.cc:3549
          #10 0x55da890435f8 in row_ins /data/src/10.3/storage/innobase/row/row0ins.cc:3692
          #11 0x55da89044ade in row_ins_step(que_thr_t*) /data/src/10.3/storage/innobase/row/row0ins.cc:3937
          #12 0x55da890836fa in row_insert_for_mysql(unsigned char const*, row_prebuilt_t*, ins_mode_t) /data/src/10.3/storage/innobase/row/row0mysql.cc:1458
          #13 0x55da88dcfb4d in ha_innobase::write_row(unsigned char*) /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8073
          #14 0x55da888d7e1a in handler::ha_write_row(unsigned char*) /data/src/10.3/sql/handler.cc:6420
          #15 0x55da8814c95b in write_record(THD*, TABLE*, st_copy_info*) /data/src/10.3/sql/sql_insert.cc:1705
          #16 0x55da881bda8c in read_sep_field /data/src/10.3/sql/sql_load.cc:1179
          #17 0x55da881ba63b in mysql_load(THD*, sql_exchange const*, TABLE_LIST*, List<Item>&, List<Item>&, List<Item>&, enum_duplicates, bool, bool) /data/src/10.3/sql/sql_load.cc:685
          #18 0x55da881e42bf in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:5134
          #19 0x55da881f6a03 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:8098
          #20 0x55da881d11b5 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1858
          #21 0x55da881ce16c in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1403
          #22 0x55da88532584 in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1402
          #23 0x55da88531f60 in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
          #24 0x55da898db92b in pfs_spawn_thread /data/src/10.3/storage/perfschema/pfs.cc:1862
          #25 0x7f1f89b5b4a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
       
      Thread T27 created by T0 here:
          #0 0x7f1f89da1f59 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x30f59)
          #1 0x55da898dbd67 in spawn_thread_v1 /data/src/10.3/storage/perfschema/pfs.cc:1912
          #2 0x55da87f48560 in inline_mysql_thread_create /data/src/10.3/include/mysql/psi/mysql_thread.h:1268
          #3 0x55da87f5d4d6 in create_thread_to_handle_connection(CONNECT*) /data/src/10.3/sql/mysqld.cc:6605
          #4 0x55da87f5dbcd in create_new_thread /data/src/10.3/sql/mysqld.cc:6675
          #5 0x55da87f5ebf4 in handle_connections_sockets() /data/src/10.3/sql/mysqld.cc:6950
          #6 0x55da87f5c98e in mysqld_main(int, char**) /data/src/10.3/sql/mysqld.cc:6227
          #7 0x55da87f46c7f in main /data/src/10.3/sql/main.cc:25
          #8 0x7f1f87fdb2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
       
      SUMMARY: AddressSanitizer: heap-use-after-free /data/src/10.3/sql/field.cc:4404 in Field_longlong::val_int()
      Shadow bytes around the buggy address:
        0x0c5280104280: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c5280104290: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c52801042a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c52801042b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c52801042c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      =>0x0c52801042d0: fd fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fd
        0x0c52801042e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c52801042f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c5280104300: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c5280104310: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c5280104320: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      Shadow byte legend (one shadow byte represents 8 application bytes):
        Addressable:           00
        Partially addressable: 01 02 03 04 05 06 07 
        Heap left redzone:       fa
        Heap right redzone:      fb
        Freed heap region:       fd
        Stack left redzone:      f1
        Stack mid redzone:       f2
        Stack right redzone:     f3
        Stack partial redzone:   f4
        Stack after return:      f5
        Stack use after scope:   f8
        Global redzone:          f9
        Global init order:       f6
        Poisoned by user:        f7
        Container overflow:      fc
        Array cookie:            ac
        Intra object redzone:    bb
        ASan internal:           fe
        Left alloca redzone:     ca
        Right alloca redzone:    cb
      ==5286==ABORTING
      

      Looks like MDEV-17857, but queries are different

      mysqld: /data/src/10.3/sql/compat56.cc:258: void TIME_from_longlong_datetime_packed(MYSQL_TIME*, longlong): Assertion `tmp != ((long long) 0x8000000000000000LL)' failed.
      190528 15:37:47 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007fad76862f12 in __GI___assert_fail (assertion=0x561fbfd215e0 "tmp != ((long long) 0x8", '0' <repeats 15 times>, "LL)", file=0x561fbfd21500 "/data/src/10.3/sql/compat56.cc", line=258, function=0x561fbfd21800 <TIME_from_longlong_datetime_packed(st_mysql_time*, long long)::__PRETTY_FUNCTION__> "void TIME_from_longlong_datetime_packed(MYSQL_TIME*, longlong)") at assert.c:101
      #8  0x0000561fbf30c227 in TIME_from_longlong_datetime_packed (ltime=0x7fad7045c840, tmp=-9223372036854775808) at /data/src/10.3/sql/compat56.cc:258
      #9  0x0000561fbf32b8e3 in Field_datetimef::get_TIME (this=0x7fad1c117c78, ltime=0x7fad7045c840, pos=0x7fad1c0a5fde "", fuzzydate=0) at /data/src/10.3/sql/field.cc:6897
      #10 0x0000561fbf341868 in Field_datetimef::get_date (this=0x7fad1c117c78, ltime=0x7fad7045c840, fuzzydate=0) at /data/src/10.3/sql/field.h:3252
      #11 0x0000561fbf32b357 in Field_datetime_with_dec::val_str (this=0x7fad1c117c78, str=0x7fad7045c8e0, unused=0x7fad7045c8e0) at /data/src/10.3/sql/field.cc:6842
      #12 0x0000561fbef50eb9 in Field::val_str (this=0x7fad1c117c78, str=0x7fad7045c8e0) at /data/src/10.3/sql/field.h:840
      #13 0x0000561fbf0eefb8 in get_field_default_value (thd=0x7fad1c000b00, field=0x7fad1c117c78, def_value=0x7fad7045d000, quoted=true) at /data/src/10.3/sql/sql_show.cc:1843
      #14 0x0000561fbf0fcdb8 in get_schema_column_record (thd=0x7fad1c000b00, tables=0x7fad1c0daac8, table=0x7fad1c115058, res=false, db_name=0x7fad1c0174e8, table_name=0x7fad1c017518) at /data/src/10.3/sql/sql_show.cc:5967
      #15 0x0000561fbf0f7da8 in fill_schema_table_by_open (thd=0x7fad1c000b00, mem_root=0x7fad7045ee50, is_show_fields_or_keys=false, table=0x7fad1c115058, schema_table=0x561fc05a41e0 <schema_tables+384>, orig_db_name=0x7fad1c0174e8, orig_table_name=0x7fad1c017518, open_tables_state_backup=0x7fad7045eea0, can_deadlock=false) at /data/src/10.3/sql/sql_show.cc:4650
      #16 0x0000561fbf0f95a7 in get_all_tables (thd=0x7fad1c000b00, tables=0x7fad1c012bc0, cond=0x0) at /data/src/10.3/sql/sql_show.cc:5253
      #17 0x0000561fbf10a47a in get_schema_tables_result (join=0x7fad1c014c68, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.3/sql/sql_show.cc:8847
      #18 0x0000561fbf0a3568 in JOIN::exec_inner (this=0x7fad1c014c68) at /data/src/10.3/sql/sql_select.cc:4005
      #19 0x0000561fbf0a2bf0 in JOIN::exec (this=0x7fad1c014c68) at /data/src/10.3/sql/sql_select.cc:3836
      #20 0x0000561fbf0a3e91 in mysql_select (thd=0x7fad1c000b00, tables=0x7fad1c012bc0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619521, result=0x7fad1c014c40, unit=0x7fad1c0049c8, select_lex=0x7fad1c005140) at /data/src/10.3/sql/sql_select.cc:4241
      #21 0x0000561fbf095df4 in handle_select (thd=0x7fad1c000b00, lex=0x7fad1c004900, result=0x7fad1c014c40, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:373
      #22 0x0000561fbf060981 in execute_sqlcom_select (thd=0x7fad1c000b00, all_tables=0x7fad1c012bc0) at /data/src/10.3/sql/sql_parse.cc:6555
      #23 0x0000561fbf056f60 in mysql_execute_command (thd=0x7fad1c000b00) at /data/src/10.3/sql/sql_parse.cc:3818
      #24 0x0000561fbf0648d8 in mysql_parse (thd=0x7fad1c000b00, rawbuf=0x7fad1c012808 "SELECT DISTINCT table_schema, table_name FROM information_schema.columns", length=72, parser_state=0x7fad704605f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #25 0x0000561fbf05191a in dispatch_command (command=COM_QUERY, thd=0x7fad1c000b00, packet=0x7fad1c15fe71 "SELECT DISTINCT table_schema, table_name FROM information_schema.columns", packet_length=72, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #26 0x0000561fbf05033d in do_command (thd=0x7fad1c000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #27 0x0000561fbf1b856b in do_handle_one_connection (connect=0x561fc3365040) at /data/src/10.3/sql/sql_connect.cc:1402
      #28 0x0000561fbf1b82e2 in handle_one_connection (arg=0x561fc3365040) at /data/src/10.3/sql/sql_connect.cc:1308
      #29 0x0000561fbfa8fa8c in pfs_spawn_thread (arg=0x561fc32a86a0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #30 0x00007fad783d74a4 in start_thread (arg=0x7fad70461700) at pthread_create.c:456
      #31 0x00007fad7691fd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

      #3  <signal handler called>
      #4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:292
      #5  0x000055fae366b883 in create_tmp_table (thd=0x7f7848000b00, param=0x7f78480e0580, fields=..., group=0x0, distinct=false, save_sum_fields=true, select_options=2416188160, rows_limit=18446744073709551615, table_alias=0x7f78480dab10, do_not_open=true, keep_row_order=false) at /data/src/10.3/sql/sql_select.cc:17676
      #6  0x000055fae36ec733 in select_unit::create_result_table (this=0x7f78480e0540, thd_arg=0x7f7848000b00, column_types=0x7f78480dc268, is_union_distinct=false, options=2416188160, alias=0x7f78480dab10, bit_fields_as_long=false, create_table=false, keep_row_order=false, hidden=0) at /data/src/10.3/sql/sql_union.cc:372
      #7  0x000055fae35b18b6 in mysql_derived_prepare (thd=0x7f7848000b00, lex=0x7f78940865e0, derived=0x7f78480daac8) at /data/src/10.3/sql/sql_derived.cc:767
      #8  0x000055fae35b0364 in mysql_handle_derived (lex=0x7f78940865e0, phases=35) at /data/src/10.3/sql/sql_derived.cc:122
      #9  0x000055fae3571a87 in open_normal_and_derived_tables (thd=0x7f7848000b00, tables=0x7f78480daac8, flags=1090, dt_phases=35) at /data/src/10.3/sql/sql_base.cc:5103
      #10 0x000055fae3571c42 in open_tables_only_view_structure (thd=0x7f7848000b00, table_list=0x7f78480daac8, can_deadlock=false) at /data/src/10.3/sql/sql_base.cc:5153
      #11 0x000055fae369cc23 in fill_schema_table_by_open (thd=0x7f7848000b00, mem_root=0x7f7894087e50, is_show_fields_or_keys=false, table=0x7f7848115098, schema_table=0x55fae4b491e0 <schema_tables+384>, orig_db_name=0x7f78480174e8, orig_table_name=0x7f7848017518, open_tables_state_backup=0x7f7894087ea0, can_deadlock=false) at /data/src/10.3/sql/sql_show.cc:4613
      #12 0x000055fae369e5a7 in get_all_tables (thd=0x7f7848000b00, tables=0x7f7848012bc0, cond=0x0) at /data/src/10.3/sql/sql_show.cc:5253
      #13 0x000055fae36af47a in get_schema_tables_result (join=0x7f7848014c68, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.3/sql/sql_show.cc:8847
      #14 0x000055fae3648568 in JOIN::exec_inner (this=0x7f7848014c68) at /data/src/10.3/sql/sql_select.cc:4005
      #15 0x000055fae3647bf0 in JOIN::exec (this=0x7f7848014c68) at /data/src/10.3/sql/sql_select.cc:3836
      #16 0x000055fae3648e91 in mysql_select (thd=0x7f7848000b00, tables=0x7f7848012bc0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619521, result=0x7f7848014c40, unit=0x7f78480049c8, select_lex=0x7f7848005140) at /data/src/10.3/sql/sql_select.cc:4241
      #17 0x000055fae363adf4 in handle_select (thd=0x7f7848000b00, lex=0x7f7848004900, result=0x7f7848014c40, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:373
      #18 0x000055fae3605981 in execute_sqlcom_select (thd=0x7f7848000b00, all_tables=0x7f7848012bc0) at /data/src/10.3/sql/sql_parse.cc:6555
      #19 0x000055fae35fbf60 in mysql_execute_command (thd=0x7f7848000b00) at /data/src/10.3/sql/sql_parse.cc:3818
      #20 0x000055fae36098d8 in mysql_parse (thd=0x7f7848000b00, rawbuf=0x7f7848012808 "SELECT DISTINCT table_schema, table_name FROM information_schema.columns", length=72, parser_state=0x7f78940895f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #21 0x000055fae35f691a in dispatch_command (command=COM_QUERY, thd=0x7f7848000b00, packet=0x7f784815fe71 "SELECT DISTINCT table_schema, table_name FROM information_schema.columns", packet_length=72, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #22 0x000055fae35f533d in do_command (thd=0x7f7848000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #23 0x000055fae375d56b in do_handle_one_connection (connect=0x55fae6cb8050) at /data/src/10.3/sql/sql_connect.cc:1402
      #24 0x000055fae375d2e2 in handle_one_connection (arg=0x55fae6cb8050) at /data/src/10.3/sql/sql_connect.cc:1308
      #25 0x000055fae4034a8c in pfs_spawn_thread (arg=0x55fae6bfb6b0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #26 0x00007f789b3fe4a4 in start_thread (arg=0x7f789408a700) at pthread_create.c:456
      #27 0x00007f7899946d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

      #3  <signal handler called>
      #4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:242
      #5  0x000055f58510f9a4 in String::copy (this=0x7fc1a5546c00, str=0xa5a5a5a5a5a5a5a5 <error: Cannot access memory at address 0xa5a5a5a5a5a5a5a5>, arg_length=42405, cs=0x55f58677e160 <my_charset_utf8_general_ci>) at /data/src/10.3/sql/sql_string.cc:254
      #6  0x000055f58510fe3b in String::copy (this=0x7fc1a5546c00, str=0xa5a5a5a5a5a5a5a5 <error: Cannot access memory at address 0xa5a5a5a5a5a5a5a5>, arg_length=42405, from_cs=0x55f5865cc0e0 <my_charset_bin>, to_cs=0x55f58677e160 <my_charset_utf8_general_ci>, errors=0x7fc1a55468d8) at /data/src/10.3/sql/sql_string.cc:441
      #7  0x000055f5850e6082 in get_field_default_value (thd=0x7fc14c000b00, field=0x7fc14c0c62e8, def_value=0x7fc1a5547000, quoted=true) at /data/src/10.3/sql/sql_show.cc:1853
      #8  0x000055f5850f3db8 in get_schema_column_record (thd=0x7fc14c000b00, tables=0x7fc14c0daf68, table=0x7fc14c0c34b8, res=false, db_name=0x7fc14c0174e8, table_name=0x7fc14c017518) at /data/src/10.3/sql/sql_show.cc:5967
      #9  0x000055f5850eeda8 in fill_schema_table_by_open (thd=0x7fc14c000b00, mem_root=0x7fc1a5548e50, is_show_fields_or_keys=false, table=0x7fc14c0c34b8, schema_table=0x55f58659b1e0 <schema_tables+384>, orig_db_name=0x7fc14c0174e8, orig_table_name=0x7fc14c017518, open_tables_state_backup=0x7fc1a5548ea0, can_deadlock=false) at /data/src/10.3/sql/sql_show.cc:4650
      #10 0x000055f5850f05a7 in get_all_tables (thd=0x7fc14c000b00, tables=0x7fc14c012bc0, cond=0x0) at /data/src/10.3/sql/sql_show.cc:5253
      #11 0x000055f58510147a in get_schema_tables_result (join=0x7fc14c014c68, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.3/sql/sql_show.cc:8847
      #12 0x000055f58509a568 in JOIN::exec_inner (this=0x7fc14c014c68) at /data/src/10.3/sql/sql_select.cc:4005
      #13 0x000055f585099bf0 in JOIN::exec (this=0x7fc14c014c68) at /data/src/10.3/sql/sql_select.cc:3836
      #14 0x000055f58509ae91 in mysql_select (thd=0x7fc14c000b00, tables=0x7fc14c012bc0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619521, result=0x7fc14c014c40, unit=0x7fc14c0049c8, select_lex=0x7fc14c005140) at /data/src/10.3/sql/sql_select.cc:4241
      #15 0x000055f58508cdf4 in handle_select (thd=0x7fc14c000b00, lex=0x7fc14c004900, result=0x7fc14c014c40, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:373
      #16 0x000055f585057981 in execute_sqlcom_select (thd=0x7fc14c000b00, all_tables=0x7fc14c012bc0) at /data/src/10.3/sql/sql_parse.cc:6555
      #17 0x000055f58504df60 in mysql_execute_command (thd=0x7fc14c000b00) at /data/src/10.3/sql/sql_parse.cc:3818
      #18 0x000055f58505b8d8 in mysql_parse (thd=0x7fc14c000b00, rawbuf=0x7fc14c012808 "SELECT DISTINCT table_schema, table_name FROM information_schema.columns", length=72, parser_state=0x7fc1a554a5f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #19 0x000055f58504891a in dispatch_command (command=COM_QUERY, thd=0x7fc14c000b00, packet=0x7fc14c15fe71 "SELECT DISTINCT table_schema, table_name FROM information_schema.columns", packet_length=72, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #20 0x000055f58504733d in do_command (thd=0x7fc14c000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #21 0x000055f5851af56b in do_handle_one_connection (connect=0x55f587cf5040) at /data/src/10.3/sql/sql_connect.cc:1402
      #22 0x000055f5851af2e2 in handle_one_connection (arg=0x55f587cf5040) at /data/src/10.3/sql/sql_connect.cc:1308
      #23 0x000055f585a86a8c in pfs_spawn_thread (arg=0x55f587c386a0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #24 0x00007fc1add214a4 in start_thread (arg=0x7fc1a554b700) at pthread_create.c:456
      #25 0x00007fc1ac269d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

      #3  <signal handler called>
      #4  0x00005645bb49babe in Field::is_null_in_record (this=0x7fe63c03aeb8, record=0x7fe63c0b2878 "\377\377") at /data/src/10.3/sql/field.h:1171
      #5  0x00005645bb4807f1 in create_tmp_table (thd=0x7fe63c000b00, param=0x7fe63c165208, fields=..., group=0x0, distinct=false, save_sum_fields=true, select_options=2416188160, rows_limit=18446744073709551615, table_alias=0x7fe63c15fa20, do_not_open=true, keep_row_order=false) at /data/src/10.3/sql/sql_select.cc:17669
      #6  0x00005645bb501733 in select_unit::create_result_table (this=0x7fe63c1651c8, thd_arg=0x7fe63c000b00, column_types=0x7fe63c160ef0, is_union_distinct=false, options=2416188160, alias=0x7fe63c15fa20, bit_fields_as_long=false, create_table=false, keep_row_order=false, hidden=0) at /data/src/10.3/sql/sql_union.cc:372
      #7  0x00005645bb3c68b6 in mysql_derived_prepare (thd=0x7fe63c000b00, lex=0x7fe6a4720630, derived=0x7fe63c15f9d8) at /data/src/10.3/sql/sql_derived.cc:767
      #8  0x00005645bb3c5364 in mysql_handle_derived (lex=0x7fe6a4720630, phases=35) at /data/src/10.3/sql/sql_derived.cc:122
      #9  0x00005645bb386a87 in open_normal_and_derived_tables (thd=0x7fe63c000b00, tables=0x7fe63c15f9d8, flags=1090, dt_phases=35) at /data/src/10.3/sql/sql_base.cc:5103
      #10 0x00005645bb386c42 in open_tables_only_view_structure (thd=0x7fe63c000b00, table_list=0x7fe63c15f9d8, can_deadlock=false) at /data/src/10.3/sql/sql_base.cc:5153
      #11 0x00005645bb4b1c23 in fill_schema_table_by_open (thd=0x7fe63c000b00, mem_root=0x7fe6a4721ea0, is_show_fields_or_keys=false, table=0x7fe63c0f8008, schema_table=0x5645bc95e820 <schema_tables+1984>, orig_db_name=0x7fe63c117a10, orig_table_name=0x7fe63c117a88, open_tables_state_backup=0x7fe6a4721ef0, can_deadlock=false) at /data/src/10.3/sql/sql_show.cc:4613
      #12 0x00005645bb4b35a7 in get_all_tables (thd=0x7fe63c000b00, tables=0x7fe63c0e7b38, cond=0x7fe63c1155a8) at /data/src/10.3/sql/sql_show.cc:5253
      #13 0x00005645bb4c447a in get_schema_tables_result (join=0x7fe63c0fe510, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.3/sql/sql_show.cc:8847
      #14 0x00005645bb45d568 in JOIN::exec_inner (this=0x7fe63c0fe510) at /data/src/10.3/sql/sql_select.cc:4005
      #15 0x00005645bb45cbf0 in JOIN::exec (this=0x7fe63c0fe510) at /data/src/10.3/sql/sql_select.cc:3836
      #16 0x00005645bb45de91 in mysql_select (thd=0x7fe63c000b00, tables=0x7fe63c0e7b38, wild_num=0, fields=..., conds=0x7fe63c0e9830, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619521, result=0x7fe63c0fe4e8, unit=0x7fe63c0049c8, select_lex=0x7fe63c005140) at /data/src/10.3/sql/sql_select.cc:4241
      #17 0x00005645bb44fdf4 in handle_select (thd=0x7fe63c000b00, lex=0x7fe63c004900, result=0x7fe63c0fe4e8, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:373
      #18 0x00005645bb41a981 in execute_sqlcom_select (thd=0x7fe63c000b00, all_tables=0x7fe63c0e7b38) at /data/src/10.3/sql/sql_parse.cc:6555
      #19 0x00005645bb410f60 in mysql_execute_command (thd=0x7fe63c000b00) at /data/src/10.3/sql/sql_parse.cc:3818
      #20 0x00005645bb41e8d8 in mysql_parse (thd=0x7fe63c000b00, rawbuf=0x7fe63c011448 "SELECT DISTINCT CASE WHEN table_schema = 'information_schema' THEN 'INFORMATION_SCHEMA' ELSE table_schema END AS table_schema, table_name, CASE WHEN table_type = 'BASE TABLE' THEN 'table' WHEN table_t"..., length=1290, parser_state=0x7fe6a4723640, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #21 0x00005645bb40b91a in dispatch_command (command=COM_QUERY, thd=0x7fe63c000b00, packet=0x7fe63c008c61 "SELECT DISTINCT CASE WHEN table_schema = 'information_schema' THEN 'INFORMATION_SCHEMA' ELSE table_schema END AS table_schema, table_name, CASE WHEN table_type = 'BASE TABLE' THEN 'table' WHEN table_t"..., packet_length=1290, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #22 0x00005645bb40a33d in do_command (thd=0x7fe63c000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #23 0x00005645bb57256b in do_handle_one_connection (connect=0x5645be53cc20) at /data/src/10.3/sql/sql_connect.cc:1402
      #24 0x00005645bb5722e2 in handle_one_connection (arg=0x5645be53cc20) at /data/src/10.3/sql/sql_connect.cc:1308
      #25 0x00007fe6b44804a4 in start_thread (arg=0x7fe6a4724700) at pthread_create.c:456
      #26 0x00007fe6b29c8d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

      #3  <signal handler called>
      #4  0x000055852d8f0837 in row_sel_field_store_in_mysql_format_func (dest=0x7fdb7c4b9f3b <error: Cannot access memory at address 0x7fdb7c4b9f3b>, templ=0x7fda7c11e3c0, index=0x7fda78027c28, field_no=4, data=0x7
      fdad74741d3 "", len=4) at /data/src/10.3/storage/innobase/row/row0sel.cc:2770
      #5  0x000055852d8f158f in row_sel_store_mysql_field (mysql_rec=0x7fda7c518d18 "\377\377\377", prebuilt=0x7fda7c03cf48, rec=0x7fdad74741b7 "", index=0x7fda78027c28, offsets=0x7fdadc3574a0, field_no=4, templ=0x7
      fda7c11e3c0) at /data/src/10.3/storage/innobase/row/row0sel.cc:3047
      #6  0x000055852d8f1b77 in row_sel_store_mysql_rec (mysql_rec=0x7fda7c518d18 "\377\377\377", prebuilt=0x7fda7c03cf48, rec=0x7fdad74741b7 "", vrow=0x0, rec_clust=false, index=0x7fda78027c28, offsets=0x7fdadc3574
      a0) at /data/src/10.3/storage/innobase/row/row0sel.cc:3182
      #7  0x000055852d8f7808 in row_search_mvcc (buf=0x7fda7c518d18 "\377\377\377", mode=PAGE_CUR_G, prebuilt=0x7fda7c03cf48, match_mode=0, direction=0) at /data/src/10.3/storage/innobase/row/row0sel.cc:5462
      #8  0x000055852d76176b in ha_innobase::index_read (this=0x7fda7c195c28, buf=0x7fda7c518d18 "\377\377\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /data/src/10.3/storage/innobase/handler/ha_inn
      odb.cc:9332
      #9  0x000055852d76258a in ha_innobase::index_first (this=0x7fda7c195c28, buf=0x7fda7c518d18 "\377\377\377") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:9706
      #10 0x000055852d762799 in ha_innobase::rnd_next (this=0x7fda7c195c28, buf=0x7fda7c518d18 "\377\377\377") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:9799
      #11 0x000055852d54f2ef in handler::ha_rnd_next (this=0x7fda7c195c28, buf=0x7fda7c518d18 "\377\377\377") at /data/src/10.3/sql/handler.cc:2814
      #12 0x000055852d6cca06 in rr_sequential (info=0x7fda700b7260) at /data/src/10.3/sql/records.cc:481
      #13 0x000055852d1b6e9d in READ_RECORD::read_record (this=0x7fda700b7260) at /data/src/10.3/sql/records.h:73
      #14 0x000055852d2c6580 in join_init_read_record (tab=0x7fda700b7198) at /data/src/10.3/sql/sql_select.cc:20338
      #15 0x000055852d2c41de in sub_select (join=0x7fda703413f8, join_tab=0x7fda700b7198, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19399
      #16 0x000055852d2c3768 in do_select (join=0x7fda703413f8, procedure=0x0) at /data/src/10.3/sql/sql_select.cc:18942
      #17 0x000055852d29c7ad in JOIN::exec_inner (this=0x7fda703413f8) at /data/src/10.3/sql/sql_select.cc:4042
      #18 0x000055852d29bbf0 in JOIN::exec (this=0x7fda703413f8) at /data/src/10.3/sql/sql_select.cc:3836
      #19 0x000055852d29ce91 in mysql_select (thd=0x7fda70000b00, tables=0x7fda700116c8, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551971719936, re
      sult=0x7fda70011d88, unit=0x7fda700049c8, select_lex=0x7fda70005140) at /data/src/10.3/sql/sql_select.cc:4241
      #20 0x000055852d28edf4 in handle_select (thd=0x7fda70000b00, lex=0x7fda70004900, result=0x7fda70011d88, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:373
      #21 0x000055852d259981 in execute_sqlcom_select (thd=0x7fda70000b00, all_tables=0x7fda700116c8) at /data/src/10.3/sql/sql_parse.cc:6555
      #22 0x000055852d24ff60 in mysql_execute_command (thd=0x7fda70000b00) at /data/src/10.3/sql/sql_parse.cc:3818
      #23 0x000055852d25d8d8 in mysql_parse (thd=0x7fda70000b00, rawbuf=0x7fda70011448 "SELECT * FROM `view_t9` INTO OUTFILE 'load_view_t9'  /* QNO 1877 CON_ID 21 */", length=77, parser_state=0x7fdadc359640, is_com_
      multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #24 0x000055852d24a91a in dispatch_command (command=COM_QUERY, thd=0x7fda70000b00, packet=0x7fda70008c61 "SELECT * FROM `view_t9` INTO OUTFILE 'load_view_t9'  /* QNO 1877 CON_ID 21 */", packet_length=77, is_co
      m_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #25 0x000055852d24933d in do_command (thd=0x7fda70000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #26 0x000055852d3b156b in do_handle_one_connection (connect=0x55852ff8cc20) at /data/src/10.3/sql/sql_connect.cc:1402
      #27 0x000055852d3b12e2 in handle_one_connection (arg=0x55852ff8cc20) at /data/src/10.3/sql/sql_connect.cc:1308
      #28 0x00007fdaec0f54a4 in start_thread (arg=0x7fdadc35a700) at pthread_create.c:456
      #29 0x00007fdaea63dd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

      mysqld: /data/src/10.3/storage/innobase/row/row0sel.cc:3687: void row_sel_dequeue_cached_row_for_mysql(byte*, row_prebuilt_t*): Assertion `prebuilt->mysql_prefix_len <= prebuilt->mysql_row_len' failed.
      190526  2:06:15 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f8e46c0af12 in __GI___assert_fail (assertion=0x55c9e3796bc8 "prebuilt->mysql_prefix_len <= prebuilt->mysql_row_len", file=0x55c9e3795ba8 "/data/src/10.3/storage/innobase/row/row0sel.cc", line=3687, 
      function=0x55c9e379a580 <row_sel_dequeue_cached_row_for_mysql(unsigned char*, row_prebuilt_t*)::__PRETTY_FUNCTION__> "void row_sel_dequeue_cached_row_for_mysql(byte*, row_prebuilt_t*)") at assert.c:101
      #8  0x000055c9e308ddc6 in row_sel_dequeue_cached_row_for_mysql (buf=0x7f8dd40c4948 "\377\377\377", prebuilt=0x7f8dd44bf0a8) at /data/src/10.3/storage/innobase/row/row0sel.cc:3687
      #9  0x000055c9e308f75a in row_search_mvcc (buf=0x7f8dd40c4948 "\377\377\377", mode=PAGE_CUR_UNSUPP, prebuilt=0x7f8dd44bf0a8, match_mode=0, direction=1) at /data/src/10.3/storage/innobase/row/row0sel.cc:4278
      #10 0x000055c9e2efd24d in ha_innobase::general_fetch (this=0x7f8dd42a5d88, buf=0x7f8dd40c4948 "\377\377\377", direction=1, match_mode=0) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:9598
      #11 0x000055c9e2efd7d2 in ha_innobase::rnd_next (this=0x7f8dd42a5d88, buf=0x7f8dd40c4948 "\377\377\377") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:9807
      #12 0x000055c9e2cea2ef in handler::ha_rnd_next (this=0x7f8dd42a5d88, buf=0x7f8dd40c4948 "\377\377\377") at /data/src/10.3/sql/handler.cc:2814
      #13 0x000055c9e2e67a06 in rr_sequential (info=0x7f8ddc014140) at /data/src/10.3/sql/records.cc:481
      #14 0x000055c9e2951e9d in READ_RECORD::read_record (this=0x7f8ddc014140) at /data/src/10.3/sql/records.h:73
      #15 0x000055c9e2a5f309 in sub_select (join=0x7f8ddc012008, join_tab=0x7f8ddc014078, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19421
      #16 0x000055c9e2a5e768 in do_select (join=0x7f8ddc012008, procedure=0x0) at /data/src/10.3/sql/sql_select.cc:18942
      #17 0x000055c9e2a377ad in JOIN::exec_inner (this=0x7f8ddc012008) at /data/src/10.3/sql/sql_select.cc:4042
      #18 0x000055c9e2a36bf0 in JOIN::exec (this=0x7f8ddc012008) at /data/src/10.3/sql/sql_select.cc:3836
      #19 0x000055c9e2a37e91 in mysql_select (thd=0x7f8ddc000b00, tables=0x7f8ddc011720, wild_num=0, fields=..., conds=0x0, og_num=1, order=0x7f8ddc011e58, group=0x0, having=0x0, proc_param=0x0, select_options=55190
      3562496, result=0x7f8ddc011f48, unit=0x7f8ddc0049c8, select_lex=0x7f8ddc005140) at /data/src/10.3/sql/sql_select.cc:4241
      #20 0x000055c9e2a29df4 in handle_select (thd=0x7f8ddc000b00, lex=0x7f8ddc004900, result=0x7f8ddc011f48, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:373
      #21 0x000055c9e29f4981 in execute_sqlcom_select (thd=0x7f8ddc000b00, all_tables=0x7f8ddc011720) at /data/src/10.3/sql/sql_parse.cc:6555
      #22 0x000055c9e29eaf60 in mysql_execute_command (thd=0x7f8ddc000b00) at /data/src/10.3/sql/sql_parse.cc:3818
      #23 0x000055c9e29f88d8 in mysql_parse (thd=0x7f8ddc000b00, rawbuf=0x7f8ddc011488 "SELECT row_start FROM t9 ORDER BY RAND() LIMIT 1 INTO @trx_user_var /* QNO 2253 CON_ID 16 */", length=92, parser_state=0x7f8e38b55640, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #24 0x000055c9e29e591a in dispatch_command (command=COM_QUERY, thd=0x7f8ddc000b00, packet=0x7f8ddc13f5a1 "SELECT row_start FROM t9 ORDER BY RAND() LIMIT 1 INTO @trx_user_var /* QNO 2253 CON_ID 16 */", packet_length=92, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #25 0x000055c9e29e433d in do_command (thd=0x7f8ddc000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #26 0x000055c9e2b4c56b in do_handle_one_connection (connect=0x55c9e5f82c20) at /data/src/10.3/sql/sql_connect.cc:1402
      #27 0x000055c9e2b4c2e2 in handle_one_connection (arg=0x55c9e5f82c20) at /data/src/10.3/sql/sql_connect.cc:1308
      #28 0x00007f8e4877f4a4 in start_thread (arg=0x7f8e38b56700) at pthread_create.c:456
      #29 0x00007f8e46cc7d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

      2019-05-28 16:15:22 9 [ERROR] InnoDB: Record in index `vcol_date` of table `test`.`t9` was not found on update: TUPLE (info_bits=0, 5 fields): {NULL,[3]   (0x800000),[1] (0x00),[4]?   (0x3FFFFFFF),[8]        (0x0000000000000018)} at: COMPACT RECORD(info_bits=0, 5 fields): {NULL,NULL,[1]M(0x4D),[4] P  (0x00500E9F),[8]        (0x0000000000000001)}
      mysqld: /data/src/10.3/storage/innobase/row/row0upd.cc:2449: dberr_t row_upd_sec_index_entry(upd_node_t*, que_thr_t*): Assertion `btr_validate_index(index, 0, false)' failed.
      190528 16:15:22 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f69b0fd1f12 in __GI___assert_fail (assertion=0x5564282d9ac0 "btr_validate_index(index, 0, false)", file=0x5564282d94b8 "/data/src/10.3/storage/innobase/row/row0upd.cc", line=2449, function=0x5564282dc3c0 <row_upd_sec_index_entry(upd_node_t*, que_thr_t*)::__PRETTY_FUNCTION__> "dberr_t row_upd_sec_index_entry(upd_node_t*, que_thr_t*)") at assert.c:101
      #8  0x0000556427be7244 in row_upd_sec_index_entry (node=0x7f696008b8f8, thr=0x7f69600e4288) at /data/src/10.3/storage/innobase/row/row0upd.cc:2449
      #9  0x0000556427be7956 in row_upd_sec_step (node=0x7f696008b8f8, thr=0x7f69600e4288) at /data/src/10.3/storage/innobase/row/row0upd.cc:2563
      #10 0x0000556427bea127 in row_upd (node=0x7f696008b8f8, thr=0x7f69600e4288) at /data/src/10.3/storage/innobase/row/row0upd.cc:3328
      #11 0x0000556427bea495 in row_upd_step (thr=0x7f69600e4288) at /data/src/10.3/storage/innobase/row/row0upd.cc:3443
      #12 0x0000556427b8ebc4 in row_update_for_mysql (prebuilt=0x7f696008a3a8) at /data/src/10.3/storage/innobase/row/row0mysql.cc:1887
      #13 0x0000556427a34e29 in ha_innobase::delete_row (this=0x7f6960101278, record=0x7f69600b3f10 "\204") at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:8999
      #14 0x000055642782d6ac in handler::ha_delete_row (this=0x7f6960101278, buf=0x7f69600b3f10 "\204") at /data/src/10.3/sql/handler.cc:6508
      #15 0x00005564274e7abc in write_record (thd=0x7f6960000b00, table=0x7f69600e6590, info=0x7f69a6360730) at /data/src/10.3/sql/sql_insert.cc:1981
      #16 0x000055642751516f in read_sep_field (thd=0x7f6960000b00, info=..., table_list=0x7f6960012970, fields_vars=..., set_fields=..., set_values=..., read_info=..., enclosed=..., skip_lines=0, ignore_check_option_errors=false) at /data/src/10.3/sql/sql_load.cc:1179
      #17 0x0000556427513738 in mysql_load (thd=0x7f6960000b00, ex=0x7f69600128e8, table_list=0x7f6960012970, fields_vars=..., set_fields=..., set_values=..., handle_duplicates=DUP_REPLACE, ignore=false, read_file_from_client=false) at /data/src/10.3/sql/sql_load.cc:685
      #18 0x00005564275281e6 in mysql_execute_command (thd=0x7f6960000b00) at /data/src/10.3/sql/sql_parse.cc:5134
      #19 0x00005564275318d8 in mysql_parse (thd=0x7f6960000b00, rawbuf=0x7f6960012808 "LOAD DATA INFILE 'load_t9' REPLACE INTO TABLE t9", length=48, parser_state=0x7f69a63615f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8098
      #20 0x000055642751e91a in dispatch_command (command=COM_QUERY, thd=0x7f6960000b00, packet=0x7f696015fe71 "LOAD DATA INFILE 'load_t9' REPLACE INTO TABLE t9", packet_length=48, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1858
      #21 0x000055642751d33d in do_command (thd=0x7f6960000b00) at /data/src/10.3/sql/sql_parse.cc:1403
      #22 0x000055642768556b in do_handle_one_connection (connect=0x55642ac53060) at /data/src/10.3/sql/sql_connect.cc:1402
      #23 0x00005564276852e2 in handle_one_connection (arg=0x55642ac53060) at /data/src/10.3/sql/sql_connect.cc:1308
      #24 0x0000556427f5ca8c in pfs_spawn_thread (arg=0x55642ab966c0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #25 0x00007f69b2b464a4 in start_thread (arg=0x7f69a6362700) at pthread_create.c:456
      #26 0x00007f69b108ed0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
      

        Attachments

        1. 2591a4.test
          18 kB
        2. 2591b1.test
          23 kB
        3. 2591e1.test
          1.57 MB
        4. 2591g.test
          17 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration