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

Server crash on query with regexp_substr

    XMLWordPrintable

Details

    Description

      select * from (
      select regexp_substr('a','^[A-Za-z]+') f
      )t
      where f = f

      causes server reboot. Error in mysql.err is :

      Error in `/usr/sbin/mysqld': double free or corruption (out): 0x00007f0730006110 ***
      

      After attaching gdb the cause seems to be in Item_func_regexp_substr::cleanup() function.

      Attachments

        Activity

          People

            igor Igor Babaev
            Kavinski Stanley
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.