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

Crash on right-click on a class name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 8.0.0
    • C/C++/Obj-C++ Support
    • None

      Here's a backtrace, will try to get more debug symbols:

       

      (gdb) bt
      #0  0x00007fd09e9c8385 in CPlusPlus::Name::match(CPlusPlus::Name const*, CPlusPlus::Matcher*) const () at qtcreator/plugins/../libCPlusPlus.so.8
      #1  0x00007fd09ee41182 in CppEditor::Internal::(anonymous namespace)::GenerateConstructorOperation::GenerateConstructorOperation(CppEditor::Internal::CppQuickFixInterface const&) () at qtcreator/plugins/libCppEditor.so
      #2  0x00007fd09ee4256f in CppEditor::Internal::GenerateConstructor::match(CppEditor::Internal::CppQuickFixInterface const&, QList<QSharedPointer<TextEditor::QuickFixOperation> >&) () at qtcreator/plugins/libCppEditor.so
      #3  0x00007fd09ee017c7 in CppEditor::Internal::quickFixOperations(TextEditor::AssistInterface const*) () at qtcreator/plugins/libCppEditor.so
      #4  0x00007fd09ee0188c in CppEditor::Internal::CppQuickFixAssistProcessor::perform(TextEditor::AssistInterface const*) () at qtcreator/plugins/libCppEditor.so
      #5  0x00007fd09ed88572 in CppEditor::addRefactoringActions(QMenu*, TextEditor::AssistInterface*) [clone .lto_priv.0] () at qtcreator/plugins/libCppEditor.so
      #6  0x00007fd09ed94d65 in QtPrivate::QFunctorSlotObject<CppEditor::CppEditorWidget::createRefactorMenu(QWidget*) const::{lambda(QHash<CPlusPlus::Symbol*, QList<TextEditor::HighlightingResult> >, bool)#1}, 2, QtPrivate::List<QHash<CPlusPlus::Symbol*, QList<TextEditor::HighlightingResult> >, bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] () at qtcreator/plugins/libCppEditor.so
      #7  0x00007fd0ae165a8b in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff24980830, r=0x56072bcc2290, this=0x56072dbb8920, this=<optimized out>, r=<optimized out>, a=<optimized out>) at qt/corelib/kernel/qobjectdefs_impl.h:399
      #8  doActivate<false>(QObject*, int, void**) (sender=0x5607300fd800, signal_index=3, argv=0x7fff24980830) at qt/corelib/kernel/qobject.cpp:3921
      #9  0x00007fd09ee762d1 in CppEditor::Internal::CppUseSelectionsUpdater::processResults(CppEditor::CursorInfo const&) () at qtcreator/plugins/libCppEditor.so
      #10 0x00007fd09ee76f72 in CppEditor::Internal::CppUseSelectionsUpdater::onFindUsesFinished() () at qtcreator/plugins/libCppEditor.so
      #11 0x00007fd0ae165a8b in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff24980988, r=0x5607300fd800, this=0x5607264069b0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at qt/corelib/kernel/qobjectdefs_impl.h:399
      #12 doActivate<false>(QObject*, int, void**) (sender=0x56072ac67c70, signal_index=4, argv=0x7fff24980988) at qt/corelib/kernel/qobject.cpp:3921
      #13 0x00007fd0ae2761b1 in QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent*) (event=0x7fcfa59b9520, this=0x560730ed8a00) at qt/corelib/thread/qfuturewatcher.cpp:529
      #14 QFutureWatcherBase::event(QEvent*) (this=<optimized out>, event=0x7fcfa59b9520) at qt/corelib/thread/qfuturewatcher.cpp:428
      #15 0x00007fd0af1749dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x56072ac67c70, e=0x7fcfa59b9520) at qt/widgets/kernel/qapplication.cpp:3350
      #16 0x00007fd0ae113088 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56072ac67c70, event=0x7fcfa59b9520) at qt/corelib/kernel/qcoreapplication.cpp:1067
      #17 0x00007fd0ae114cd8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x560723145060) at qt/corelib/kernel/qcoreapplication.cpp:1845
      #18 0x00007fd0ae332338 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x560723151070) at qt/corelib/kernel/qeventdispatcher_glib.cpp:279
      #19 0x00007fd0ad307fbb in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
      #20 0x00007fd0ad36e5d1 in  () at /usr/lib/libglib-2.0.so.0
      #21 0x00007fd0ad3069b2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
      #22 0x00007fd0ae3304d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5607231a7ab0, flags=...) at qt/corelib/kernel/qeventdispatcher_glib.cpp:429
      #23 0x00007fd0ae11c014 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff24980dc0, flags=..., flags@entry=...) at qt/corelib/global/qflags.h:70
      #24 0x00007fd0af319ef8 in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=0x560730ac6630, p=..., action=0x0, positionFunction=...) at qt/corelib/global/qflags.h:110
      #25 0x00007fd0af31a013 in QMenu::exec(QPoint const&, QAction*) (this=<optimized out>, p=<optimized out>, action=<optimized out>) at qt/widgets/widgets/qmenu.cpp:2646
      #26 0x00007fd09ed88de8 in CppEditor::CppEditorWidget::contextMenuEvent(QContextMenuEvent*) () at qtcreator/plugins/libCppEditor.so
      #27 0x00007fd0af1b8977 in QWidget::event(QEvent*) (this=0x56072a97dd70, event=0x7fff249813e0) at qt/widgets/kernel/qwidget.cpp:9005
      #28 0x00007fd0af243b37 in QFrame::event(QEvent*) (this=0x56072a97dd70, e=0x7fff249813e0) at qt/widgets/widgets/qframe.cpp:550
      #29 0x00007fd0ae111c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x56072a14cf90, event=event@entry=0x7fff249813e0) at qt/corelib/kernel/qcoreapplication.cpp:1199
      #30 0x00007fd0af1749cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x56072a14cf90, e=0x7fff249813e0) at qt/widgets/kernel/qapplication.cpp:3344
      #31 0x00007fd0af16d7a4 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=<optimized out>, e=0x7fff249813e0) at qt/widgets/kernel/qapplication.cpp:2979
      #32 0x00007fd0ae113088 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56072a14cf90, event=0x7fff249813e0) at qt/corelib/kernel/qcoreapplication.cpp:1067
      #33 0x00007fd0af1cd13f in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=<optimized out>, event=0x7fff24981790) at qt/widgets/kernel/qwidgetwindow.cpp:675
      #34 0x00007fd0af1c81dd in QWidgetWindow::event(QEvent*) (this=0x560724de7620, event=0x7fff24981790) at qt/widgets/kernel/qwidgetwindow.cpp:285
      #35 0x00007fd0af1749dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x560724de7620, e=0x7fff24981790) at qt/widgets/kernel/qapplication.cpp:3350
      #36 0x00007fd0ae113088 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x560724de7620, event=0x7fff24981790) at qt/corelib/kernel/qcoreapplication.cpp:1067
      #37 0x00007fd0ae9998cc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x56072632f5a0) at qt/gui/kernel/qguiapplication.cpp:2277
      #38 0x00007fd0ae9f7175 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at qt/gui/kernel/qwindowsysteminterface.cpp:1137
      #39 0x00007fd0aa1b31f0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qt/plugins/platforms/xcb/qxcbeventdispatcher.cpp:93
      #40 0x00007fd0ad307fbb in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
      #41 0x00007fd0ad36e5d1 in  () at /usr/lib/libglib-2.0.so.0
      #42 0x00007fd0ad3069b2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
      #43 0x00007fd0ae3304d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5607231a7ab0, flags=...) at qt/corelib/kernel/qeventdispatcher_glib.cpp:429
      #44 0x00007fd0ae11c014 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff24981c40, flags=...) at qt/corelib/global/qflags.h:70
      #45 0x00007fd0ae1166ab in QCoreApplication::exec() () at qt/corelib/global/qflags.h:110
      #46 0x0000560722d13af3 in main ()
       

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

            kandeler Christian Kandeler
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes