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

CLONE - Segfault when unloading a plugin which creates a QScriptEngine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • Some future release
    • 4.7.0
    • Qt Script
    • None

    Description

      When a plugin which creates a QScriptEngine is unloaded a segfault occurs. I modified an existing Qt unit test to demonstrate.

      kde-devel@bishop:~/kde/src/qt/tests/auto/qpluginloader

      {4.7}$ ./tst_qpluginloader pluginWithScriptEngine
      ********* Start testing of tst_QPluginLoader *********
      Config: Using QTest library 4.7.0, Qt 4.7.0
      PASS : tst_QPluginLoader::initTestCase()
      PASS : tst_QPluginLoader::pluginWithScriptEngine()
      PASS : tst_QPluginLoader::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped
      ********* Finished testing of tst_QPluginLoader *********
      Segmentation fault
      kde-devel@bishop:~/kde/src/qt/tests/auto/qpluginloader{4.7}

      $

      This does not occur with Qt 4.5.2 or Qt 4.6.2 on linux.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kenthans Kent Hansen (Inactive)
            azarubkin Alexandr Zarubkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes