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

rpl.rpl_timezone fails with valgrind: Use of uninitialised value

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.31
    • Server, Tests
    • None

    Description

      10.4-enterprise 809261c6

      $ perl ./mtr rpl.rpl_timezone --valgrind
       
      ==14430== Thread 13:
      ==14430== Use of uninitialised value of size 8
      ==14430==    at 0xBA4D9F: inline_mysql_mutex_trylock (mysql_thread.h:728)
      ==14430==    by 0xBA9251: Table_cache_instance::lock_and_check_contention(unsigned int, unsigned int) (table_cache.cc:168)
      ==14430==    by 0xBA5A18: tc_acquire_table(THD*, TDC_element*) (table_cache.cc:417)
      ==14430==    by 0xBA76A2: tdc_acquire_share(THD*, TABLE_LIST*, unsigned int, TABLE**) (table_cache.cc:872)
      ==14430==    by 0x8645B9: open_table(THD*, TABLE_LIST*, Open_table_context*) (sql_base.cc:1944)
      ==14430==    by 0x86866A: open_and_process_table(THD*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*) (sql_base.cc:3850)
      ==14430==    by 0x869913: open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4324)
      ==14430==    by 0x86BA8F: open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5217)
      ==14430==    by 0x860467: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.h:271)
      ==14430==    by 0x86B310: open_n_lock_single_table(THD*, TABLE_LIST*, thr_lock_type, unsigned int, Prelocking_strategy*) (sql_base.cc:5060)
      ==14430==    by 0x8C494F: Delayed_insert::open_and_lock_table() (sql_insert.cc:2990)
      ==14430==    by 0x8C4C4D: handle_delayed_insert (sql_insert.cc:3093)
      ==14430==    by 0x14F87EC: pfs_spawn_thread (pfs.cc:1862)
      ==14430==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==14430==    by 0x6938D0E: clone (clone.S:97)
      

      Not reproducible on 10.3-enterprise or on 10.4 CS (both fail with "blocks still reachable", which is probably another matter, many tests fail with it.

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.