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

plugin crash depending on sys_var / show_var declaration order

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 5.5.39
    • N/A
    • Plugins
    • Ubuntu 14.4 (using Ubuntus MariaDB packages)

    Description

      I just had the weird effect that adding a STATUS variable to an already working audit plugin made the server crash on plugin_init()

      After stripping things down I ended up with a minimal daemon plugin that only defines one status variable and two config variables.

      The crash only happens if:

      • st_mysql_sys_var declared before st_mysql_show_var
      • at least two st_mysql_sys_var entries

      If i comment out the 2nd sys_var entry or rearrange code
      it doesn't crash anymore ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.