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

Dead-lock in MYSQL_BIN_LOG::reset_logs(..) ?




      I've installed MariaDB 10.3.7 and initialized with my own configs (from previous setups), set a root user.. etc, then I have executed

      /usr/bin/mysql -NAB -u'root' -p'!password$$' -e "RESET MASTER"

      And this command seems to be stuck since hours (actually it is almost half a day since now...).

      I have attached my mysqld config, logs and the backtrace of mysqld too, it seems to be waiting for a mutex ... possibly dead-lock internally?

      Actually there are two issues here:
      1) Server gets stuck in executing 'RESET MASTER'
      ( The GDB backtrace suggests it is waiting for a mutex, possible dead-lock? )
      2) Client never times out? how is that?
      ( I still have this running since yesterday ~15:16 or something like that... )

      Unfortunetely mariadb doesn't provide -dbg packages (or i just don't see them) so i couldn't provide better backtrace atm...


        1. backtrace.txt
          22 kB
          David Kedves
        2. bt.txt
          40 kB
          David Kedves
        3. my.cnf
          2 kB
          David Kedves
        4. my.cnf.txt
          2 kB
          David Kedves
        5. mysqld.log
          8 kB
          David Kedves
        6. packages.txt
          2 kB
          David Kedves
        7. processlist.txt
          0.6 kB
          David Kedves
        8. processlist.txt
          1 kB
          David Kedves
        9. psaux.txt
          9 kB
          David Kedves
        10. pstree.txt
          2 kB
          David Kedves
        11. reproduced_again.txt
          23 kB
          David Kedves
        12. rpmqa.txt
          9 kB
          David Kedves

        Issue Links



              sachin.setiya.007 Sachin Setiya (Inactive)
              kedazo David Kedves
              0 Vote for this issue
              8 Start watching this issue



                Git Integration

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