Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-60

Thrown exceptions may crash an application under ceratain conditions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.9.4
    • Fix Version/s: 1.0.0
    • Component/s: General
    • Labels:
      None

      Description

      The crash occurs in the exception destructor. I could get it crash running compliance tests suite with wrong credentials, i.e. when connection method throws the exception. Other testsuites does not do, and I kinda failed to create a standalone test.
      The reason is seemingly this pure Windows thing, when object is created in dll, and destructed in application(or vice versa). Making sure that copyconstructor exists only on the library side solved the problem.

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            Lawrin Lawrin Novitsky
            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.