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

Upgrade from mariadb 10.2.19 to 10.2.20 hangs (debian)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Incomplete
    • 10.2.20
    • N/A
    • Packaging
    • Debian 9.6

    Description

      While upgrading mariadb using `apt upgrade`, apt hangs on this line with 200% CPU usage:

      Setting up mariadb-server-10.2 (10.2.20...
      

      Investigating with ps show that install script is blocked on bootstrap step:

      /usr/sbin/mysqld --lc-messages-dir=/usr/share/mysql/english/.. --bootstrap --silent-startup --basedir=/usr --datadir=/var/lib/mysql --log-warnings=0 --enforce-storage-engine= --plugin-dir=/usr/lib/mysql/plugin --disable-log-bin --user=mysql --max_allowed_packet=8M --net_buffer_length=16K
      

      At this state, strace simply shows:

      futex(0x56132668fe44, FUTEX_WAIT_PRIVATE, 1, NULL
      

      After one hour, I need to stop the install and start mysqld manually.Now it works, but my dpkg state is corrupted. I tried to reinstall, but the script hang again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yoch yoch
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.