Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3236

Async loading complex project causes viewer crash on shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Won't Do
    • Affects Version/s: Qt 3D Studio 2.3 RC2
    • Fix Version/s: None
    • Component/s: Runtime 2.x
    • Labels:
      None

      Description

      The issue is an assert in QRawFontPrivate::setFontEngine(), which checks that the engine is set and cleared in the same thread. Short investigation into issue reveals that fonts are registered for each presentation when building the scene, which is pretty much a waste of time anyway, since all presentations register the same font folder. When async loading subpresentations, the scene is built in a worker thread, leading to registering fonts in worker thread.

      The font registration should be centralized to engine instead of doing it in the scene. This should also help a bit with startup time, as duplication is removed.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes