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

Qt Creator 3.0.0 crashes on startup on Ubuntu 12.04 when Qt 5.2.0 is built as a Debian package with the "-debug" option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.3.0
    • Labels:
      None
    • Environment:
    • Commits:
      0eabb34843cd282e10d96075a98f8795399bcd5d (qtdeclarative)

      Description

      Qt Creator crashes with no console output on Ubuntu 12.04:
      $ /opt/qtcreator/bin/qtcreator
      Segmentation fault

      GDB backtrace:
      (gdb) r
      Starting program: /opt/qtcreator/bin/qtcreator
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
      [New Thread 0xb4c4db40 (LWP 28573)]
      Qt: gdb: -nograb added to command-line options.
      Use the -dograb option to enforce grabbing.
      [New Thread 0xab4d9b40 (LWP 28574)]
      [New Thread 0xaaaffb40 (LWP 28577)]
      [New Thread 0xa73eab40 (LWP 28578)]

      Program received signal SIGSEGV, Segmentation fault.
      0xb2674a40 in memset@plt () from /opt/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Qml.so.5
      (gdb) bt
      #0 0xb2674a40 in memset@plt () from /opt/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Qml.so.5
      #1 0xb27a7c17 in ~Scope (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/i386-linux-gnu/bits/string3.h:85
      #2 QV4::SimpleScriptFunction::call (that=0xa61de9f0, callData=0xa6200028) at jsruntime/qv4functionobject.cpp:598
      #3 0xb28d99d2 in call (callData=0xa6200028, this=<optimized out>)
      at ../../include/QtQml/5.2.0/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:130
      #4 QQmlJavaScriptExpression::evaluate (this=0x8a72538, context=0x8a71470, function=..., callData=0xa6200028, isUndefined=0xbfffcf6f)
      at qml/qqmljavascriptexpression.cpp:166
      #5 0xb28da201 in QQmlJavaScriptExpression::evaluate (this=0x8a72538, context=0x8a71470, function=..., isUndefined=0xbfffcf6f)
      at qml/qqmljavascriptexpression.cpp:123
      #6 0xb28e404b in QQmlBinding::update (this=0x8a72528, flags=...) at qml/qqmlbinding.cpp:244
      #7 0xb28e4463 in QQmlBinding::setEnabled (this=0x8a72528, e=true, flags=...) at qml/qqmlbinding.cpp:347
      #8 0xb28e44bb in QQmlBinding::setEnabled (This=0x8a72544, e=true, f=...) at qml/qqmlbinding.cpp:328
      #9 0xb284208b in setEnabled (f=..., e=true, this=0x8a72544)
      at ../../include/QtQml/5.2.0/QtQml/private/../../../../../src/qml/qml/qqmlabstractbinding_p.h:118
      #10 QQmlVME::complete (this=0x8a713dc, interrupt=...) at qml/qqmlvme.cpp:1161
      #11 0xb283b963 in QQmlIncubatorPrivate::incubate (this=0x8a71398, i=...) at qml/qqmlincubator.cpp:338
      #12 0xb283c143 in QQmlEnginePrivate::incubate (this=0x8a229b8, i=..., forContext=0x8a71340) at qml/qqmlincubator.cpp:94
      #13 0xb2835cc0 in QQmlComponent::create (this=0x8a706d0, incubator=..., context=<optimized out>, forContext=0x0) at qml/qqmlcomponent.cpp:1105
      #14 0xb1df2ffa in QQuickLoaderPrivate::_q_sourceLoaded (this=0x8882fb8) at items/qquickloader.cpp:717
      #15 0xb1df3198 in QQuickLoaderPrivate::load (this=0x8882fb8) at items/qquickloader.cpp:600
      #16 0xb1df4324 in QQuickLoader::qt_metacall (this=0x8882f58, _c=QMetaObject::WriteProperty, _id=2, _a=0xbfffd4e0)
      at .moc/moc_qquickloader_p.cpp:279
      #17 0xb2814997 in QQmlVMEMetaObject::metaCall (this=0x8883150, c=QMetaObject::WriteProperty, _id=45, a=0xbfffd4e0) at qml/qqmlvmemetaobject.cpp:980
      #18 0xb268df07 in QAbstractDynamicMetaObject::metaCall (this=0x8883150, c=QMetaObject::WriteProperty, _id=45, a=0xbfffd4e0)
      at /usr/local/src/qt-everywhere-opensource-src-5.2.0/qtbase/include/QtCore/5.2.0/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:431
      #19 0xb7054a94 in QMetaObject::metacall (object=0x8882f58, cl=QMetaObject::WriteProperty, idx=45, argv=0xbfffd4e0) at kernel/qmetaobject.cpp:306
      #20 0xb283151d in QQmlPropertyPrivate::write (object=0x8882f58, property=..., value=..., context=0x88825d8, flags=...) at qml/qqmlproperty.cpp:1338
      #21 0xb2832148 in QQmlPropertyPrivate::writeValueProperty (object=0x8882f58, core=..., value=..., context=0x88825d8, flags=...)
      at qml/qqmlproperty.cpp:1246
      #22 0xb2832790 in QQmlPropertyPrivate::writeBinding (object=0x8882f58, core=..., context=0x88825d8, expression=0x8883400, result=...,
      isUndefined=false, flags=...) at qml/qqmlproperty.cpp:1572
      #23 0xb28e40e6 in QQmlBinding::update (this=0x88833f0, flags=...) at qml/qqmlbinding.cpp:251
      #24 0xb28e4549 in update (this=<optimized out>) at qml/qqmlbinding_p.h:106
      #25 QQmlBinding::expressionChanged (e=0x8883400) at qml/qqmlbinding.cpp:303
      #26 0xb28dae0b in QQmlJavaScriptExpressionGuard_callback (e=0x88a67c8) at qml/qqmljavascriptexpression.cpp:369
      #27 0xb28b5114 in QQmlNotifier::emitNotify (endpoint=0x88a67c8, a=0x0) at qml/qqmlnotifier.cpp:81
      #28 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a6e04, a=0x0) at qml/qqmlnotifier.cpp:76
      #29 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a6e3c, a=0x0) at qml/qqmlnotifier.cpp:76
      #30 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a6f70, a=0x0) at qml/qqmlnotifier.cpp:76
      #31 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a70dc, a=0x0) at qml/qqmlnotifier.cpp:76
      #32 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a7130, a=0x0) at qml/qqmlnotifier.cpp:76
      #33 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a7184, a=0x0) at qml/qqmlnotifier.cpp:76
      #34 0xb28b50f3 in QQmlNotifier::emitNotify (endpoint=0x88a71d8, a=0x0) at qml/qqmlnotifier.cpp:76
      #35 0xb281c4ed in QQmlData::signalEmitted (object=0x8818a18, index=36, a=0x0) at qml/qqmlengine.cpp:710
      #36 0xb707ec91 in QMetaObject::activate (sender=0x8818a18, signalOffset=29, local_signal_index=36, argv=0x0) at kernel/qobject.cpp:3456
      #37 0xb28125da in QQmlVMEMetaObject::activate (this=0x8818bb0, object=0x8818a18, index=48, args=0x0) at qml/qqmlvmemetaobject.cpp:1331
      #38 0xb2814f4b in QQmlVMEMetaObject::metaCall (this=0x8818bb0, c=QMetaObject::WriteProperty, _id=48, a=0xbfffe030) at qml/qqmlvmemetaobject.cpp:922
      #39 0xb268df07 in QAbstractDynamicMetaObject::metaCall (this=0x8818bb0, c=QMetaObject::WriteProperty, _id=48, a=0xbfffe030)
      at /usr/local/src/qt-everywhere-opensource-src-5.2.0/qtbase/include/QtCore/5.2.0/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:431
      #40 0xb2814b66 in QQmlVMEMetaObject::metaCall (this=0x888b3f0, c=QMetaObject::WriteProperty, _id=48, a=0xbfffe030) at qml/qqmlvmemetaobject.cpp:978
      #41 0xb268df07 in QAbstractDynamicMetaObject::metaCall (this=0x888b3f0, c=QMetaObject::WriteProperty, _id=48, a=0xbfffe030)
      at /usr/local/src/qt-everywhere-opensource-src-5.2.0/qtbase/include/QtCore/5.2.0/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:431
      #42 0xb7054a94 in QMetaObject::metacall (object=0x8818a18, cl=QMetaObject::WriteProperty, idx=48, argv=0xbfffe030) at kernel/qmetaobject.cpp:306
      #43 0xb283151d in QQmlPropertyPrivate::write (object=0x8818a18, property=..., value=..., context=0x8816540, flags=...) at qml/qqmlproperty.cpp:1338
      #44 0xb2832148 in QQmlPropertyPrivate::writeValueProperty (object=0x8818a18, core=..., value=..., context=0x8816540, flags=...)
      at qml/qqmlproperty.cpp:1246
      #45 0xb2832790 in QQmlPropertyPrivate::writeBinding (object=0x8818a18, core=..., context=0x8816540, expression=0x8818dd8, result=...,
      isUndefined=false, flags=...) at qml/qqmlproperty.cpp:1572
      #46 0xb28e40e6 in QQmlBinding::update (this=0x8818dc8, flags=...) at qml/qqmlbinding.cpp:251
      #47 0xb28e4549 in update (this=<optimized out>) at qml/qqmlbinding_p.h:106
      #48 QQmlBinding::expressionChanged (e=0x8818dd8) at qml/qqmlbinding.cpp:303
      #49 0xb28dae0b in QQmlJavaScriptExpressionGuard_callback (e=0x88a768c) at qml/qqmljavascriptexpression.cpp:369
      #50 0xb28b5114 in QQmlNotifier::emitNotify (endpoint=0x88a768c, a=0x0) at qml/qqmlnotifier.cpp:81
      #51 0xb281c4ed in QQmlData::signalEmitted (object=0x8873570, index=31, a=0x0) at qml/qqmlengine.cpp:710
      #52 0xb707ec91 in QMetaObject::activate (sender=0x8873570, signalOffset=31, local_signal_index=31, argv=0x0) at kernel/qobject.cpp:3456
      #53 0xb707f90b in QMetaObject::activate (sender=0x8873570, m=0xb1f6055c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3438
      #54 0xb1df1cd5 in QQuickLoader::itemChanged (this=0x8873570) at .moc/moc_qquickloader_p.cpp:310
      #55 0xb1df3d92 in QQuickLoaderPrivate::incubatorStateChanged (this=0x88735d0, status=QQmlIncubator::Ready) at items/qquickloader.cpp:669
      #56 0xb283aa82 in changeStatus (this=<optimized out>, s=<optimized out>) at qml/qqmlincubator.cpp:701
      #57 QQmlIncubatorPrivate::changeStatus (this=0x8a74e68, s=QQmlIncubator::Ready) at qml/qqmlincubator.cpp:694
      #58 0xb283bbe3 in QQmlIncubatorPrivate::incubate (this=0x8a74e68, i=...) at qml/qqmlincubator.cpp:358
      #59 0xb283c143 in QQmlEnginePrivate::incubate (this=0x8a229b8, i=..., forContext=0x8a73a80) at qml/qqmlincubator.cpp:94
      #60 0xb2835cc0 in QQmlComponent::create (this=0x88afa30, incubator=..., context=<optimized out>, forContext=0x0) at qml/qqmlcomponent.cpp:1105
      #61 0xb1df2ffa in QQuickLoaderPrivate::_q_sourceLoaded (this=0x88735d0) at items/qquickloader.cpp:717
      #62 0xb1df3198 in QQuickLoaderPrivate::load (this=0x88735d0) at items/qquickloader.cpp:600
      #63 0xb2842195 in QQmlVME::complete (this=0x8871c68, interrupt=...) at qml/qqmlvme.cpp:1185
      #64 0xb283565a in QQmlComponentPrivate::complete (enginePriv=0x8a229b8, state=0x8871c64) at qml/qqmlcomponent.cpp:960
      #65 0xb283574f in QQmlComponentPrivate::completeCreate (this=0x8871c08) at qml/qqmlcomponent.cpp:997
      #66 0xb2835818 in QQmlComponent::completeCreate (this=0x8871668) at qml/qqmlcomponent.cpp:990
      #67 0xb28355dc in QQmlComponent::create (this=0x8871668, context=<optimized out>) at qml/qqmlcomponent.cpp:805
      #68 0xb1df9d40 in QQuickView::continueExecute (this=0x85ee388) at items/qquickview.cpp:462
      #69 0xb1dfa3c6 in QQuickViewPrivate::execute (this=0x85f1af8) at items/qquickview.cpp:106
      #70 0xab530551 in Welcome::Internal::WelcomeMode::initPlugins (this=0x85edfe0) at welcomeplugin.cpp:273
      #71 0xab530cea in Welcome::Internal::WelcomePlugin::extensionsInitialized (this=0x8261400) at welcomeplugin.cpp:352
      #72 0xb7fbcdf5 in ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions (this=0x80d5dd0) at pluginspec.cpp:1040
      #73 0xb7fb00a4 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (this=0x808d6f0, spec=0x80d5e88,
      destState=ExtensionSystem::PluginSpec::Running) at pluginmanager.cpp:1132
      #74 0xb7faf1d4 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins (this=0x808d6f0) at pluginmanager.cpp:1019
      #75 0xb7fab3a6 in ExtensionSystem::PluginManager::loadPlugins () at pluginmanager.cpp:336
      #76 0x08054567 in main (argc=1, argv=0xbffff2f4) at main.cpp:507

      Note that manual builds and binaries from qt-project.org work fine. The crash only happens when Qt 5.2.0 is built as a Debian package with "-debug" option enabled.

        Attachments

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

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            nayomal Dihan Wickremasuriya
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes