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

Reg 6.9->6.10: Crash with Worker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P1: Critical P1: Critical
    • None
    • 6.10.0 Beta4
    • None
    • Linux/Wayland

      In the attached reproducer, there is a Worker filling a ListModel to display a keyboard.
      If you click 3/4 times on the button, it will either crash or infinite loop.

      Some error cases possible:

      • The rowModel becomes randomly a "TypeError":
        js: populate QQmlListModelWorkerAgent(0x55a80667b140)
        qrc:/qt/qml/BugWorker/virtualkeyboard_worker.js:24: TypeError: Property 'append' of object TypeError: Type error is not a function
        
      • sometimes, it will freeze just before displaying this log.
      • other mention a QWaitCondition:
        js: populate QQmlListModelWorkerAgent(0x5649c5d90ca0)
        QWaitCondition: mutex destroy failure (Device or resource busy)
        qml: triggered
        

      Maybe not related to this issue, but as long as there is a Worker in the main.qml, there is this warning at the application start: qt.core.qobject.connect: QObject::connect(QJSEngine, QtObject): invalid nullptr parameter

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            be__good jo jo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes