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

qDebug() << (QGesture*)nullptr; segfaults

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15, 6.9
    • None
    • All

    Description

      Several of the qDebug() operator<< functions do not check for nullptr and will crash.

      Also, the output of the debug is inconsistent when the value is a nullptr. QWidget(0x0) vs QAccessibleInterface(null) vs QEvent(this = 0x0) vs QPlatformMenu(0)

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            daniel.trevitz@belden.com Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change