Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-64

double free or corruption in unpack_fields

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • openSUSE 11.1 x86_64, connecting to mysqld Ver 5.0.67 for suse-linux-gnu on x86_64 (SUSE MySQL RPM)

    Description

      After executing a certain query, libmariadb crashes with a double free or corruption error detected by glibc.

      glibc detected  : double free or corruption (!prev): 0x00000000005990e0 

      Backtrace:

      (gdb) bt
      #0  0x00007ffff6595645 in raise () from /lib64/libc.so.6
      #1  0x00007ffff6596c33 in abort () from /lib64/libc.so.6
      #2  0x00007ffff65d18e8 in ?? () from /lib64/libc.so.6
      #3  0x00007ffff65d7118 in ?? () from /lib64/libc.so.6
      #4  0x00007ffff65d8c76 in free () from /lib64/libc.so.6
      #5  0x00007ffff76950f5 in free_root () from /opt/b1gmailserver/libs/libmariadb.so.1
      #6  0x00007ffff768fc44 in free_rows () from /opt/b1gmailserver/libs/libmariadb.so.1
      #7  0x00007ffff769078e in unpack_fields () from /opt/b1gmailserver/libs/libmariadb.so.1
      #8  0x00007ffff7691634 in mthd_my_read_query_result () from /opt/b1gmailserver/libs/libmariadb.so.1
      #9  0x00000000004423e2 in Core::MySQL_DB::Query(char const*, ...) ()
      #10 0x000000000041aac1 in Core::Config::ReadDBConfig() ()
      #11 0x000000000043461d in main ()

      Tested with r 107. Issue seems to occur when connecting to certain MySQL versions or configurations only.

      I assume that more information is required to investigate this issue, but don't know which. Please let me know if further information is required.

      Attachments

        Activity

          People

            georg Georg Richter
            pschlan Patrick Schlangen
            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.