Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.2
    • N/A
    • N/A
    • None

    Description

       10.2 af9649c722810eb1754953eb406a84ec876ce693
      ASAN:SIGSEGV
      =================================================================
      ==14573==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f333bf37746 bp 0x7f330d85ce00 sp 0x7f330d85c588 T33)
          #0 0x7f333bf37745 in strlen (/lib/x86_64-linux-gnu/libc.so.6+0x8b745)
          #1 0x7f333df6f1a5 in __interceptor_strlen (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x701a5)
          #2 0x55dff4019bfd in sys_var::val_str_nolock(String*, THD*, unsigned char const*) /git/10.2/sql/set_var.cc:367
          #3 0x55dff401d88a in store_value_ptr /git/10.2/sql/set_var.cc:1041
          #4 0x55dff401d9df in store_var /git/10.2/sql/set_var.cc:1053
          #5 0x55dff401e17a in fill_sysvars(THD*, TABLE_LIST*, Item*) /git/10.2/sql/set_var.cc:1090
          #6 0x55dff4366193 in get_schema_tables_result(JOIN*, enum_schema_table_state) /git/10.2/sql/sql_show.cc:8348
          #7 0x55dff42698e2 in JOIN::exec_inner() /git/10.2/sql/sql_select.cc:3573
          #8 0x55dff4267c15 in JOIN::exec() /git/10.2/sql/sql_select.cc:3404
          #9 0x55dff426af62 in 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*) /git/10.2/sql/sql_select.cc:3804
          #10 0x55dff424a938 in handle_select(THD*, LEX*, select_result*, unsigned long) /git/10.2/sql/sql_select.cc:376
          #11 0x55dff41c3f16 in mysql_execute_command(THD*) /git/10.2/sql/sql_parse.cc:4542
          #12 0x55dff4b0b5b9 in sp_instr_stmt::exec_core(THD*, unsigned int*) /git/10.2/sql/sp_head.cc:3246
          #13 0x55dff4b0a23c in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) /git/10.2/sql/sp_head.cc:3009
          #14 0x55dff4b0ae96 in sp_instr_stmt::execute(THD*, unsigned int*) /git/10.2/sql/sp_head.cc:3162
          #15 0x55dff4b00837 in sp_head::execute(THD*, bool) /git/10.2/sql/sp_head.cc:1327
          #16 0x55dff4b02119 in sp_head::execute_trigger(THD*, st_mysql_lex_string const*, st_mysql_lex_string const*, st_grant_info*) /git/10.2/sql/sp_head.cc:1656
          #17 0x55dff43dfaf4 in Table_triggers_list::process_triggers(THD*, trg_event_type, trg_action_time_type, bool) /git/10.2/sql/sql_trigger.cc:2200
          #18 0x55dff40d2656 in fill_record_n_invoke_before_triggers(THD*, TABLE*, Field**, List<Item>&, bool, trg_event_type) /git/10.2/sql/sql_base.cc:8324
          #19 0x55dff416378c in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) /git/10.2/sql/sql_insert.cc:1002
          #20 0x55dff41c3124 in mysql_execute_command(THD*) /git/10.2/sql/sql_parse.cc:4433
          #21 0x55dff41d9e58 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /git/10.2/sql/sql_parse.cc:8011
          #22 0x55dff4a21fe2 in Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int) /git/10.2/sql/log_event.cc:5294
          #23 0x55dff4a1f62a in Query_log_event::do_apply_event(rpl_group_info*) /git/10.2/sql/log_event.cc:4987
          #24 0x55dff404ba58 in Log_event::apply_event(rpl_group_info*) /git/10.2/sql/log_event.h:1452
          #25 0x55dff4035c72 in apply_event_and_update_pos_apply /git/10.2/sql/slave.cc:3570
          #26 0x55dff40364f0 in apply_event_and_update_pos(Log_event*, THD*, rpl_group_info*) /git/10.2/sql/slave.cc:3718
          #27 0x55dff40375a2 in exec_relay_log_event /git/10.2/sql/slave.cc:4008
          #28 0x55dff403d544 in handle_slave_sql /git/10.2/sql/slave.cc:5147
          #29 0x7f333cb1e6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
          #30 0x7f333bfb341c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
       
      AddressSanitizer can not provide additional info.
      SUMMARY: AddressSanitizer: SEGV ??:0 strlen
      Thread T33 created by T31 here:
          #0 0x7f333df35253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
          #1 0x55dff57c07e2 in spawn_thread_noop /git/10.2/mysys/psi_noop.c:187
          #2 0x55dff402285f in inline_mysql_thread_create /git/10.2/include/mysql/psi/mysql_thread.h:1239
          #3 0x55dff40272aa in start_slave_thread(unsigned int, void* (*)(void*), st_mysql_mutex*, st_mysql_mutex*, st_mysql_cond*, unsigned int volatile*, unsigned long volatile*, Master_info*) /git/10.2/sql/slave.cc:931
          #4 0x55dff4027c13 in start_slave_threads(THD*, bool, bool, Master_info*, char const*, char const*, int) /git/10.2/sql/slave.cc:1063
          #5 0x55dff424021b in start_slave(THD*, Master_info*, bool) /git/10.2/sql/sql_repl.cc:3117
          #6 0x55dff41c1174 in mysql_execute_command(THD*) /git/10.2/sql/sql_parse.cc:4079
          #7 0x55dff41d9e58 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /git/10.2/sql/sql_parse.cc:8011
          #8 0x55dff41b53a7 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /git/10.2/sql/sql_parse.cc:1824
          #9 0x55dff41b255b in do_command(THD*) /git/10.2/sql/sql_parse.cc:1378
          #10 0x55dff44d7aa1 in do_handle_one_connection(CONNECT*) /git/10.2/sql/sql_connect.cc:1335
          #11 0x55dff44d74a9 in handle_one_connection /git/10.2/sql/sql_connect.cc:1241
          #12 0x7f333cb1e6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
       
      Thread T31 created by T0 here:
          #0 0x7f333df35253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
          #1 0x55dff57c07e2 in spawn_thread_noop /git/10.2/mysys/psi_noop.c:187
          #2 0x55dff3fc1e46 in inline_mysql_thread_create /git/10.2/include/mysql/psi/mysql_thread.h:1239
          #3 0x55dff3fd606c in create_thread_to_handle_connection(CONNECT*) /git/10.2/sql/mysqld.cc:6454
          #4 0x55dff3fd676c in create_new_thread /git/10.2/sql/mysqld.cc:6524
          #5 0x55dff3fd77af in handle_connections_sockets() /git/10.2/sql/mysqld.cc:6799
          #6 0x55dff3fd55bc in mysqld_main(int, char**) /git/10.2/sql/mysqld.cc:6073
          #7 0x55dff3fc07df in main /git/10.2/sql/main.cc:25
          #8 0x7f333becc82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
       
      ==14573==ABORTING
      

      perl runall-new.pl --no-mask --seed=1541373686 --threads=6 --duration=600 --queries=100M --reporters=Backtrace,ErrorLog,Deadlock --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,ConvertTablesToDerived,Count,DisableIndexes,DisableOptimizations,Distinct,EnableOptimizations,ExecuteAsDerived,ExecuteAsExecuteImmediate,ExecuteAsView,ExecuteAsWhereSubquery,ExecuteAsPreparedTwice,ExecuteAsTrigger,ExecuteAsSPTwice,ExecuteAsFunctionTwice  --mysqld=--log_output=FILE --mysqld=--max-statement-time=30 --rpl_mode=mixed-nosync  --views --grammar=conf/runtime/information_schema.yy --engine=Aria --mysqld=--default-storage-engine=Aria --basedir1=/git/10.2 --vardir1=/1
      

      ----------------------------------------------------------------------------------------------------------------------------------

      ASAN:SIGSEGV
      =================================================================
      ==29398==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5635ee47affa bp 0x7f0fe0c8a560 sp 0x7f0fe0c8a560 T33)
          #0 0x5635ee47aff9 in strend  /git/10.2/strings/strend.c:45
          #1 0x5635ecf50e71 in get_one_variable(THD*, st_mysql_show_var const*, enum_var_type, enum_mysql_show_type, system_status_var*, charset_info_st const**, char*, unsigned long*)  /git/10.2/sql/sql_show.cc:3379
          #2 0x5635ecf51d35 in show_status_array  /git/10.2/sql/sql_show.cc:3530
          #3 0x5635ecf7f218 in fill_variables(THD*, TABLE_LIST*, Item*)  /git/10.2/sql/sql_show.cc:7419
          #4 0x5635ecf87193 in get_schema_tables_result(JOIN*, enum_schema_table_state)  /git/10.2/sql/sql_show.cc:8348
          #5 0x5635ece8a8e2 in JOIN::exec_inner()  /git/10.2/sql/sql_select.cc:3573
          #6 0x5635ece88c15 in JOIN::exec()  /git/10.2/sql/sql_select.cc:3404
          #7 0x5635ece8bf62 in 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*)  /git/10.2/sql/sql_select.cc:3804
          #8 0x5635ece6b938 in handle_select(THD*, LEX*, select_result*, unsigned long)  /git/10.2/sql/sql_select.cc:376
          #9 0x5635ecde4f16 in mysql_execute_command(THD*)  /git/10.2/sql/sql_parse.cc:4542
          #10 0x5635ed72c5b9 in sp_instr_stmt::exec_core(THD*, unsigned int*)  /git/10.2/sql/sp_head.cc:3246
          #11 0x5635ed72b23c in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*)  /git/10.2/sql/sp_head.cc:3009
          #12 0x5635ed72be96 in sp_instr_stmt::execute(THD*, unsigned int*)  /git/10.2/sql/sp_head.cc:3162
          #13 0x5635ed721837 in sp_head::execute(THD*, bool)  /git/10.2/sql/sp_head.cc:1327
          #14 0x5635ed723119 in sp_head::execute_trigger(THD*, st_mysql_lex_string const*, st_mysql_lex_string const*, st_grant_info*)  /git/10.2/sql/sp_head.cc:1656
          #15 0x5635ed000af4 in Table_triggers_list::process_triggers(THD*, trg_event_type, trg_action_time_type, bool)  /git/10.2/sql/sql_trigger.cc:2200
          #16 0x5635eccf3656 in fill_record_n_invoke_before_triggers(THD*, TABLE*, Field**, List<Item>&, bool, trg_event_type)  /git/10.2/sql/sql_base.cc:8324
          #17 0x5635ecd8478c in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool)  /git/10.2/sql/sql_insert.cc:1002
          #18 0x5635ecde4124 in mysql_execute_command(THD*)  /git/10.2/sql/sql_parse.cc:4433
          #19 0x5635ecdfae58 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)  /git/10.2/sql/sql_parse.cc:8011
          #20 0x5635ed642fe2 in Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int)  /git/10.2/sql/log_event.cc:5294
          #21 0x5635ed64062a in Query_log_event::do_apply_event(rpl_group_info*)  /git/10.2/sql/log_event.cc:4987
          #22 0x5635ecc6ca58 in Log_event::apply_event(rpl_group_info*)  /git/10.2/sql/log_event.h:1452
          #23 0x5635ecc56c72 in apply_event_and_update_pos_apply  /git/10.2/sql/slave.cc:3570
          #24 0x5635ecc574f0 in apply_event_and_update_pos(Log_event*, THD*, rpl_group_info*)  /git/10.2/sql/slave.cc:3718
          #25 0x5635ecc585a2 in exec_relay_log_event  /git/10.2/sql/slave.cc:4008
          #26 0x5635ecc5e544 in handle_slave_sql  /git/10.2/sql/slave.cc:5147
          #27 0x7f100ff4c6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
          #28 0x7f100f3e141c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
       
      AddressSanitizer can not provide additional info.
      SUMMARY: AddressSanitizer: SEGV  /git/10.2/strings/strend.c:45 strend
      Thread T33 created by T31 here:
          #0 0x7f1011363253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
          #1 0x5635ee3e17e2 in spawn_thread_noop  /git/10.2/mysys/psi_noop.c:187
          #2 0x5635ecc4385f in inline_mysql_thread_create  /git/10.2/include/mysql/psi/mysql_thread.h:1239
          #3 0x5635ecc482aa in start_slave_thread(unsigned int, void* (*)(void*), st_mysql_mutex*, st_mysql_mutex*, st_mysql_cond*, unsigned int volatile*, unsigned long volatile*, Master_info*)  /git/10.2/sql/slave.cc:931
          #4 0x5635ecc48c13 in start_slave_threads(THD*, bool, bool, Master_info*, char const*, char const*, int)  /git/10.2/sql/slave.cc:1063
          #5 0x5635ece6121b in start_slave(THD*, Master_info*, bool)  /git/10.2/sql/sql_repl.cc:3117
          #6 0x5635ecde2174 in mysql_execute_command(THD*)  /git/10.2/sql/sql_parse.cc:4079
          #7 0x5635ecdfae58 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)  /git/10.2/sql/sql_parse.cc:8011
          #8 0x5635ecdd63a7 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)  /git/10.2/sql/sql_parse.cc:1824
          #9 0x5635ecdd355b in do_command(THD*)  /git/10.2/sql/sql_parse.cc:1378
          #10 0x5635ed0f8aa1 in do_handle_one_connection(CONNECT*)  /git/10.2/sql/sql_connect.cc:1335
          #11 0x5635ed0f84a9 in handle_one_connection  /git/10.2/sql/sql_connect.cc:1241
          #12 0x7f100ff4c6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
       
      Thread T31 created by T0 here:
          #0 0x7f1011363253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
          #1 0x5635ee3e17e2 in spawn_thread_noop  /git/10.2/mysys/psi_noop.c:187
          #2 0x5635ecbe2e46 in inline_mysql_thread_create  /git/10.2/include/mysql/psi/mysql_thread.h:1239
          #3 0x5635ecbf706c in create_thread_to_handle_connection(CONNECT*)  /git/10.2/sql/mysqld.cc:6454
          #4 0x5635ecbf776c in create_new_thread  /git/10.2/sql/mysqld.cc:6524
          #5 0x5635ecbf87af in handle_connections_sockets()  /git/10.2/sql/mysqld.cc:6799
          #6 0x5635ecbf65bc in mysqld_main(int, char**)  /git/10.2/sql/mysqld.cc:6073
          #7 0x5635ecbe17df in main  /git/10.2/sql/main.cc:25
          #8 0x7f100f2fa82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
       
      ==29398==ABORTING
      

      perl  /git/rqg1/runall-new.pl --no-mask --seed=1541373686 --threads=6 --duration=600 --queries=100M --reporters=Backtrace,ErrorLog,Deadlock --validators=TransformerNoComparator --transformers=ExecuteAsWhereSubquery,Having,InlineSubqueries,InlineVirtualColumns,LimitRowsExamined,OrderBy,StraightJoin,ExecuteAsPreparedTwice,ExecuteAsTrigger,ExecuteAsSPTwice,ExecuteAsFunctionTwice --redefine=conf/mariadb/general-workarounds.yy --mysqld=--log_bin_trust_function_creators=1 --mysqld=--max-statement-time=30 --redefine=conf/mariadb/versioning.yy --rpl_mode=mixed-nosync  --mysqld=--loose-debug_assert_on_not_freed_memory=0 --views --grammar=conf/runtime/information_schema.yy --engine=Aria --mysqld=--default-storage-engine=Aria --mtr-build-thread=300 --basedir1= /git/10.2 --vardir1= /1
      

      Attachments

        Issue Links

          Activity

            People

              alice Alice Sherepa
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.