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

qmlls sends an error when trying to stop on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.11
    • 6.8.0
    • QML: Tooling
    • None
    • All
    • 60cedb86c (dev), 47b358870 (6.8), b02c70db6 (dev)

       When the vscode extension tries to restart `qmlls` with new parameters, `qmlls` sends the `[ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed` error and the language client shows an error message to the user. Interestingly, this problem does not occur when the extension restarts `qmlls` after startup. It only happens on startup. When I reverted I6f164e640234af15a437e10d404ae62c40286099, the error message the language client shows to the user has changed from `Connection to server got closed. Server will not be restarted.` to `Client qmlls: connection to server is erroring. Cannot call write after a stream was destroyed` but `[ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed` persists in the log.

      I attached a verbose qml log. I can also share more information if needed.

      qmlls_verbose.log

        1. image-2024-11-28-11-54-05-927.png
          image-2024-11-28-11-54-05-927.png
          19 kB
        2. qmlls_verbose.log
          3 kB
        3. qmllsInput
          13 kB
        4. qmllsInput_04_12_2024
          13 kB
        5. qmllsLog
          12 kB
        6. qmllsLog_04_12_2024
          12 kB
        7. qmllsOutput
          49 kB
        8. qmllsOutput_04_12_2024
          49 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sami.shalayel Sami Shalayel
            orkun.tokdemir Orkun Tokdemir
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes