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

Regression: Path filling performance improvement can cause infinite loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0
    • 5.0.0
    • GUI: Painting
    • None
    • fc6c050b409ec4697a58e8f4fc028a6a4b3d46f7

    Description

      Commit 6506e0a6eec67985432427c630b148e825184c5d / http://codereview.qt-project.org/#change,11007 improved path filling performance with the raster paint engine. Unfortunately the fix caused a regression in WebKit's fast/canvas/canvas-largedraws.html layout test, causing QBezier::addToPolygon to enter an infinite loop adding points to the polygon endlessly.

      The attached test case provides the same input values used by the layout test in a standalone .cpp using QPainterPath/QPainter/QImage - it reproduces the hang for me.

      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)
            shausman Simon Hausmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes