Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6060

Qt Creator 2.3.0 gets segmentation fault on startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.3.0
    • None
    • Fedora 15
      2.6.40.4-5.fc15.i686.PAE #1 SMP Tue Aug 30 14:43:52 UTC 2011 i686 i686 i386 GNU/Linux

      Qt 4.7.4

    Description

      1. Install Qt 4.7.4 rpm package from http://koji.fedoraproject.org/koji/buildinfo?buildID=261763
      2. Build QtCreator from src package following these steps:
      1) tar zxvf qt-creator-2.3.0.tar.gz
      2) cd qt-creator-2.3.0
      3) qmake-qt4
      4) make
      5) sudo make install
      3. run qtcreator from shell

      QtCreator reports segmentation fault.
      This bug seems to be related to the Qt 4.7.4 libDeclarative.so
      The segmentation fault is in libDeclarative.so.

      Following is the back trace from gdb

      gdb /usr/bin/qtcreator
      GNU gdb (GDB) Fedora (7.3-43.fc15)
      Copyright (C) 2011 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law. Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "i686-redhat-linux-gnu".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /usr/bin/qtcreator...Reading symbols from /usr/lib/debug/usr/bin/qtcreator.debug...done.
      done.
      (gdb) r
      Starting program: /usr/bin/qtcreator
      [Thread debugging using libthread_db enabled]
      [New Thread 0xb28cdb70 (LWP 6938)]
      Detaching after fork from child process 6939.
      Detaching after fork from child process 6940.
      [New Thread 0xb1effb70 (LWP 6946)]
      [New Thread 0xb04f5b70 (LWP 6947)]

      Program received signal SIGSEGV, Segmentation fault.
      0x46f88764 in disconnect (this=<optimized out>) at ../../src/declarative/qml/qdeclarativenotifier_p.h:206
      206 if (n->prev) *n->prev = n->next;
      (gdb) bt
      #0 0x46f88764 in disconnect (this=<optimized out>) at ../../src/declarative/qml/qdeclarativenotifier_p.h:206
      #1 unsubscribe (subIndex=<optimized out>, this=<optimized out>) at qml/qdeclarativecompiledbindings.cpp:686
      #2 subscribeId (subIndex=<optimized out>, idIndex=<optimized out>, p=<optimized out>, this=<optimized out>) at qml/qdeclarativecompiledbindings.cpp:693
      #3 QDeclarativeCompiledBindingsPrivate::run (this=0x87dcb48, instrIndex=1, context=0x87dca18, error=0x87dcedc, scope=0x87fb298, output=0x87fb298, storeFlags=...) at qml/qdeclarativecompiledbindings.cpp:1172
      #4 0x46f896e1 in QDeclarativeCompiledBindingsPrivate::run (this=0x87dcb48, binding=0x87dcebc, flags=...) at qml/qdeclarativecompiledbindings.cpp:397
      #5 0x46f89978 in QDeclarativeCompiledBindingsPrivate::Binding::update (this=0x87dcebc, flags=...) at qml/qdeclarativecompiledbindings.cpp:326
      #6 0x46f8213c in setEnabled (flags=..., this=0x87dcebc, e=<optimized out>) at qml/qdeclarativecompiledbindings.cpp:319
      #7 QDeclarativeCompiledBindingsPrivate::Binding::setEnabled (this=0x87dcebc, e=true, flags=...) at qml/qdeclarativecompiledbindings.cpp:314
      #8 0x46f22558 in QDeclarativeComponentPrivate::complete (enginePriv=0x86b7ec0, state=0x87bb890) at qml/qdeclarativecomponent.cpp:948
      #9 0x46f22ba5 in completeCreate (this=0x87bb820) at qml/qdeclarativecomponent.cpp:1035
      #10 QDeclarativeComponentPrivate::completeCreate (this=0x87bb820) at qml/qdeclarativecomponent.cpp:1031
      #11 0x46eacd3d in QDeclarativeLoaderPrivate::_q_sourceLoaded (this=0x87b2dc8) at graphicsitems/qdeclarativeloader.cpp:418
      #12 0x46f225f1 in QDeclarativeComponentPrivate::complete (enginePriv=0x86b7ec0, state=0x86ef0a0) at qml/qdeclarativecomponent.cpp:962
      #13 0x46f22ba5 in completeCreate (this=0x86ef030) at qml/qdeclarativecomponent.cpp:1035
      #14 QDeclarativeComponentPrivate::completeCreate (this=0x86ef030) at qml/qdeclarativecomponent.cpp:1031
      #15 0x46edb59e in QDeclarativeVisualDataModel::item (this=0x87228b0, index=0, viewId=..., complete=true) at graphicsitems/qdeclarativevisualitemmodel.cpp:1067
      #16 0x46edbda5 in QDeclarativeVisualDataModel::item (this=0x87228b0, index=0, complete=true) at graphicsitems/qdeclarativevisualitemmodel.cpp:958
      #17 0x46ec0bd6 in QDeclarativeRepeater::regenerate (this=0x86eedc8) at graphicsitems/qdeclarativerepeater.cpp:368
      #18 0x46f225f1 in QDeclarativeComponentPrivate::complete (enginePriv=0x86b7ec0, state=0x86e5970) at qml/qdeclarativecomponent.cpp:962
      #19 0x46f22ba5 in completeCreate (this=0x86e5900) at qml/qdeclarativecomponent.cpp:1035
      #20 QDeclarativeComponentPrivate::completeCreate (this=0x86e5900) at qml/qdeclarativecomponent.cpp:1031
      #21 0x46f20cc0 in QDeclarativeComponent::create (this=0x86e58f0, context=<optimized out>) at qml/qdeclarativecomponent.cpp:768
      #22 0x46df7d18 in QDeclarativeView::continueExecute (this=0x86b5440) at util/qdeclarativeview.cpp:547
      #23 0x46df8398 in QDeclarativeViewPrivate::execute (this=0x86b54a0) at util/qdeclarativeview.cpp:175
      #24 0xb3600f83 in Welcome::Internal::WelcomeMode::initPlugins (this=0x86b52b8) at welcomeplugin.cpp:246
      #25 0xb3601340 in Welcome::Internal::WelcomePlugin::extensionsInitialized (this=0x826fae0) at welcomeplugin.cpp:347
      #26 0x41019bf7 in ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions (this=0x80f2828) at pluginspec.cpp:993
      #27 0x41013f35 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (this=0x80ce398, spec=0x81059d0, destState=ExtensionSystem::PluginSpec::Running) at pluginmanager.cpp:991
      #28 0x410152fe in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins (this=0x80ce398) at pluginmanager.cpp:883
      #29 0x410153cf in ExtensionSystem::PluginManager::loadPlugins (this=0xbfffec9c) at pluginmanager.cpp:328
      #30 0x0804daaf in main (argc=1, argv=0xbfffefc4) at main.cpp:350

      Attachments

        Issue Links

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

          Activity

            People

              dmolkent Daniel Molkentin (Inactive Nokia Account!) (Inactive)
              changyp 常桓
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes