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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.15, 6.9
    • None
    • All
    • 1cd7e01c9 (dev)

    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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes