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

Double-free crash in libmariadb.so: mysql_options()

    XMLWordPrintable

Details

    Description

      Fresh compilation with 10.2, using exact same code as 10.1, we get a crash in mysql_options():

      ==31368==ERROR: AddressSanitizer: attempting double-free on 0x61600000e780 in thread T0:
          #0 0x7f07af355527 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54527)
          #1 0x7f07a38e9688 in _mariadb_read_options /home/buildbot/buildbot/build/libmariadb/libmariadb/ma_default.c:218
          #2 0x7f07a38eebcd in mthd_my_real_connect /home/buildbot/buildbot/build/libmariadb/libmariadb/mariadb_lib.c:1201
          #3 0x7f07a38ec0b9 in mysql_real_connect /home/buildbot/buildbot/build/libmariadb/libmariadb/mariadb_lib.c:1168
          #4 0x7f07a3f0b70e in doConnect /home/sf/genero/devel/fgl/fgl/src/sqldriver/mysql/mys.c:495
      ...
      

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              sebflaesch FLAESCH Sebastien
              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.