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

GridLayout: Sometimes segmentation fault on destruction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • 5.1.0 Beta 1
    • Quick: Layouts
    • None
    • cf6f7de3f03d52174f3dfa57031159caa4e7be31

      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)

        1. gridinstack.tar.gz
          0.9 kB
          Caroline Chao
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes