Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6832

Review how Mesos handles loading and unloading of dynamic libraries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • cmake, gpu, java api, modules

    Description

      There are three instances in the codebase where we load a dynamic library into a static variable and leak said variable on purpose:

      Since the dynamic libraries are loaded into static variables, they will only be destructed when the library (i.e. libmesos) gets unloaded. This might lead to inconsistencies when libmesos's own destruction unloads e.g., a dynamic libprocess, which might be opened by a dlopen of a module. The module's cleanup would not find libprocess anymore and potentially crash during unloading.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaysoky Joseph Wu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: