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

exceptionsafety_objects autotest fails for namespaced Qt builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.8.0
    • Core: Object Model
    • None
    • Ubuntu 10.04, gcc 4.4.3

    Description

      Using the current master branch of the qt-qa-team repository, the exceptionsafety_objects test runs properly on Linux in a non-namespaced build, but in a namespaced build the widgets testfunction fails.

      The failure reports that an unhandled exception was thrown by the test when testing with the QWidget class. This failure causes the entire test program to abort.

      Debugging performed by Rohan McGovern on the CI machine suggests that the test correctly triggers bad_alloc to be thrown, but that it is not caught as it should be by the test. It is curious that the error only happens in a namespaced build. The source of the compiler reveals that the internals of the memory allocator are implemented in a namespace, though not a namespace used by Qt.

      Attachments

        Issue Links

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

          Activity

            People

              fernenge Harald Fernengel
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes