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

Crash on start in QtDeclarative module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.7.4
    • None
    • Linux, X11

    Description

      Crash on start in setSource, my application started and i found example (corkboards) which crashes in exactly same place:

      Core was generated by `qmlviewer corkboards.qml'.
      Program terminated with signal 11, Segmentation fault.
      #0 0xb75a7580 in disconnect (this=0x8294998, instrIndex=2, context=0x8292a38, error=0x830a714, scope=0x82f4eb0, output=0x82f4eb0, storeFlags=...)
      at ../../include/QtDeclarative/private/../../../src/declarative/qml/qdeclarativenotifier_p.h:206
      206 ../../include/QtDeclarative/private/../../../src/declarative/qml/qdeclarativenotifier_p.h: No such file or directory.
      in ../../include/QtDeclarative/private/../../../src/declarative/qml/qdeclarativenotifier_p.h
      (gdb) bt
      #0 0xb75a7580 in disconnect (this=0x8294998, instrIndex=2, context=0x8292a38, error=0x830a714, scope=0x82f4eb0, output=0x82f4eb0, storeFlags=...)
      at ../../include/QtDeclarative/private/../../../src/declarative/qml/qdeclarativenotifier_p.h:206
      #1 unsubscribe (this=0x8294998, instrIndex=2, context=0x8292a38, error=0x830a714, scope=0x82f4eb0, output=0x82f4eb0, storeFlags=...)
      at qml/qdeclarativecompiledbindings.cpp:686
      #2 subscribeId (this=0x8294998, instrIndex=2, context=0x8292a38, error=0x830a714, scope=0x82f4eb0, output=0x82f4eb0, storeFlags=...)
      at qml/qdeclarativecompiledbindings.cpp:693
      #3 QDeclarativeCompiledBindingsPrivate::run (this=0x8294998, instrIndex=2, context=0x8292a38, error=0x830a714, scope=0x82f4eb0, output=0x82f4eb0,
      storeFlags=...) at qml/qdeclarativecompiledbindings.cpp:1172
      #4 0xb75a8553 in QDeclarativeCompiledBindingsPrivate::run (this=0x8294998, binding=0x830a6f4, flags=...) at qml/qdeclarativecompiledbindings.cpp:397
      #5 0xb75a87e1 in QDeclarativeCompiledBindings::qt_metacall (this=0x8294970, c=QMetaObject::InvokeMetaMethod, id=<value optimized out>)
      at qml/qdeclarativecompiledbindings.cpp:349
      #6 0xb64c76e4 in metacall (object=0x8294970, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbff4f094) at kernel/qmetaobject.cpp:237
      #7 QMetaObject::metacall (object=0x8294970, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbff4f094) at kernel/qmetaobject.cpp:232
      #8 0xb64d7660 in QMetaObject::activate (sender=0x82ab7c8, m=0xb7272498, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3278
      #9 0xb6f4c485 in QGraphicsObject::xChanged (this=0x82ab7c8) at .moc/debug-shared/moc_qgraphicsitem.cpp:245
      #10 0xb6f4e66c in QGraphicsItemPrivate::setPosHelper (this=0x8306720, pos=...) at graphicsview/qgraphicsitem.cpp:3683
      #11 0xb748ef00 in QDeclarativeItemPrivate::setPosHelper (this=0x8306720, pos=...)
      at ../../include/QtDeclarative/private/../../../src/declarative/graphicsitems/qdeclarativeitem_p.h:310
      #12 0xb6f503e8 in QGraphicsItem::setPos (this=0x82ab7d0, pos=...) at graphicsview/qgraphicsitem.cpp:3722
      #13 0xb6f50778 in QGraphicsItem::setX (this=0x82ab7d0, x=-142.90000000000001) at graphicsview/qgraphicsitem.cpp:3625
      #14 0xb6f6005e in QGraphicsObject::qt_metacall (this=0x82ab7c8, _c=QMetaObject::WriteProperty, _id=5, _a=0xbff4f558)
      at .moc/debug-shared/moc_qgraphicsitem.cpp:186
      #15 0xb74b21bd in QDeclarativeItem::qt_metacall (this=0x82ab7c8, _c=QMetaObject::WriteProperty, _id=6, _a=0xbff4f558)
      at .moc/debug-shared/moc_qdeclarativeitem.cpp:233
      #16 0xb7643982 in QDeclarativeImplicitSizeItem::qt_metacall (this=0x82ab7c8, _c=QMetaObject::WriteProperty, _id=6, _a=0xbff4f558)
      at .moc/debug-shared/moc_qdeclarativeimplicitsizeitem_p.cpp:87
      #17 0xb7632526 in QDeclarativeImageBase::qt_metacall (this=0x82ab7c8, _c=QMetaObject::WriteProperty, _id=6, _a=0xbff4f558)
      at .moc/debug-shared/moc_qdeclarativeimagebase_p.cpp:136
      #18 0xb7632102 in QDeclarativeImage::qt_metacall (this=0x82ab7c8, _c=QMetaObject::WriteProperty, _id=6, _a=0xbff4f558)
      at .moc/debug-shared/moc_qdeclarativeimage_p.cpp:94
      #19 0xb64c76e4 in metacall (object=0x82ab7c8, cl=QMetaObject::WriteProperty, idx=6, argv=0xbff4f558) at kernel/qmetaobject.cpp:237
      #20 QMetaObject::metacall (object=0x82ab7c8, cl=QMetaObject::WriteProperty, idx=6, argv=0xbff4f558) at kernel/qmetaobject.cpp:232
      #21 0xb753568c in QDeclarativePropertyPrivate::write (object=0x82ab7c8, property=..., value=..., context=0x8292a38, flags=...)
      at qml/qdeclarativeproperty.cpp:1173
      #22 0xb7536103 in QDeclarativePropertyPrivate::writeValueProperty (this=0x82ab828, value=..., flags=...) at qml/qdeclarativeproperty.cpp:1085
      #23 0xb7536211 in QDeclarativePropertyPrivate::write (that=..., value=..., flags=...) at qml/qdeclarativeproperty.cpp:1340
      #24 0xb752ec1f in QDeclarativeBinding::update (this=0x82ab880, flags=...) at qml/qdeclarativebinding.cpp:421
      #25 0xb752d744 in update (this=0x82cb088) at ../../include/QtDeclarative/private/../../../src/declarative/qml/qdeclarativebinding_p.h:177
      #26 QDeclarativeBindingPrivate::emitValueChanged (this=0x82cb088) at qml/qdeclarativebinding.cpp:463
      #27 0xb752c474 in _q_notify (this=0x82ab880, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff4f934)
      at qml/qdeclarativeexpression.cpp:800
      #28 QDeclarativeExpression::qt_metacall (this=0x82ab880, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff4f934)
      at .moc/debug-shared/moc_qdeclarativeexpression.cpp:77
      #29 0xb7643e4e in QDeclarativeBinding::qt_metacall (this=0x82ab880, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbff4f934)
      at .moc/debug-shared/moc_qdeclarativebinding_p.cpp:69
      #30 0xb64c76e4 in metacall (object=0x82ab880, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbff4f934) at kernel/qmetaobject.cpp:237
      #31 QMetaObject::metacall (object=0x82ab880, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbff4f934) at kernel/qmetaobject.cpp:232
      #32 0xb64d7660 in QMetaObject::activate (sender=0x82ab7c8, m=0xb7272498, local_signal_index=10, argv=0x0) at kernel/qobject.cpp:3278
      --Type <return> to continue, or q <return> to quit--
      #33 0xb6f4c605 in QGraphicsObject::widthChanged (this=0x82ab7c8) at .moc/debug-shared/moc_qgraphicsitem.cpp:281
      #34 0xb74ae434 in QDeclarativeItem::geometryChanged (this=0x82ab7c8, newGeometry=..., oldGeometry=...) at graphicsitems/qdeclarativeitem.cpp:2158
      #35 0xb74a0612 in QDeclarativeImage::geometryChanged (this=0x82ab7c8, newGeometry=..., oldGeometry=...) at graphicsitems/qdeclarativeimage.cpp:439
      #36 0xb74ae734 in QDeclarativeItem::setImplicitWidth (this=0x82ab7c8, w=503) at graphicsitems/qdeclarativeitem.cpp:3340
      #37 0xb74a4b63 in QDeclarativeImageBase::pixmapChange (this=0x82ab7c8) at graphicsitems/qdeclarativeimagebase.cpp:280
      #38 0xb74a0dde in QDeclarativeImage::pixmapChange (this=0x82ab7c8) at graphicsitems/qdeclarativeimage.cpp:580
      #39 0xb74a47ec in QDeclarativeImageBase::requestFinished (this=0x82ab7c8) at graphicsitems/qdeclarativeimagebase.cpp:247
      #40 0xb74a4678 in QDeclarativeImageBase::load (this=0x82ab7c8) at graphicsitems/qdeclarativeimagebase.cpp:226
      #41 0xb74a4b03 in QDeclarativeImageBase::componentComplete (this=0x82ab7c8) at graphicsitems/qdeclarativeimagebase.cpp:274
      #42 0xb7538ad0 in QDeclarativeComponentPrivate::complete (enginePriv=0x832c9b0, state=0x82f1930) at qml/qdeclarativecomponent.cpp:962
      #43 0xb75390e4 in completeCreate (this=0x82f18c0) at qml/qdeclarativecomponent.cpp:1035
      #44 QDeclarativeComponentPrivate::completeCreate (this=0x82f18c0) at qml/qdeclarativecomponent.cpp:1031
      #45 0xb74edcee in QDeclarativeVisualDataModel::item (this=0x82b11e8, index=0, viewId=..., complete=true)
      at graphicsitems/qdeclarativevisualitemmodel.cpp:1067
      #46 0xb74ee5ab in QDeclarativeVisualDataModel::item (this=0x82b11e8, index=0, complete=true) at graphicsitems/qdeclarativevisualitemmodel.cpp:958
      #47 0xb74d1efe in QDeclarativeRepeater::regenerate (this=0x82be0f0) at graphicsitems/qdeclarativerepeater.cpp:368
      #48 0xb7538ad0 in QDeclarativeComponentPrivate::complete (enginePriv=0x832c9b0, state=0x82d4bc0) at qml/qdeclarativecomponent.cpp:962
      #49 0xb75390e4 in completeCreate (this=0x82d4b50) at qml/qdeclarativecomponent.cpp:1035
      #50 QDeclarativeComponentPrivate::completeCreate (this=0x82d4b50) at qml/qdeclarativecomponent.cpp:1031
      #51 0xb74e8d1e in QDeclarativeVisualDataModel::completeItem (this=0x82cd748) at graphicsitems/qdeclarativevisualitemmodel.cpp:1125
      #52 0xb74f7a14 in QDeclarativeListViewPrivate::createItem (this=0x8359f48, modelIndex=0) at graphicsitems/qdeclarativelistview.cpp:675
      #53 0xb74fa718 in refill (this=0x8359f48, from=-0, to=799, doBuffer=false) at graphicsitems/qdeclarativelistview.cpp:774
      #54 QDeclarativeListViewPrivate::refill (this=0x8359f48, from=-0, to=799, doBuffer=false) at graphicsitems/qdeclarativelistview.cpp:721
      #55 0xb74fad9c in QDeclarativeListView::refill (this=0x82a3538) at graphicsitems/qdeclarativelistview.cpp:3113
      #56 0xb74fedda in QDeclarativeListView::componentComplete (this=0x82a3538) at graphicsitems/qdeclarativelistview.cpp:3077
      #57 0xb7538ad0 in QDeclarativeComponentPrivate::complete (enginePriv=0x832c9b0, state=0x82dd100) at qml/qdeclarativecomponent.cpp:962
      #58 0xb75390e4 in completeCreate (this=0x82dd090) at qml/qdeclarativecomponent.cpp:1035
      #59 QDeclarativeComponentPrivate::completeCreate (this=0x82dd090) at qml/qdeclarativecomponent.cpp:1031
      #60 0xb7536f2f in QDeclarativeComponent::create (this=0x82d5cc8, context=<value optimized out>) at qml/qdeclarativecomponent.cpp:768
      #61 0xb73ffab0 in QDeclarativeView::continueExecute (this=0x82d56e8) at util/qdeclarativeview.cpp:547
      #62 0xb7400140 in QDeclarativeViewPrivate::execute (this=0x832c600) at util/qdeclarativeview.cpp:175
      #63 0x0805bf5c in QDeclarativeViewer::open (this=0x826a0f8, file_or_url=...) at qmlruntime.cpp:1147
      #64 0x08053f5a in openFile (argc=2, argv=0xbff50524) at main.cpp:517
      #65 main (argc=2, argv=0xbff50524) at main.cpp:589

      Attachments

        Issue Links

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

          Activity

            People

              martjone Martin Jones (closed Nokia identity) (Inactive)
              vseryakov Vlad Seryakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes