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

Crash on OpenFile dialog (C++, QML, cmake, Windows, Visual Studio 2012 64 bits)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 5.2.0
    • 5.1.0 , 5.1.1
    • Quick: Dialogs
    • C++, QML, Windows 7/8, Visual Studio 2010/2012 64 bits, Qt5.1.0 with desktop OpenGL, svg

    Description

      The executable crashes when the dialog is closed. It doesn't matter if user clicked open, cancel or selected a file with double clic. It happens 1/25 times in release mode (approximately) and 1/5 times in debug (approximately).
      It sometimes give the attached stack (stack.txt). Sometimes not.

      To test it: there is a button in the lower corner of the screen. Click it to open the dialog. The button is not visible, but it doesn't matter. Note that code is copy-pasted from the main project in which we discovered the supposed bug. If it's necessary we can try to narrow it even more.

      Project can be downloaded from: https://github.com/GdelP/qt51crashonfiledialog

      Attachments

        1. 0001-Do-not-call-hide-on-a-shown-modal-dialog.patch
          1.0 kB
          Jan Arve
        2. autocrash.zip
          5 kB
          Shawn Rutledge
        3. qt51crashonfiledialog.zip
          17 kB
          Alejandro Velasco
        4. stack.txt
          2 kB
          Alejandro Velasco

        Issue Links

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

          Activity

            People

              smd Jan Arve
              gdelp Alejandro Velasco
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes