Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59884

Crash when unloading bundle due to Objective-C category methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9
    • 5.7.1, 5.8.0, 5.9.0 Alpha
    • QPA
    • None
    • macOS 10.12.x
    • macOS

    Description

      Qt uses several Objective-C category methods which extend existing framework classes. If Qt is statically linked into plugin bundle, loading and unloading that bundle within application memory space will cause undefined behaviour for already created objects.

      Category methods are not essential for Qt, replacing them with Objective-C++ functions would make Qt more usable in plugin space.

      Attachments

        For Gerrit Dashboard: QTBUG-59884
        # Subject Branch Project Status CR V

        Activity

          People

            vestbo Tor Arne Vestbø
            pavol.markovic Pavol Markovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes