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

Qt Creator crashes on startup with Qt 4.8 built on release mode

    XMLWordPrintable

Details

    Description

      When trying to run Qt Creator (master) with current Qt 4.8, it crashes on startup before anything is shown. The problem is the welcome screen trying to use Qt Declarative, which crashes. This is probably related to QTBUG-21264.

      Backtrace:

      #0  0x00007fffe655574a in disconnect (this=0x104b6c0)
          at ../../include/QtDeclarative/private/../../../../../../src/qt/qt-4.8/src/declarative/qml/qdeclarativenotifier_p.h:206
      #1  unsubscribe (subIndex=1, this=0x11f52b0)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:694
      #2  subscribeId (subIndex=1, idIndex=1, p=0x11f4fe0, this=0x11f52b0)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:701
      #3  QDeclarativeCompiledBindingsPrivate::run (this=0x11f52b0, instrIndex=<optimized out>, context=0x11f4fe0, error=
          0x104b990, scope=0x11fca50, output=0x11fca50, storeFlags=...)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:1180
      #4  0x00007fffe6556a2f in QDeclarativeCompiledBindingsPrivate::run (this=0x11f52b0, binding=0x104b950, flags=...)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:405
      #5  0x00007fffe6556c03 in QDeclarativeCompiledBindingsPrivate::Binding::update (this=0x104b950, flags=...)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:334
      #6  0x00007fffe654f849 in setEnabled (flags=<optimized out>, this=<optimized out>, e=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:327
      #7  QDeclarativeCompiledBindingsPrivate::Binding::setEnabled (this=<optimized out>, e=<optimized out>, 
          flags=<optimized out>) at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecompiledbindings.cpp:322
      #8  0x00007fffe64ed196 in QDeclarativeComponentPrivate::complete (enginePriv=0x103ddd0, state=0x11e4438)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:948
      #9  0x00007fffe64edb0f in completeCreate (this=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:1035
      #10 QDeclarativeComponentPrivate::completeCreate (this=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:1031
      #11 0x00007fffe6476abe in QDeclarativeLoaderPrivate::_q_sourceLoaded (this=0x11e2810)
          at /home/thiago/src/qt/qt-4.8/src/declarative/graphicsitems/qdeclarativeloader.cpp:418
      #12 0x00007fffe64ed253 in QDeclarativeComponentPrivate::complete (enginePriv=0x103ddd0, state=0x107fa18)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:962
      #13 0x00007fffe64edb0f in completeCreate (this=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:1035
      #14 QDeclarativeComponentPrivate::completeCreate (this=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:1031
      #15 0x00007fffe64a4cc5 in QDeclarativeVisualDataModel::item (this=0x1135cd0, index=0, viewId=..., complete=true)
          at /home/thiago/src/qt/qt-4.8/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp:1067
      #16 0x00007fffe64a5458 in QDeclarativeVisualDataModel::item (this=<optimized out>, index=0, complete=true)
          at /home/thiago/src/qt/qt-4.8/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp:958
      #17 0x00007fffe648c4dd in QDeclarativeRepeater::regenerate (this=0x107f5f0)
          at /home/thiago/src/qt/qt-4.8/src/declarative/graphicsitems/qdeclarativerepeater.cpp:368
      #18 0x00007fffe64ed253 in QDeclarativeComponentPrivate::complete (enginePriv=0x103ddd0, state=0x106b698)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:962
      #19 0x00007fffe64edb0f in completeCreate (this=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:1035
      #20 QDeclarativeComponentPrivate::completeCreate (this=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:1031
      #21 0x00007fffe64ed0bf in QDeclarativeComponent::create (this=0x106b360, context=<optimized out>)
          at /home/thiago/src/qt/qt-4.8/src/declarative/qml/qdeclarativecomponent.cpp:768
      #22 0x00007fffe63be00f in QDeclarativeView::continueExecute (this=0x10285f0)
          at /home/thiago/src/qt/qt-4.8/src/declarative/util/qdeclarativeview.cpp:552
      #23 0x00007fffdbeec13d in Welcome::Internal::WelcomeMode::initPlugins (this=0x1024260)
          at /home/thiago/src/qt/creator/src/plugins/welcome/welcomeplugin.cpp:246
      #24 0x00007fffdbeec551 in Welcome::Internal::WelcomePlugin::extensionsInitialized (this=0x9ae200)
          at /home/thiago/src/qt/creator/src/plugins/welcome/welcomeplugin.cpp:347
      #25 0x00007ffff7de5aca in ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions (this=0x79c5e0)
          at /home/thiago/src/qt/creator/src/libs/extensionsystem/pluginspec.cpp:993
      #26 0x00007ffff7dde9a9 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (this=0x737a50, spec=0x733350, 
          destState=ExtensionSystem::PluginSpec::Running)
          at /home/thiago/src/qt/creator/src/libs/extensionsystem/pluginmanager.cpp:1007
      #27 0x00007ffff7de1382 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins (this=0x737a50)
          at /home/thiago/src/qt/creator/src/libs/extensionsystem/pluginmanager.cpp:899
      #28 0x0000000000406fcc in main (argc=1, argv=<optimized out>) at /home/thiago/src/qt/creator/src/app/main.cpp:351
      

      Attachments

        1. notifier.diff
          2 kB
        2. qtbug-21265.patch
          3 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-21265
          # Subject Branch Project Status CR V

          Activity

            People

              aakenned Aaron Kennedy
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes