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

GridLayout: Sometimes segmentation fault on destruction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.1.0 Beta 1
    • Fix Version/s: None
    • Component/s: Quick: Layouts
    • Labels:
      None
    • Commits:
      cf6f7de3f03d52174f3dfa57031159caa4e7be31

      Description

      Using the test case included in gridinstack.tar.gz

      1 - click the red button to push the page (MyPage.qml using GridLayout) in the stack
      2 - press the green button to go back
      => There is a segfault when trying the destroy the MyPage.qml

      Note that in MyPage.qml, the segfault does not arise if:

      • you comment out the line "property int myproperty: 0"
      • or if you comment the line "Layout.columnSpan: 2" in label2
        (commenting the same line in label1 does not prevent the segfault)

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              smd Jan Arve
              Reporter:
              carochao Caroline Chao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes