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

Crash when setGeometry

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.5.2
    • Widgets: Main Window
    • None
    • macOS

    Description

      0 libobjc.A.dylib lookUpImpOrForward (in libobjc.A.dylib) + 396 0x19a410000 + 40924
      1 libobjc.A.dylib lookUpImpOrForward (in libobjc.A.dylib) + 396 0x19a410000 + 40924
      2 libobjc.A.dylib _objc_msgSend_uncached (in libobjc.A.dylib) + 68 0x19a410000 + 39780
      3 AppKit -[NSView(NSConstraintBasedLayoutInternal) _makeOrUpdateContentSizeWidthConstraint:heightConstraint:] (in AppKit) + 280 0x19dab0000 + 10774992
      4 AppKit -[NSView(NSConstraintBasedLayoutInternal) _updateContentSizeConstraints] (in AppKit) + 476 0x19dab0000 + 10773860
      5 AppKit -[NSView updateConstraints] (in AppKit) + 76 0x19dab0000 + 787316
      6 AppKit ___NSViewUpdateConstraints_block_invoke (in AppKit) + 88 0x19dab0000 + 8423360
      7 AppKit NSPerformVisuallyAtomicChange (in AppKit) + 108 0x19dab0000 + 512468
      8 AppKit _NSViewUpdateConstraints (in AppKit) + 96 0x19dab0000 + 787228
      9 AppKit -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit) + 692 0x19dab0000 + 786508
      10 AppKit -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit) + 368 0x19dab0000 + 786184
      11 AppKit -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit) + 368 0x19dab0000 + 786184
      12 AppKit __82-[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:]_block_invoke (in AppKit) + 228 0x19dab0000 + 834820
      13 CoreAutoLayout -[NSISEngine withBehaviors:performModifications:] (in CoreAutoLayout) + 88 0x1a2578000 + 66836
      14 AppKit -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] (in AppKit) + 200 0x19dab0000 + 786016
      15 AppKit __45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke_2 (in AppKit) + 52 0x19dab0000 + 8382456
      16 CoreAutoLayout -[NSISEngine withBehaviors:performModifications:] (in CoreAutoLayout) + 88 0x1a2578000 + 66836
      17 AppKit -[NSView(NSConstraintBasedLayoutInternal) _withAutomaticEngineOptimizationDisabled:] (in AppKit) + 48 0x19dab0000 + 10762884
      18 AppKit __45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke (in AppKit) + 224 0x19dab0000 + 785432
      19 AppKit NSPerformVisuallyAtomicChange (in AppKit) + 108 0x19dab0000 + 512468
      20 AppKit -[NSView updateConstraintsForSubtreeIfNeeded] (in AppKit) + 96 0x19dab0000 + 785196
      21 CoreAutoLayout -[NSISEngine withBehaviors:performModifications:] (in CoreAutoLayout) + 88 0x1a2578000 + 66836
      22 AppKit -[NSView(NSConstraintBasedLayoutInternal) _withAutomaticEngineOptimizationDisabled:] (in AppKit) + 48 0x19dab0000 + 10762884
      23 AppKit -[NSWindow(NSConstraintBasedLayoutInternal) updateConstraintsIfNeeded] (in AppKit) + 172 0x19dab0000 + 10800748
      24 AppKit -[NSWindow _oldPlaceWindow:fromServer:] (in AppKit) + 456 0x19dab0000 + 521532
      25 AppKit -[NSWindow _setFrameCommon:display:fromServer:] (in AppKit) + 1824 0x19dab0000 + 517780
      26 libqcocoa.dylib 0x000000010699e870 QCocoaWindow::setCocoaGeometry(QRect const&) + 239728 (qcocoawindow.mm:284)
      27 libqcocoa.dylib 0x000000010699e5a4 QCocoaWindow::setGeometry(QRect const&) + 239012 (qcocoawindow.mm:204)
      28 QtGui 0x00000001060856e4 QWindow::resize(QSize const&) + 841444 (qwindow.cpp:0)
      29 QtGui 0x0000000106087aac QWindow::resize(int, int) + 850604 (qwindow.cpp:1930)
      30 QtWidgets 0x0000000106be3c60 QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 343136 (qwidget.cpp:0)
      31 QtWidgets 0x0000000106be3fa0 QWidget::resize(QSize const&) + 343968 (qwidget.cpp:7233)
      32 QtWidgets 0x0000000106bddca0 QWidget::setMinimumSize(int, int) + 318624 (qwidget.cpp:3964)
      33 QtWidgets 0x0000000106bde790 QWidget::setFixedHeight(int) + 321424 (qwidget.cpp:4189)

      I encountered a crash, when I create a widget and setFixedHeight, Qt crashed, it's occasional and i cant reproduce it.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            vincentwu wenchang Wu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes