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

Showing Virtual Keyboard multiple times causes assert in jsruntime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6, 5.9
    • Virtual Keyboard
    • Windows 7
      Visual Studio 2013 32bit
      Ubuntu 16.04

    Description

      When closing dialog containing Virtual Keyboard, the program crashes at assert in qv4runtime:
      ASSERT: "value.isString()" in file
      /home/ulf/dev/qt5-src/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp, line 440.

      Not reproducible in release mode, only debug mode.

      Steps to reproduce:

      • Run attached sample in debug mode
      • Open Input Dialog from menu, observe virtual keyboard opening
      • Open Input Dialog second time, close it after virtual keyboard is shown
      • EXPECTED: Dialog properly closes
      • ACTUAL: Assert is hit

      If the input dialog is not destroyed (in this example via WA_DeleteOnClose) after each use, this problem is not reproducible.

      Attachments

        1. qtbug53948_callstack.txt
          5 kB
        2. qtbug53948.zip
          4 kB
        3. valgrind.txt
          39 kB
        4. valgrind-v2.txt
          41 kB
        5. valgrind-v3.txt
          37 kB

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              jussi_witick Jussi Witick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes