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

QPainter::drawPixmap is causing a segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.6.2
    • GUI: Painting
    • None
    • Linux, X11 debian testing..
    • 08e2216a5157c5de30a65674051b08df6f2a1bf6

    Description

      When I scale a painter in 131072 times and try to draw a pixmap on it, it crashes.

      The example is very simple (there is a small compilable file in the attachment):

      painter->scale(131072, 131072);
      painter->drawPixmap(0, 0, pix);

      Probably it is a regression
      It works on 4.5.3, but it doesn't work on 4.6.X and 4.7.

      I test it on Linux X11 and Symbian.

      ps: It works with -graphicssystem opengl. It can be a clue =)

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            danilocesar Danilo Cesar Lemes de Paula
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes