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

Crash when invoking context menu of text mark

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.3.1
    • Qt Creator 4.3.1
    • Debugger
    • None
    • 4ecb1283fe4ee463e9b550d4575eb33ad9944a17

    Description

      Stack trace leads to the debugger, see below. Can't re-produce.

      (gdb) bt
      #0 Debugger::Internal::DebuggerEngine::state (this=0x0) at debuggerengine.cpp:701
      #1 0x00007f924fbd08c4 in Debugger::Internal::DebuggerPluginPrivate::requestContextMenu (this=0x5654d09ca130, widget=<optimized out>, lineNumber=175, menu=0x5654e3759050) at debuggerplugin.cpp:2314
      #2 0x00007f9271ee42b6 in QMetaObject::activate(QObject*, int, int, void**) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Core.so.5
      #3 0x00007f9255fc414f in TextEditor::TextEditorWidget::markContextMenuRequested (this=this@entry=0x5654e29f29a0, _t1=<optimized out>, _t1@entry=0x5654e29f29a0, _t2=<optimized out>, _t3=<optimized out>, _t3@entry=0x5654e3759050)
      at .moc/release-shared/moc_texteditor.cpp:389
      #4 0x00007f9255ebaeb3 in TextEditor::TextEditorWidget::extraAreaContextMenuEvent (this=0x5654e29f29a0, e=0x7ffcbe2dd6e0) at texteditor.cpp:5034
      #5 0x00007f92732576bd in QWidget::event(QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #6 0x00007f92732184bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #7 0x00007f92732210e2 in QApplication::notify(QObject*, QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #8 0x00007f9271eb9e78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Core.so.5
      #9 0x00007f927327001d in ?? () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #10 0x00007f927327281b in ?? () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #11 0x00007f92732184bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #12 0x00007f927321f8e7 in QApplication::notify(QObject*, QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Widgets.so.5
      #13 0x00007f9271eb9e78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Core.so.5
      #14 0x00007f9272a44f90 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Gui.so.5
      #15 0x00007f9272a46d85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Gui.so.5
      #16 0x00007f9272a22d7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Gui.so.5
      #17 0x00007f926be35fa0 in ?? () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5
      #18 0x00007f926d8357f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #19 0x00007f926d835a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #20 0x00007f926d835b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #21 0x00007f9271f0b93f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Core.so.5
      #22 0x00007f9271eb85ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Core.so.5
      #23 0x00007f9271ec0a44 in QCoreApplication::exec() () from /home/nik/opt/qt-5.9.0/5.9/gcc_64/lib/libQt5Core.so.5
      #24 0x00005654cf487c48 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:538
      

      Attachments

        Activity

          People

            hjk hjk
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: