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

GridLayout: Sometimes segmentation fault on destruction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.1.0 Beta 1
    • Quick: Layouts
    • None
    • 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

        1. gridinstack.tar.gz
          0.9 kB
          Caroline Chao

        Issue Links

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

          Activity

            People

              smd Jan Arve
              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