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

QImage::fill() causes a SIGSEGV for images with format QImage::Format_RGB32

    XMLWordPrintable

Details

    Description

      The following two lines of code cause a SIGSEGV:

      QImage Image(QSize(1280, 960), QImage::Format_RGB32);
      Image.fill(4);

      Reproducible: always
      The code works fine on Qt 4.6.3

      The attachements contain a stacktrace and the variables in qt_memfill32_sse2() at the time of the SIGSEGV. The instruction pointer points to the following line:
      const __m128i value128 = _mm_set_epi32(value, value, value, value);
      The error does not occur if I use QImage::Format_Indexed8

      Attachments

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

        Activity

          People

            kkalland Kim Motoyoshi Kalland (Inactive)
            ukindler Uwe Kindler
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes