Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-1218

libnghttp2-14 needs msan instrumentation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • BB V1.15
    • Buildbot
    • None

    Description

      triggered by tests:

      1. s3.partition_move
      2. s3.encryption
      3. s3.amazon
      4. s3.arguments
      5. s3.alter

      https://buildbot.dev.mariadb.org/#/builders/946/builds/3/steps/12/logs/stdio

      Thread 1 (Thread 0x7f05ce71d6c0 (LWP 361)):
      #0  0x00007f05e50e995c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x0000562785776457 in handle_fatal_signal (sig=6) at /home/buildbot/src/sql/signal_handler.cc:298
      #2  0x0000562784cd1bfd in SignalHandler(int) ()
      #3  <signal handler called>
      #4  0x00007f05e50e995c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      #5  0x00007f05e5094cc2 in raise () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x00007f05e507d4ac in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000562784c5a930 in __sanitizer::Abort() ()
      #8  0x0000562784c58722 in __sanitizer::Die() ()
      #9  0x0000562784c70467 in __msan_warning_noreturn ()
      #10 0x00007f05de06d701 in h2_client_new (cf=0x7040000202d8, cbs=0x70e000054460) at http2.c:471
      #11 cf_h2_ctx_open (cf=0x7040000202d8, data=0x722000010818) at http2.c:575
      #12 cf_h2_connect (cf=0x7040000202d8, data=0x722000010818, done=0x7f05ce7155e7) at http2.c:2589
      #13 0x00007f05de072422 in Curl_http2_switch_at (cf=cf@entry=0x7040000162d8, data=data@entry=0x722000010818) at http2.c:2976
      #14 0x00007f05ddff4fbf in baller_connected (cf=0x7040000162d8, data=0x722000010818, winner=<optimized out>) at cf-https-connect.c:231
      #15 0x00007f05ddff18fc in cf_hc_connect (cf=0x7040000162d8, data=0x722000010818, done=0x7f05ce7159ef) at cf-https-connect.c:340
      #16 0x00007f05ddfff92e in Curl_conn_connect (data=data@entry=0x722000010818, sockindex=sockindex@entry=0, blocking=false, done=done@entry=0x7f05ce7159ef) at cfilters.c:436
      #17 0x00007f05de0a731e in multi_runsingle (multi=multi@entry=0x716000030018, nowp=nowp@entry=0x7f05ce715bf8, data=data@entry=0x722000010818) at multi.c:2360
      #18 0x00007f05de0a5e59 in curl_multi_perform (m=m@entry=0x716000030018, running_handles=running_handles@entry=0x7f05ce715d28) at multi.c:2687
      #19 0x00007f05de02eceb in easy_transfer (multi=<optimized out>) at easy.c:710
      #20 easy_perform (data=0x722000010818, events=false) at easy.c:818
      #21 curl_easy_perform (data=data@entry=0x722000010818) at easy.c:837
      #22 0x00007f05de18f1f8 in execute_request (ms3=ms3@entry=0x71300000e398, cmd=cmd@entry=MS3_CMD_LIST, bucket=bucket@entry=0x70600000141c "amd64-msan-clang-22-3", object=object@entry=0x0, source_bucket=source_bucket@entry=0x0, source_object=source_object@entry=0x0, filter=0x7f05ce716410 "test/", data=0x0, data_size=0, continuation=0x0, ret_ptr=0x0) at /home/buildbot/src/storage/maria/libmarias3/src/request.c:905
      #23 0x00007f05de18d0c0 in ms3_list_dir (ms3=0x71300000e398, bucket=0x70600000141c "amd64-msan-clang-22-3", prefix=0x7f05ce716410 "test/", list=0x7f05ce716730) at /home/buildbot/src/storage/maria/libmarias3/src/marias3.c:402
      #24 0x00007f05de181b60 in s3_discover_table_names (hton=<optimized out>, db=0x7070000274e8, dir=<optimized out>, result=0x7f05ce716918) at /home/buildbot/src/storage/maria/ha_s3.cc:896
      #25 0x000056278579fb1b in discover_names (thd=<optimized out>, plugin=<optimized out>, arg=arg@entry=0x7f05ce716898) at /home/buildbot/src/sql/handler.cc:6700
      #26 0x0000562784fea760 in plugin_foreach_with_mask (thd=thd@entry=0x72b00007e018, func=0x56278579fa40 <discover_names(THD*, st_plugin_int*, void*)>, type=type@entry=1, state_mask=state_mask@entry=8, arg=arg@entry=0x7f05ce716898) at /home/buildbot/src/sql/sql_plugin.cc:2559
      #27 0x000056278579f58a in ha_discover_table_names (thd=thd@entry=0x72b00007e018, db=db@entry=0x7070000274e8, dirp=0x709000009378, result=result@entry=0x7f05ce716918, reusable=<optimized out>) at /home/buildbot/src/sql/handler.cc:6740
      #28 0x00005627851a98aa in find_files (thd=thd@entry=0x72b00007e018, files=files@entry=0x7f05ce717ab8, db=db@entry=0x7070000274e8, path=path@entry=0x7f05ce716dc0 "./test/", wild=wild@entry=0x7070000274f8) at /home/buildbot/src/sql/sql_show.cc:992
      #29 0x000056278517199b in make_table_name_list (thd=0x72b00007e018, table_names=0x7f05ce717ab8, db_name=0x7070000274e8, lex=<optimized out>, lookup_field_vals=<optimized out>) at /home/buildbot/src/sql/sql_show.cc:4540
      #30 get_all_tables (thd=0x72b00007e018, tables=<optimized out>, cond=<optimized out>) at /home/buildbot/src/sql/sql_show.cc:5309
      #31 0x000056278518d612 in get_schema_tables_result (join=join@entry=0x71a00003fc30, executed_place=executed_place@entry=PROCESSED_BY_JOIN_EXEC) at /home/buildbot/src/sql/sql_show.cc:9056
      #32 0x00005627850a9e31 in JOIN::exec_inner (this=0x71a00003fc30) at /home/buildbot/src/sql/sql_select.cc:4896
      #33 0x000056278503e3f7 in JOIN::exec (this=0x71a00003fc30) at /home/buildbot/src/sql/sql_select.cc:4717
      #34 mysql_select (thd=thd@entry=0x72b00007e018, tables=<optimized out>, fields=..., conds=<optimized out>, og_num=<optimized out>, order=<optimized out>, group=0x0, having=0x0, proc_param=0x0, select_options=<optimized out>, result=0x7060000195f0, unit=0x7240000160f8, select_lex=0x719000051e30) at /home/buildbot/src/sql/sql_select.cc:5196
      #35 0x000056278503db75 in handle_select (thd=thd@entry=0x72b00007e018, lex=lex@entry=0x724000016030, result=0x7060000195f0, setup_tables_done_option=setup_tables_done_option@entry=0) at /home/buildbot/src/sql/sql_select.cc:573
      #36 0x0000562784fc3324 in execute_sqlcom_select (thd=thd@entry=0x72b00007e018, all_tables=0x71c000012030) at /home/buildbot/src/sql/sql_parse.cc:6421
      #37 0x0000562784fb1d9b in mysql_execute_command (thd=0x72b00007e018, is_called_from_prepared_stmt=<optimized out>) at /home/buildbot/src/sql/sql_parse.cc:4012
      #38 0x0000562784d97fc8 in sp_instr_stmt::exec_core (this=0x70a0000381b0, thd=0x58, nextp=0x6) at /home/buildbot/src/sql/sp_head.cc:3895
      #39 0x0000562784d943c8 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x70a0000381f8, thd=thd@entry=0x72b00007e018, nextp=nextp@entry=0x7f05ce719e34, open_tables=false, instr=instr@entry=0x70a0000381b0) at /home/buildbot/src/sql/sp_head.cc:3606
      #40 0x0000562784d96326 in sp_instr_stmt::execute (this=0x70a0000381b0, thd=0x72b00007e018, nextp=0x7f05ce719e34) at /home/buildbot/src/sql/sp_head.cc:3798
      #41 0x0000562784d80130 in sp_head::execute (this=this@entry=0x71e000010830, thd=thd@entry=0x72b00007e018, merge_da_on_success=true) at /home/buildbot/src/sql/sp_head.cc:1443
      #42 0x0000562784d85b8a in sp_head::execute_procedure (this=0x71e000010830, thd=thd@entry=0x72b00007e018, args=0x72b000083170) at /home/buildbot/src/sql/sp_head.cc:2523
      #43 0x0000562784fae43c in do_execute_sp (thd=thd@entry=0x72b00007e018, sp=sp@entry=0x71e000010830) at /home/buildbot/src/sql/sql_parse.cc:3091
      #44 0x0000562784fadae2 in Sql_cmd_call::execute (this=<optimized out>, thd=0x72b00007e018) at /home/buildbot/src/sql/sql_parse.cc:3337
      #45 0x0000562784fb1bf3 in mysql_execute_command (thd=thd@entry=0x72b00007e018, is_called_from_prepared_stmt=false) at /home/buildbot/src/sql/sql_parse.cc:6166
      #46 0x0000562784fa2b01 in mysql_parse (thd=thd@entry=0x72b00007e018, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f05ce71b280) at /home/buildbot/src/sql/sql_parse.cc:8199
      #47 0x0000562784f9bf05 in dispatch_command (command=COM_QUERY, thd=thd@entry=0x72b00007e018, packet=<optimized out>, packet_length=<optimized out>, blocking=true) at /home/buildbot/src/sql/sql_parse.cc:1911
      #48 0x0000562784fa3b2c in do_command (thd=thd@entry=0x72b00007e018, blocking=<optimized out>) at /home/buildbot/src/sql/sql_parse.cc:1421
      #49 0x000056278539251d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x706000011e98, put_in_cache=true) at /home/buildbot/src/sql/sql_connect.cc:1386
      #50 0x0000562785391fd6 in handle_one_connection (arg=arg@entry=0x706000011e98) at /home/buildbot/src/sql/sql_connect.cc:1298
      #51 0x0000562785f59e4a in pfs_spawn_thread (arg=0x716000007e18) at /home/buildbot/src/storage/perfschema/pfs.cc:2201
      #52 0x00007f05e50e7b7b in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      #53 0x00007f05e5165630 in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      msan trace

      ==88==WARNING: MemorySanitizer: use-of-uninitialized-value
          #0 0x7f05de06d700 in h2_client_new /msan-build/lib/http2.c:471:3
          #1 0x7f05de06d700 in cf_h2_ctx_open /msan-build/lib/http2.c:575:8
          #2 0x7f05de06d700 in cf_h2_connect /msan-build/lib/http2.c:2589:14
          #3 0x7f05de072421 in Curl_http2_switch_at /msan-build/lib/http2.c:2976:12
          #4 0x7f05ddff4fbe in baller_connected /msan-build/lib/cf-https-connect.c:231:14
          #5 0x7f05ddff18fb in cf_hc_connect /msan-build/lib/cf-https-connect.c
          #6 0x7f05ddfff92d in Curl_conn_connect /msan-build/lib/cfilters.c:436:14
          #7 0x7f05de0a731d in multi_runsingle /msan-build/lib/multi.c:2360:16
          #8 0x7f05de0a5e58 in curl_multi_perform /msan-build/lib/multi.c:2687:18
          #9 0x7f05de02ecea in easy_transfer /msan-build/lib/easy.c:710:15
          #10 0x7f05de02ecea in easy_perform /msan-build/lib/easy.c:818:42
          #11 0x7f05de02ecea in curl_easy_perform /msan-build/lib/easy.c:837:10
          #12 0x7f05de18f1f7 in execute_request /home/buildbot/src/storage/maria/libmarias3/src/request.c:905:14
          #13 0x7f05de18d0bf in ms3_list_dir /home/buildbot/src/storage/maria/libmarias3/src/marias3.c:402:9
          #14 0x7f05de181b5f in s3_discover_table_names(handlerton*, st_mysql_const_lex_string*, st_my_dir*, handlerton::discovered_list*) /home/buildbot/src/storage/maria/ha_s3.cc:896:15
          #15 0x56278579fb1a in discover_names(THD*, st_plugin_int*, void*) /home/buildbot/src/sql/handler.cc:6700:9
          #16 0x562784fea75f in plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int*, void*), int, unsigned int, void*) /home/buildbot/src/sql/sql_plugin.cc:2559:15
          #17 0x56278579f589 in ha_discover_table_names(THD*, st_mysql_const_lex_string*, st_my_dir*, Discovered_table_list*, bool) /home/buildbot/src/sql/handler.cc:6740:12
          #18 0x5627851a98a9 in find_files(THD*, Dynamic_array<st_mysql_const_lex_string*>*, st_mysql_const_lex_string*, char const*, st_mysql_const_lex_string const*) /home/buildbot/src/sql/sql_show.cc:992:9
          #19 0x56278517199a in make_table_name_list(THD*, Dynamic_array<st_mysql_const_lex_string*>*, LEX*, st_lookup_field_values*, st_mysql_const_lex_string*) /home/buildbot/src/sql/sql_show.cc:4540:26
          #20 0x56278517199a in get_all_tables(THD*, TABLE_LIST*, Item*) /home/buildbot/src/sql/sql_show.cc:5309:16
          #21 0x56278518d611 in get_schema_tables_result(JOIN*, enum_schema_table_state) /home/buildbot/src/sql/sql_show.cc:9056:11
          #22 0x5627850a9e30 in JOIN::exec_inner() /home/buildbot/src/sql/sql_select.cc:4896:7
          #23 0x56278503e3f6 in JOIN::exec() /home/buildbot/src/sql/sql_select.cc:4717:3
          #24 0x56278503e3f6 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /home/buildbot/src/sql/sql_select.cc:5196:9
          #25 0x56278503db74 in handle_select(THD*, LEX*, select_result*, unsigned long) /home/buildbot/src/sql/sql_select.cc:573:10
          #26 0x562784fc3323 in execute_sqlcom_select(THD*, TABLE_LIST*) /home/buildbot/src/sql/sql_parse.cc:6421:12
          #27 0x562784fb1d9a in mysql_execute_command(THD*, bool) /home/buildbot/src/sql/sql_parse.cc:4012:12
          #28 0x562784d97fc7 in sp_instr_stmt::exec_core(THD*, unsigned int*) /home/buildbot/src/sql/sp_head.cc:3895:12
          #29 0x562784d943c7 in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) /home/buildbot/src/sql/sp_head.cc:3606:17
          #30 0x562784d96325 in sp_instr_stmt::execute(THD*, unsigned int*) /home/buildbot/src/sql/sp_head.cc:3798:25
          #31 0x562784d8012f in sp_head::execute(THD*, bool) /home/buildbot/src/sql/sp_head.cc:1443:20
          #32 0x562784d85b89 in sp_head::execute_procedure(THD*, List<Item>*) /home/buildbot/src/sql/sp_head.cc:2523:36
          #33 0x562784fae43b in do_execute_sp(THD*, sp_head*) /home/buildbot/src/sql/sql_parse.cc:3091:16
          #34 0x562784fadae1 in Sql_cmd_call::execute(THD*) /home/buildbot/src/sql/sql_parse.cc:3337:9
          #35 0x562784fb1bf2 in mysql_execute_command(THD*, bool) /home/buildbot/src/sql/sql_parse.cc:6166:26
          #36 0x562784fa2b00 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /home/buildbot/src/sql/sql_parse.cc:8199:18
          #37 0x562784f9bf04 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /home/buildbot/src/sql/sql_parse.cc:1911:7
          #38 0x562784fa3b2b in do_command(THD*, bool) /home/buildbot/src/sql/sql_parse.cc:1421:17
          #39 0x56278539251c in do_handle_one_connection(CONNECT*, bool) /home/buildbot/src/sql/sql_connect.cc:1386:11
          #40 0x562785391fd5 in handle_one_connection /home/buildbot/src/sql/sql_connect.cc:1298:5
          #41 0x562785f59e49 in pfs_spawn_thread /home/buildbot/src/storage/perfschema/pfs.cc:2201:3
          #42 0x7f05e50e7b7a  (/lib/x86_64-linux-gnu/libc.so.6+0x92b7a) (BuildId: 58749c528985eab03e6700ebc1469fa50aa41219)
          #43 0x7f05e516562f in clone (/lib/x86_64-linux-gnu/libc.so.6+0x11062f) (BuildId: 58749c528985eab03e6700ebc1469fa50aa41219)
      

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: