Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-109

Qt Creator crashes when including <cml/cml.h> from the Configurable Math Library

    XMLWordPrintable

Details

    • 07c2451abd28dd2598f0570622b4324288cbaccc

    Description

      Qt Creator crashes when including <cml/cml.h> from the Configurable Math Library.

      Steps to reproduce:

      1. Install CML header files (available from http://www.cmldev.net/).
      2. Create new project in Qt Creator.
      3. Add INCLUDEPATH += <path/to/cml.h/..> to the project's .pro file and save.
      4. Add #include <cml/cml.h> to main.cpp. Memory consumption should increase and Qt Creator will crash after a while, when not enough memory can be allocated.

      The increasing memory consumption starts when Qt Creator parses the select_switch template struct in cml/core/meta/switch.h.

      The crash does not occur if INCLUDEPATH += <path/to/cml.h> is added to the .pro file and #include <cml.h> is added to main.cpp instead.

      Attachments

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

        Activity

          People

            raggi Roberto Raggi
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes