Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-1419

LP #1675687: pt-online-schema-change crashes with perl malloc error

    XMLWordPrintable

    Details

      Description

      **Reported in Launchpad by alex last update 07-04-2017 16:20:46

      When I try to run pt-online-schema-change, it crashes with following message:
      perl(83945,0x7fffad7943c0) malloc: *** error for object 0x7f9f1ac35110: pointer being freed was not allocated

          • set a breakpoint in malloc_error_break to debug
            [1] 83945 abort PTDEBUG=1 pt-online-schema-change --alter="ADD COLUMN c1 INT" -u=user

      System: macOS Sierra 10.12.3

      Installed via brew (no special additional params)

      DB System:
      > mysql --version
      mysql Ver 15.1 Distrib 10.2.4-MariaDB, for osx10.12 (x86_64) using readline 5.1

      Perl:
      > Perl --version
      This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level

      I tried with different alter statements, always the same result.

      Any information missing?

      regards,
      Alex

      debug message from percona tool: (schema, tablename and user replaced, user shoud have sufficient rights)
      > PTDEBUG=1 pt-online-schema-change --alter="ADD COLUMN c1 INT" D=database,t=table -u=user
      see attachment

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist