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

Exception floating-point division by zero

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.1
    • 4.7.1, 4.8.3, 4.8.4, 5.0.1
    • GUI: Painting
    • Windows 7, MS Visual Studio 2008
    • 85b4f0d2d3ffd326548ca8f0e15ac27f5fd8d77d (Qt 5), 032baf26784c2ee45bec3f9bfe81f6e7158491d3 (Qt 4.8.6, 13.1.2014)

    Description

      Exception 0xC000008E: Floating-point division by zero
      in file: \src\gui\painting\qrasterizer.cpp
      function: QRasterizer::rasterizeLine
      lines:
      const qreal topLeftSlope = topLeftEdge.x() / topLeftEdge.y();
      const qreal bottomLeftSlope = bottomLeftEdge.x() / bottomLeftEdge.y();
      const qreal topRightSlope = topRightEdge.x() / topRightEdge.y();
      const qreal bottomRightSlope = bottomRightEdge.x() / bottomRightEdge.y();

      Exception is only, if flag QPainter::Antialiasing is set for QPainter

      Attachments

        1. main.cpp
          0.8 kB
        2. PainterTest.zip
          18 kB
        3. qtbug16757.tar
          10 kB
        4. stacktrace.txt
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            dmitriy Dmitriy
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes