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

segmentation fault on calling connection.get_server_version()

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

          ultrabear Alex Hall created issue -
          ultrabear Alex Hall made changes -
          Field Original Value New Value
          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
          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.
          georg Georg Richter made changes -
          issue.field.resolutiondate 2021-06-06 10:00:41.0 2021-06-06 10:00:41.758
          georg Georg Richter made changes -
          Component/s Generic [ 14515 ]
          Fix Version/s 1.0.7 [ 25635 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 122474 ] MariaDB v4 [ 135707 ]

          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.