Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-155

segmentation fault on calling connection.get_server_version()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.6
    • 1.0.7
    • Generic
    • Python 3.9.5
      Linux 5.10.36
      GCC 10.2

    Description

      Calling a connection objects get_server_version function returns the version once, and then on a second or third call will segfault the interpreter.
      Additionally sometimes it will return the version once, and then return garbaged data.
      It is more accurate to say that get_server_version returns the version once and then goes into undefined behavior
      server_version_info and server_version do not suffer from this.

      Attachments

        Activity

          People

            georg Georg Richter
            ultrabear Alex Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.