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

QtPrivate::QPropertyBindingData::d() read access violation (use after free)

XMLWordPrintable

    • Windows

      The bug happens when trying to use Q_OBJECT_BINDABLE_PROPERTY.

      It finally goes down to function QtPrivate::QPropertyBindingData::d(). At the time of function quintptr d() const

      { return d_ref(); }

      trying to return, application crashes because of read access violation at (usually) 0x[all Fs]. The reason is believed to be a dangling pointer.

      Using MSVC 100% reproduces the bug. MinGW seems fine so far (maybe just luck).

      Use the attached sample to reproduce the issue.

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

            oulu_hillbilly Sami Varanka
            luqiaochen Luqiao Chen
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes