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

Crash in CppTools::CppRefactoringFile

    XMLWordPrintable

Details

    • 72e303862983d51ffd25fa454351c5e005514153

    Description

      Can't tell you much except that I was editing a C++ file

      Core was generated by `./creator-2.5-32/bin/qtcreator'.
      Program terminated with signal 11, Segmentation fault.
      #0  0x0278e287 in CppTools::CppRefactoringFile::startOf (this=0xa523b120, ast=0x0)
          at ../../../../creator-2.5/src/plugins/cpptools/cpprefactoringchanges.cpp:233
      233         return startOf(ast->firstToken());
      (gdb) bt
      #0  0x0278e287 in CppTools::CppRefactoringFile::startOf (this=0xa523b120, ast=0x0)
          at ../../../../creator-2.5/src/plugins/cpptools/cpprefactoringchanges.cpp:233
      #1  0x0261af92 in CppEditor::Internal::FunctionDeclDefLink::changes (
          this=0x10af7268, snapshot=..., targetOffset=-1)
          at ../../../../creator-2.5/src/plugins/cppeditor/cppfunctiondecldeflink.cpp:646
      #2  0x025d926c in CppEditor::Internal::CPPEditorWidget::updateFunctionDeclDefLinkNow
          (this=0x10f7c700)
          at ../../../../creator-2.5/src/plugins/cppeditor/cppeditor.cpp:2220
      #3  0x02623145 in CppEditor::Internal::CPPEditorWidget::qt_static_metacall (_o=
          0x10f7c700, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfb4f310)
          at .moc/debug-shared/moc_cppeditor.cpp:282
      #4  0x005913a5 in QMetaObject::activate (sender=0xb1e28900, m=0x72146c, 
          local_signal_index=0, argv=0x0)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qobject.cpp:3547
      #5  0x005eb2b7 in QTimer::timeout (this=0xb1e28900)
          at .moc/debug-shared/moc_qtimer.cpp:148
      #6  0x00599a7c in QTimer::timerEvent (this=0xb1e28900, e=0xbfb4f888)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qtimer.cpp:280
      #7  0x0058c8ca in QObject::event (this=0xb1e28900, e=0xbfb4f888)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qobject.cpp:1157
      #8  0x00d59574 in QApplicationPrivate::notify_helper (this=0x91a89f0, 
          receiver=0xb1e28900, e=0xbfb4f888)
          at /home/kkoehne/dev/qt/qt-4.8/src/gui/kernel/qapplication.cpp:4554
      #9  0x00d56e72 in QApplication::notify (this=0xbfb4fba8, receiver=0xb1e28900, 
          e=0xbfb4f888) at /home/kkoehne/dev/qt/qt-4.8/src/gui/kernel/qapplication.cpp:3936
      #10 0x00575b2a in QCoreApplication::notifyInternal (this=0xbfb4fba8, 
          receiver=0xb1e28900, event=0xbfb4f888)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qcoreapplication.cpp:876
      #11 0x00d4b2d3 in QCoreApplication::sendEvent (receiver=0xb1e28900, event=0xbfb4f888)
          at ../../include/QtCore/../../../qt-4.8/src/corelib/kernel/qcoreapplication.h:231
      #12 0x005af66f in QTimerInfoList::activateTimers (this=0x91ac2cc)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qeventdispatcher_unix.cpp:611
      #13 0x005ac1e7 in timerSourceDispatch (source=0x91ac298)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qeventdispatcher_glib.cpp:186
      #14 0x005ac29f in idleTimerSourceDispatch (source=0x91ac700)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qeventdispatcher_glib.cpp:233
      #15 0x009d225f in g_main_context_dispatch ()
         from /lib/i386-linux-gnu/libglib-2.0.so.0
      #16 0x009d2990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
      #17 0x009d2c2a in g_main_context_iteration ()
         from /lib/i386-linux-gnu/libglib-2.0.so.0
      #18 0x005acb38 in QEventDispatcherGlib::processEvents (this=0x91a94f8, flags=...)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qeventdispatcher_glib.cpp:424
      #19 0x00e22a30 in QGuiEventDispatcherGlib::processEvents (this=0x91a94f8, flags=...)
          at /home/kkoehne/dev/qt/qt-4.8/src/gui/kernel/qguieventdispatcher_glib.cpp:204
      #20 0x005735f1 in QEventLoop::processEvents (this=0xbfb4fb1c, flags=...)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qeventloop.cpp:149
      #21 0x0057375f in QEventLoop::exec (this=0xbfb4fb1c, flags=...)
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qeventloop.cpp:204
      #22 0x005761a6 in QCoreApplication::exec ()
          at /home/kkoehne/dev/qt/qt-4.8/src/corelib/kernel/qcoreapplication.cpp:1148
      #23 0x00d56ae6 in QApplication::exec ()
          at /home/kkoehne/dev/qt/qt-4.8/src/gui/kernel/qapplication.cpp:3815
      #24 0x08051576 in main (argc=1, argv=0xbfb4ff14)
          at ../../../creator-2.5/src/app/main.cpp:421
      

      Attachments

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

        Activity

          People

            davschul David Schulz
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes