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

Qt Creator crashes when GammaRay inspects its styles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 7.0.2
    • Qt Creator 6.0.2
    • All Other Issues
    • b748f531eec7745a6c0f99ff45d70c659e669f47

    Description

      When I build GammaRay https://github.com/KDAB/GammaRay/tree/work/qt6-support and attach to Qt Creator, then click GammaRay's Styles tab, Qt Creator crashes.

      The stack trace points to https://github.com/qt-creator/qt-creator/blob/v6.0.2/src/plugins/coreplugin/manhattanstyle.cpp#L404. It seems ManhattanStyle::styleHint() calls a method on widget without verifying it's non-null on the QStyle::SH_Widget_Animation_Duration path. I'm not sure if there are other code bugs.

      Attachments

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

        Activity

          People

            con Eike Ziller
            nyanpasu64 Nyan Pasu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes