Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20735

Opening a specific .ui file in designer, closing it, then opening another causes segfault

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: Qt Creator 4.7.0-rc1
    • Fix Version/s: None
    • Component/s: Widget Designer
    • Labels:
      None
    • Environment:
      uname -a:
      Linux XXXXX 4.17.3-1-MANJARO #1 SMP PREEMPT Tue Jun 26 15:47:16 UTC 2018 x86_64 GNU/Linux

      kf5-config --kde-version: 5.47.0

      QtCreator 4.7.0-rc1 installed from the Qt Maintenance Tool.
    • Platform/s:
      Linux/X11

      Description

      In a project with a number .ui files, opening any of them after the attached mainwindow.ui file causes QtCreator to segfault.

      In the project, I can successfully go into design mode on any of the .ui files. However, after successfully going into design mode with the attached mainwindow.ui file, attempting to use any other .ui file causes a segfault (after a few seconds). This does not occur when mainwindow.ui is the next .ui file I use - I can open and close mainwindow.ui as may times as I like in succession, but after using it, any other .ui file (which would previously open successfully) causes the segfault.

      This problem didn't exhibit itself in beta 2.

      Steps to reproduce:

      1. Create a project with multiple .ui files, including the attached mainwindow.ui file
      2. Open the project in QtCreator
      3. Double-click the mainwindow.ui file to enter design mode
      4. Close design mode
      5. Double-click any other .ui file to enter design mode

        Attachments

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

          Activity

            People

            • Assignee:
              kleint Friedemann Kleint
              Reporter:
              dedale Darren Edale
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes