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

qmlls sends an error when trying to stop on startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • 6.8.0
    • QML: Tooling
    • None
    • All
    • 60cedb86c (dev), 47b358870 (6.8)

    Description

       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

      Attachments

        1. qmlls_verbose.log
          3 kB
        2. image-2024-11-28-11-54-05-927.png
          image-2024-11-28-11-54-05-927.png
          19 kB
        3. qmllsInput
          13 kB
        4. qmllsLog
          12 kB
        5. qmllsOutput
          49 kB
        6. qmllsInput_04_12_2024
          13 kB
        7. qmllsLog_04_12_2024
          12 kB
        8. qmllsOutput_04_12_2024
          49 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-131702
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes