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

mysqld started by mysql_install_db will hang when having log-bin in config file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.1
    • 10.2.3
    • Server
    • None
    • linux

    Description

      I'm installing with a custom setup script and a my.cnf template that has "log-bin" in it from the very start.

      This makes mysql_install_db, or actually the bootstrap mysqld process, hang.

      The last line printed before hanging is

      2016-08-11 12:13:04 140389765464832 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
      

      strace shows mysqld hanging on:

       futex(0x560b65c2db44, FUTEX_WAIT_PRIVATE, 1, NULL
      

      Attachments

        1. gdb-bt-full.txt
          2 kB
        2. gdb-bt.txt
          1.0 kB
        3. gdb-all-bt-full.txt
          50 kB
        4. gdb-all-bt.txt
          25 kB

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              hholzgra Hartmut Holzgraefe
              Votes:
              2 Vote for this issue
              Watchers:
              4 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.