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

QStyleSheetStyle::pixelMetric using PM_TabBarBaseOverlap null ptr crash accessing w

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.1
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Commits:
      e4b94dd19cccd769f8326df20556a8900e7cfb3f

      Description

      qstylesheetstyle.cpp line 4713 attempts to use w->parentWidget() when w is null (which is its default value).

      An example that is crashing for me is:

      QQuickStyleItem::pixelMetric() [line 1072] calls QStyleSheetStyle::pixelMetric() with:
      m = QStyle::PM_TabBarBaseOverlap
      w = null (default param)

        Attachments

        For Gerrit Dashboard: QTBUG-35901
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            bachewii Jens
            Reporter:
            mattbolger Matt Bolger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes