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

Assistant crashes when remote controlled and gets syncContents

    XMLWordPrintable

Details

    • 10ddcc93c15d2c7bd5126fdb9ed217eb496cc387 (Qt 4), 378d04837cb0033031f26269b1194855870ee1d6 (Qt 5)

    Description

      If the assistant is used in mode remoteControl and receives a syncContents command together or directly after setSource the assistant
      crashes most times on startup. It seems the assistant tries to build the indexes in the compiled help after startup and receives the
      syncContents command and this two "jobs" are not syncronized. This bug is maybe related to QTBUG-11342.
      Before fixing this bug the syncContents did not work at all. Not it works sometimes .
      Attached is a slightly modified QT example from help directory (remotecontrol).
      Replace the original remotecontrol.cpp with the modified and recompile.
      After that start the sample and press the button "Launch Qt Help Viewer".
      Most times the assistant starts and then crashes. Sometimes it works. So if the assistant
      does not crash immediately, try several times and you will see the crash of assistant.
      To see the bug please close the assistant before trying again. If the assistant is up and running
      the crash does not happen. It happens always after start of assistant!
      Also a Stackdump of the assistant in case of the crash is attached.

      Attachments

        1. files.zip
          52 kB
        2. stacktrace.txt
          5 kB

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              michael2010 Michael Lamparth
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes