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

Embedded server crashes when mysql_library_init called after mysql_library_end

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.6.8, 10.8.3
    • N/A
    • Embedded Server
    • None
    • OSX 12.4
      Ubuntu focal 20.04

    Description

      Calling mysql_library_init after a call to mysql_library_end generates a crash.

      The crash occurs in the function:
      void one_thread_scheduler(scheduler_functions *func,...). On the second call of this function, func is NULL and this is the cause of the crash.

      How to reproduce:

      • mysql_library_init(...)
      • mysql_library_end()
      • mysql_library_init(...) --> Crash

      It is important to be able to initialize the library several times in order to change the data directory.

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              talucien Lucien Schreiber
              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.