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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.1
    • Fix Version/s: 10.2.3
    • Component/s: Server
    • Labels:
      None
    • Environment:
      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

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                hholzgra Hartmut Holzgraefe
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: