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

Qt 4.7.4 projects.pro crashes creator during "parsing" step

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.7.4
    • Testing: QtUITest
    • None
    • Ubuntu

    Description

      1. Run QtCreator from qtuitest-integration branch
      2. Open as project QTDIR/projects.pro
      3. Crashes on "Parsing"

      It appears that src/shared/cplusplus/Literals.cpp:97 "return _chars;" is attempting to return a non existent variable;

      > gdb ./bin/qtcreator
      GNU gdb (GDB) 7.1-ubuntu
      Copyright (C) 2010 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 "i486-linux-gnu".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /home/user/depot/tools/creator-qtest-build/bin/qtcreator...done.
      (gdb) r
      Starting program: /home/user/depot/tools/creator-qtest-build/bin/qtcreator 
      [Thread debugging using libthread_db enabled]
      Qt: gdb: -nograb added to command-line options.
               Use the -dograb option to enforce grabbing.
      [New Thread 0xb5906b70 (LWP 29645)]
      [Thread 0xb5906b70 (LWP 29645) exited]
      [New Thread 0xb5906b70 (LWP 29654)]
      [New Thread 0xafed7b70 (LWP 29657)]
      [New Thread 0xaf32ab70 (LWP 29666)]
      [New Thread 0xaeb29b70 (LWP 29667)]
      [New Thread 0xae328b70 (LWP 29668)]
      [New Thread 0xadb27b70 (LWP 29669)]
      [New Thread 0xad326b70 (LWP 29670)]
      [New Thread 0xacb25b70 (LWP 29671)]
      QProcess: Destroyed while process is still running.
      [Thread 0xae328b70 (LWP 29668) exited]
      [Thread 0xad326b70 (LWP 29670) exited]
      [Thread 0xacb25b70 (LWP 29671) exited]
      [New Thread 0xacb25b70 (LWP 30033)]
      [New Thread 0xad326b70 (LWP 30038)]
      Invalid RHS: Variable 'lib.path' has 0 values.
      /home/user/depot/qt/4.7/src/tools/bootstrap/bootstrap.pro: Ignoring INSTALLS item 'lib', because it has no path.
      [New Thread 0xae328b70 (LWP 30085)]
      [New Thread 0xac1ffb70 (LWP 30128)]
      [Thread 0xac1ffb70 (LWP 30128) exited]
      [New Thread 0xac1ffb70 (LWP 30371)]
      [Thread 0xac1ffb70 (LWP 30371) exited]
      [New Thread 0xac1ffb70 (LWP 31164)]
      [New Thread 0x95cffb70 (LWP 31173)]
      [New Thread 0x950ffb70 (LWP 31174)]
      [New Thread 0x944ffb70 (LWP 31175)]
      [New Thread 0x938ffb70 (LWP 31176)]
      [New Thread 0x92affb70 (LWP 31177)]
      [New Thread 0x91cffb70 (LWP 31178)]
      [New Thread 0x914feb70 (LWP 31179)]
      [New Thread 0x906ffb70 (LWP 31180)]
      [New Thread 0x8faffb70 (LWP 31181)]
      [New Thread 0x8ecffb70 (LWP 31182)]
      [New Thread 0x8e2ffb70 (LWP 31183)]
      [New Thread 0x8d4ffb70 (LWP 31184)]
      [New Thread 0x8caffb70 (LWP 31185)]
      [New Thread 0x8c0ffb70 (LWP 31186)]
      
      Program received signal SIGSEGV, Segmentation fault.
      0xb4786197 in CPlusPlus::Literal::chars (this=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Literals.cpp:97
      97      { return _chars; }
      (gdb) bt
      #0  0xb4786197 in CPlusPlus::Literal::chars (this=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Literals.cpp:97
      #1  0xb47a9218 in CPlusPlus::Function::visitSymbol0 (this=0x12799bc0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbols.cpp:362
      #2  0xb47a5a31 in CPlusPlus::Symbol::visitSymbol (this=0x12799bc0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbol.cpp:143
      #3  0xb47a5a78 in CPlusPlus::Symbol::visitSymbol (symbol=0x0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbol.cpp:152
      #4  0xb47a90ee in CPlusPlus::Template::visitSymbol0 (this=0x12799ae8, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbols.cpp:498
      #5  0xb47a5a31 in CPlusPlus::Symbol::visitSymbol (this=0x12799ae8, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbol.cpp:143
      #6  0xb47a5a78 in CPlusPlus::Symbol::visitSymbol (symbol=0x0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbol.cpp:152
      #7  0xb47a907e in CPlusPlus::Namespace::visitSymbol0 (this=0x966daeb0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbols.cpp:547
      #8  0xb47a5a31 in CPlusPlus::Symbol::visitSymbol (this=0x966daeb0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbol.cpp:143
      #9  0xb47a5a78 in CPlusPlus::Symbol::visitSymbol (symbol=0x0, visitor=0xbfffe76c) at ../../../../creator-qtest/src/shared/cplusplus/Symbol.cpp:152
      #10 0xb47acad4 in CPlusPlus::SymbolVisitor::accept (this=0xbfffe76c, symbol=0x966daeb0) at ../../../../creator-qtest/src/shared/cplusplus/SymbolVisitor.cpp:65
      #11 0xb06fec86 in UnitTestCodeSync::process (this=0xbfffe76c, doc=..., processed=0xbfffe6e4) at ../../../../creator-qtest/src/plugins/qttest/testcode.cpp:163
      #12 0xb06febaa in UnitTestCodeSync::process (this=0xbfffe76c, doc=..., processed=0xbfffe6e4) at ../../../../creator-qtest/src/plugins/qttest/testcode.cpp:159
      #13 0xb06fe8ab in UnitTestCodeSync (this=0xbfffe76c, tc=0x953b51f8, doc=..., snapshot=...) at ../../../../creator-qtest/src/plugins/qttest/testcode.cpp:141
      #14 0xb06f70a1 in TestCode::parseDocument (this=0x953b51f8) at ../../../../creator-qtest/src/plugins/qttest/testcode.cpp:597
      #15 0xb0745aa5 in TestCode::qt_metacall (this=0x953b51f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfffe8d8) at .moc/debug-shared/moc_testcode.cpp:135
      #16 0xb6f6abba in QMetaObject::metacall (object=0x953b51f8, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfffe8d8)
          at /home/user/depot/qt/4.7/src/corelib/kernel/qmetaobject.cpp:237
      #17 0xb6f7fe0b in QMetaObject::activate (sender=0x953b525c, m=0xb70e7584, local_signal_index=0, argv=0x0) at /home/user/depot/qt/4.7/src/corelib/kernel/qobject.cpp:3278
      #18 0xb6fe24f7 in QTimer::timeout (this=0x953b525c) at .moc/debug-shared/moc_qtimer.cpp:134
      #19 0xb6f88c46 in QTimer::timerEvent (this=0x953b525c, e=0xbfffee28) at /home/user/depot/qt/4.7/src/corelib/kernel/qtimer.cpp:271
      #20 0xb6f7bd8e in QObject::event (this=0x953b525c, e=0xbfffee28) at /home/user/depot/qt/4.7/src/corelib/kernel/qobject.cpp:1181
      #21 0xb7410854 in QApplicationPrivate::notify_helper (this=0x805bc90, receiver=0x953b525c, e=0xbfffee28) at /home/user/depot/qt/4.7/src/gui/kernel/qapplication.cpp:4477
      #22 0xb740e0e2 in QApplication::notify (this=0xbffff1c8, receiver=0x953b525c, e=0xbfffee28) at /home/user/depot/qt/4.7/src/gui/kernel/qapplication.cpp:3877
      #23 0xb6f62c3f in QCoreApplication::notifyInternal (this=0xbffff1c8, receiver=0x953b525c, event=0xbfffee28)
          at /home/user/depot/qt/4.7/src/corelib/kernel/qcoreapplication.cpp:787
      #24 0xb74000c9 in QCoreApplication::sendEvent (receiver=0x953b525c, event=0xbfffee28)
          at ../../include/QtCore/../../../../../depot/qt/4.7/src/corelib/kernel/qcoreapplication.h:215
      #25 0xb6f9fea0 in QTimerInfoList::activateTimers (this=0x80622a4) at /home/user/depot/qt/4.7/src/corelib/kernel/qeventdispatcher_unix.cpp:603
      #26 0xb6f9b9e8 in timerSourceDispatch (source=0x8062270) at /home/user/depot/qt/4.7/src/corelib/kernel/qeventdispatcher_glib.cpp:184
      #27 0xb6a555e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #28 0xb6a592d8 in ?? () from /lib/libglib-2.0.so.0
      #29 0xb6a594b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #30 0xb6f9cc00 in QEventDispatcherGlib::processEvents (this=0x805f5f8, flags=...) at /home/user/depot/qt/4.7/src/corelib/kernel/qeventdispatcher_glib.cpp:422
      #31 0xb74ee246 in QGuiEventDispatcherGlib::processEvents (this=0x805f5f8, flags=...) at /home/user/depot/qt/4.7/src/gui/kernel/qguieventdispatcher_glib.cpp:204
      #32 0xb6f5ffff in QEventLoop::processEvents (this=0xbffff0ec, flags=...) at /home/user/depot/qt/4.7/src/corelib/kernel/qeventloop.cpp:149
      #33 0xb6f60144 in QEventLoop::exec (this=0xbffff0ec, flags=...) at /home/user/depot/qt/4.7/src/corelib/kernel/qeventloop.cpp:201
      #34 0xb6f63331 in QCoreApplication::exec () at /home/user/depot/qt/4.7/src/corelib/kernel/qcoreapplication.cpp:1064
      #35 0xb740dd38 in QApplication::exec () at /home/user/depot/qt/4.7/src/gui/kernel/qapplication.cpp:3751
      #36 0x08052444 in main (argc=1, argv=0xbffff504) at ../../../creator-qtest/src/app/main.cpp:360
      

      Attachments

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

        Activity

          People

            dt Daniel Teske
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes