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

QtQuick Shape crashes on Windows / blocks GUI on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.5.2, 6.5.3
    • Quick: Shapes
    • None
    • Linux/X11, Windows

    Description

      We currently try to display a roadmap of a virtual simulation database in QtQuick. We don't need any geo-referencing. But we have a lot of lines (about 40000 polylines containing 1 Mio vertices in one map layer).

      Because I didn't find anything better so far, I use a QML Shape. According to the documentation one Shape is better than many. Therefore I tried to use a Shape per map layer. In order not to block the GUI thread I set the Shape's asynchronous flag to true.

      I did this first on Linux (Qt 6.5.2) then compiled the same application on Windows (Qt 6.5.3):

      On Linux: The moment I set the data property of the Shape the GUI is blocked for about 30 seconds. Which should not happen if asynchronous is set, as far as I understand the manual.
      On Windows: The application crashes with an infinite recursion. See attached screenshot.

      To reproduce this I made a small application which creates 40000 parallel polylines (with coordinates all within 0 <= X < 11000 and  0 <= Y < 14000). See attached zip file. 

      Attachments

        1. ShapeCrash.png
          ShapeCrash.png
          128 kB
        2. ShapeCrash.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hatemelkharashy Hatem ElKharashy
            cyril Harald Prasser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes