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

Segfault when unloading a plugin which creates a QScriptEngine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 4.7.0, 5.2.1
    • 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

            laknoll Lars Knoll
            steveire Stephen Kelly (Personal)
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes