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

Crash in QQmlRefCount::release

    XMLWordPrintable

Details

    Description

      I had a crash with the following call-stack when running my Qt 5.3 application. When compiling against 5.1 everything is fine.

      frame #0: 0x00007fff8a534866 libsystem_kernel.dylib`__pthread_kill + 10
          frame #1: 0x00007fff83cb935c libsystem_pthread.dylib`pthread_kill + 92
          frame #2: 0x00007fff89750b1a libsystem_c.dylib`abort + 125
          frame #3: 0x00000001021d2fd8 libQt5Core_debug.5.dylib`qt_message_fatal((null)=QtFatalMsg, context=0x00007fff5fbfb988, message=0x00007fff5fbfb958) + 24 at qlogging.cpp:1340
          frame #4: 0x00000001021d4a98 libQt5Core_debug.5.dylib`QMessageLogger::fatal(this=0x00007fff5fbfb988, msg=0x000000010268b02a) const + 424 at qlogging.cpp:669
          frame #5: 0x00000001021cca82 libQt5Core_debug.5.dylib`qt_assert(assertion=0x00000001066bf836, file=0x00000001066bf84a, line=121) + 82 at qglobal.cpp:2124
          frame #6: 0x00000001062ccd58 libQt5Qml_debug.5.dylib`QQmlRefCount::release(this=0x000000011cb2db08) + 72 at qqmlrefcount_p.h:121
          frame #7: 0x000000010657bd8f libQt5Qml_debug.5.dylib`QQmlBoundSignalExpressionPointer::operator=(this=0x000000012039b708, other=0x0000000000000000) + 95 at qqmlboundsignal.cpp:455
          frame #8: 0x000000010657bcef libQt5Qml_debug.5.dylib`~QQmlBoundSignal(this=0x000000012039b6d0) + 63 at qqmlboundsignal.cpp:352
          frame #9: 0x000000010657bca5 libQt5Qml_debug.5.dylib`~QQmlBoundSignal(this=0x000000012039b6d0) + 21 at qqmlboundsignal.cpp:351
          frame #10: 0x000000010657bc79 libQt5Qml_debug.5.dylib`~QQmlBoundSignal(this=0x000000012039b6d0) + 25 at qqmlboundsignal.cpp:351
          frame #11: 0x00000001065459cd libQt5Qml_debug.5.dylib`QQmlData::destroyed(this=0x000000012549bb20, object=0x0000000125449690) + 1101 at qqmlengine.cpp:1642
          frame #12: 0x0000000106545570 libQt5Qml_debug.5.dylib`QQmlData::destroyed(d=0x000000012549bb20, o=0x0000000125449690) + 64 at qqmlengine.cpp:632
          frame #13: 0x0000000102576341 libQt5Core_debug.5.dylib`~QObject(this=0x0000000125449690) + 705 at qobject.cpp:916
          frame #14: 0x0000000103adf104 libQt5Quick_debug.5.dylib`~QQuickItem(this=0x0000000125449690) + 1236 at qquickitem.cpp:2118
          frame #15: 0x0000000103bbbf55 libQt5Quick_debug.5.dylib`~QQuickMouseArea(this=0x0000000125449690) + 21 at qquickmousearea.cpp:449
          frame #16: 0x000000011124bef5 libXXXXFoooooYYYYYYQuick_debug.dylib`~XXXXFoooooYYYYYYQuickMouseArea(this=0x0000000125449690) + 21 at XXXXFoooooYYYYYYQuickMouseArea.cpp:33
          frame #17: 0x000000011122f685 libXXXXFoooooYYYYYYQuick_debug.dylib`~QQmlElement(this=0x0000000125449690) + 69 at qqmlprivate.h:106
          frame #18: 0x000000011122f5a5 libXXXXFoooooYYYYYYQuick_debug.dylib`~QQmlElement(this=0x0000000125449690) + 21 at qqmlprivate.h:104
          frame #19: 0x000000011122f5c9 libXXXXFoooooYYYYYYQuick_debug.dylib`~QQmlElement(this=0x0000000125449690) + 25 at qqmlprivate.h:104
          frame #20: 0x0000000102576bcb libQt5Core_debug.5.dylib`QObjectPrivate::deleteChildren(this=0x00000001254e85d0) + 235 at qobject.cpp:1935
          frame #21: 0x00000001025769d6 libQt5Core_debug.5.dylib`~QObject(this=0x0000000137181640) + 2390 at qobject.cpp:1028
          frame #22: 0x0000000103adf104 libQt5Quick_debug.5.dylib`~QQuickItem(this=0x0000000137181640) + 1236 at qquickitem.cpp:2118
          frame #23: 0x0000000103b2e3a5 libQt5Quick_debug.5.dylib`~QQuickImplicitSizeItem(this=0x0000000137181640) + 21 at qquickimplicitsizeitem_p.h:51
          frame #24: 0x0000000103bf5697 libQt5Quick_debug.5.dylib`~QQuickBasePositioner(this=0x0000000137181640) + 391 at qquickpositioners.cpp:173
          frame #25: 0x0000000103b664d5 libQt5Quick_debug.5.dylib`~QQuickColumn(this=0x0000000137181640) + 21 at qquickpositioners_p.h:177
          frame #26: 0x0000000103b664b9 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x0000000137181640) + 73 at qqmlprivate.h:106
          frame #27: 0x0000000103b663d5 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x0000000137181640) + 21 at qqmlprivate.h:104
          frame #28: 0x0000000103b663f9 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x0000000137181640) + 25 at qqmlprivate.h:104
          frame #29: 0x0000000102576bcb libQt5Core_debug.5.dylib`QObjectPrivate::deleteChildren(this=0x00000001371ed400) + 235 at qobject.cpp:1935
          frame #30: 0x00000001025769d6 libQt5Core_debug.5.dylib`~QObject(this=0x00000001371f32a0) + 2390 at qobject.cpp:1028
          frame #31: 0x0000000103adf104 libQt5Quick_debug.5.dylib`~QQuickItem(this=0x00000001371f32a0) + 1236 at qquickitem.cpp:2118
          frame #32: 0x0000000103b2e3a5 libQt5Quick_debug.5.dylib`~QQuickImplicitSizeItem(this=0x00000001371f32a0) + 21 at qquickimplicitsizeitem_p.h:51
          frame #33: 0x0000000103bf5697 libQt5Quick_debug.5.dylib`~QQuickBasePositioner(this=0x00000001371f32a0) + 391 at qquickpositioners.cpp:173
          frame #34: 0x0000000103b54675 libQt5Quick_debug.5.dylib`~QQuickRow(this=0x00000001371f32a0) + 21 at qquickpositioners_p.h:191
          frame #35: 0x0000000103b54659 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x00000001371f32a0) + 73 at qqmlprivate.h:106
          frame #36: 0x0000000103b54575 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x00000001371f32a0) + 21 at qqmlprivate.h:104
          frame #37: 0x0000000103b54599 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x00000001371f32a0) + 25 at qqmlprivate.h:104
          frame #38: 0x0000000102576bcb libQt5Core_debug.5.dylib`QObjectPrivate::deleteChildren(this=0x000000011118ec40) + 235 at qobject.cpp:1935
          frame #39: 0x00000001025769d6 libQt5Core_debug.5.dylib`~QObject(this=0x000000011f7aaf30) + 2390 at qobject.cpp:1028
          frame #40: 0x0000000103adf104 libQt5Quick_debug.5.dylib`~QQuickItem(this=0x000000011f7aaf30) + 1236 at qquickitem.cpp:2118
          frame #41: 0x0000000103b2e3a5 libQt5Quick_debug.5.dylib`~QQuickImplicitSizeItem(this=0x000000011f7aaf30) + 21 at qquickimplicitsizeitem_p.h:51
          frame #42: 0x0000000103bf5697 libQt5Quick_debug.5.dylib`~QQuickBasePositioner(this=0x000000011f7aaf30) + 391 at qquickpositioners.cpp:173
          frame #43: 0x0000000103b54675 libQt5Quick_debug.5.dylib`~QQuickRow(this=0x000000011f7aaf30) + 21 at qquickpositioners_p.h:191
          frame #44: 0x0000000103b54659 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x000000011f7aaf30) + 73 at qqmlprivate.h:106
          frame #45: 0x0000000103b54575 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x000000011f7aaf30) + 21 at qqmlprivate.h:104
          frame #46: 0x0000000103b54599 libQt5Quick_debug.5.dylib`~QQmlElement(this=0x000000011f7aaf30) + 25 at qqmlprivate.h:104
          frame #47: 0x000000010257784e libQt5Core_debug.5.dylib`qDeleteInEventHandler(o=0x000000011f7aaf30) + 46 at qobject.cpp:4345
          frame #48: 0x00000001025773b2 libQt5Core_debug.5.dylib`QObject::event(this=0x000000011f7aaf30, e=0x000000010793e770) + 354 at qobject.cpp:1232
          frame #49: 0x0000000103aee40a libQt5Quick_debug.5.dylib`QQuickItem::event(this=0x000000011f7aaf30, ev=0x000000010793e770) + 1290 at qquickitem.cpp:7114
          frame #50: 0x00000001055f72af libQt5Widgets_debug.5.dylib`QApplicationPrivate::notify_helper(this=0x0000000107809560, receiver=0x000000011f7aaf30, e=0x000000010793e770) + 399 at qapplication.cpp:3500
          frame #51: 0x00000001055f9274 libQt5Widgets_debug.5.dylib`QApplication::notify(this=0x0000000107808fb0, receiver=0x000000011f7aaf30, e=0x000000010793e770) + 2164 at qapplication.cpp:2953
          frame #52: 0x000000010252856f libQt5Core_debug.5.dylib`QCoreApplication::notifyInternal(this=0x0000000107808fb0, receiver=0x000000011f7aaf30, event=0x000000010793e770) + 207 at qcoreapplication.cpp:935
          frame #53: 0x000000010252d564 libQt5Core_debug.5.dylib`QCoreApplication::sendEvent(receiver=0x000000011f7aaf30, event=0x000000010793e770) + 84 at qcoreapplication.h:237
          frame #54: 0x0000000102529a15 libQt5Core_debug.5.dylib`QCoreApplicationPrivate::sendPostedEvents(receiver=0x0000000000000000, event_type=0, data=0x0000000107915f60) + 1429 at qcoreapplication.cpp:1539
          frame #55: 0x0000000102528e7f libQt5Core_debug.5.dylib`QCoreApplication::sendPostedEvents(receiver=0x0000000000000000, event_type=0) + 47 at qcoreapplication.cpp:1397
          frame #56: 0x000000010d0389d2 libqcocoa_debug.dylib`QCocoaEventDispatcherPrivate::processPostedEvents(this=0x0000000107d07b00) + 274 at qcocoaeventdispatcher.mm:901
          frame #57: 0x000000010d039868 libqcocoa_debug.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(info=0x0000000107d07b00) + 88 at qcocoaeventdispatcher.mm:923
          frame #58: 0x00007fff82d3b661 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
          frame #59: 0x00007fff82d2cdd9 CoreFoundation`__CFRunLoopDoSources0 + 441
          frame #60: 0x00007fff82d2c49f CoreFoundation`__CFRunLoopRun + 831
          frame #61: 0x00007fff82d2bf25 CoreFoundation`CFRunLoopRunSpecific + 309
          frame #62: 0x00007fff89d57a0d HIToolbox`RunCurrentEventLoopInMode + 226
          frame #63: 0x00007fff89d577b7 HIToolbox`ReceiveNextEventCommon + 479
          frame #64: 0x00007fff89d575bc HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65
          frame #65: 0x00007fff8416d26e AppKit`_DPSNextEvent + 1434
          frame #66: 0x00007fff8416c8bb AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
          frame #67: 0x00007fff841609bc AppKit`-[NSApplication run] + 553
          frame #68: 0x000000010d037abf libqcocoa_debug.dylib`QCocoaEventDispatcher::processEvents(this=0x0000000107d06420, flags=QEventLoop::ProcessEventsFlags at 0x00007fff5fbff690) + 1119 at qcocoaeventdispatcher.mm:421
          frame #69: 0x0000000102523dba libQt5Core_debug.5.dylib`QEventLoop::processEvents(this=0x00007fff5fbff820, flags=QEventLoop::ProcessEventsFlags at 0x00007fff5fbff6c8) + 122 at qeventloop.cpp:136
          frame #70: 0x0000000102523ff1 libQt5Core_debug.5.dylib`QEventLoop::exec(this=0x00007fff5fbff820, flags=QEventLoop::ProcessEventsFlags at 0x00007fff5fbff798) + 545 at qeventloop.cpp:212
          frame #71: 0x0000000102528d29 libQt5Core_debug.5.dylib`QCoreApplication::exec() + 393 at qcoreapplication.cpp:1188
          frame #72: 0x0000000102dc4c26 libQt5Gui_debug.5.dylib`QGuiApplication::exec() + 22 at qguiapplication.cpp:1436
          frame #73: 0x00000001055f88b9 libQt5Widgets_debug.5.dylib`QApplication::exec() + 9 at qapplication.cpp:2745
          frame #74: 0x000000010000b8f4 FoooooApp`FoooooAppGlobal::run(this=0x00007fff5fbff9e0) + 100 at main.cpp:276
      

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              lsinda Lars Sinda
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes