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. valgrind.txt
          39 kB
        3. valgrind-v2.txt
          41 kB
        4. valgrind-v3.txt
          37 kB
        5. qtbug53948.zip
          4 kB

        Issue Links

          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: