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

Segfault debugging with lldb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 6.0.0-beta2
    • Debugger

    Description

      Stack trace:

      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  QWidget::testAttribute (attribute=Qt::WA_WState_Visible, this=0x0) at /usr/include/qt/QtWidgets/qwidget.h:883
      883	        return data->widget_attributes & (1<<attribute);
      [Current thread is 1 (Thread 0x7fb15e89a840 (LWP 151638))]
      (gdb) 
      (gdb) bt
      #0  QWidget::testAttribute(Qt::WidgetAttribute) const (attribute=Qt::WA_WState_Visible, this=0x0) at /usr/include/qt/QtWidgets/qwidget.h:883
      #1  QWidget::isVisible() const (this=0x0) at /usr/include/qt/QtWidgets/qwidget.h:845
      #2  Debugger::Internal::DebuggerEngine::isRegistersWindowVisible() const (this=this@entry=0x55d90ebdfad0) at /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/plugins/debugger/debuggerengine.cpp:939
      #3  0x00007fb14ae18ac1 in Debugger::Internal::LldbEngine::reloadRegisters() (this=0x55d90ebdfad0) at /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/plugins/debugger/lldb/lldbengine.cpp:937
      #4  0x00007fb14ae1c739 in std::function<void (Debugger::Internal::DebuggerResponse const&)>::operator()(Debugger::Internal::DebuggerResponse const&) const (__args#0=..., this=0x7ffec07238a0) at /usr/include/c++/11.1.0/bits/std_function.h:556
      #5  Debugger::Internal::LldbEngine::handleResponse(QString const&) (this=<optimized out>, response=<optimized out>) at /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/plugins/debugger/lldb/lldbengine.cpp:411
      #6  0x00007fb16269650f in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
      #7  0x00007fb1632edd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
      #8  0x00007fb1626693ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
      #9  0x00007fb16266c4b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
      #10 0x00007fb1626c29b4 in  () at /usr/lib/libQt5Core.so.5
      #11 0x00007fb160b794dc in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
      #12 0x00007fb160bcd749 in  () at /usr/lib/libglib-2.0.so.0
      #13 0x00007fb160b76bc1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
      #14 0x00007fb1626c1fe6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
      #15 0x00007fb162667d2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
      #16 0x00007fb162670294 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
      #17 0x000055d8f710c396 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/app/main.cpp:771
      

      Last output was:

      LLDB STDERR UNEXPECTED:  "error: libClangCodeModel.so {0x00b369a8}: DIE has DW_AT_ranges(0x1a37f) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      
      LLDB STDERR UNEXPECTED:  "error: libClangCodeModel.so {0x0029581e}: DIE has DW_AT_ranges(0x267a) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\nerror: libClangCodeModel.so {0x0029581e}: DIE has DW_AT_ranges(0x267a) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      
      LLDB STDERR UNEXPECTED:  "error: libClangbackendipc.so.5 {0x0007b0f0}: DIE has DW_AT_ranges(0x1c3) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\nerror: libClangbackendipc.so.5 {0x0007b0f0}: DIE has DW_AT_ranges(0x1c3) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      Could not find mark 0x7fb1580539b8 on line 1
      
      LLDB STDERR UNEXPECTED:  "error: libClangCodeModel.so {0x00b369a8}: DIE has DW_AT_ranges(0x1a37f) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      
      LLDB STDERR UNEXPECTED:  "error: libClangCodeModel.so {0x0029581e}: DIE has DW_AT_ranges(0x267a) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\nerror: libClangbackendipc.so.5 {0x0007b0f0}: DIE has DW_AT_ranges(0x1c3) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      
      LLDB STDERR UNEXPECTED:  "error: libCppEditor.so 0x0510c607: DW_TAG_member '_M_pod_data' refers to type 0x0511cb5f which extends beyond the bounds of 0x0510c5b3\n"
      
      LLDB STDERR UNEXPECTED:  "error: libClangCodeModel.so {0x00b369a8}: DIE has DW_AT_ranges(0x1a37f) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      
      LLDB STDERR UNEXPECTED:  "error: libLanguageUtils.so.5 {0x00060e82}: DIE has DW_AT_ranges(0xb88) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message\n"
      Could not find mark 0x7fb1580539b8 on line 1
      *** UNEXPECTED STATE TRANSITION:  Debugger::Internal::LldbEngine(0x55d90ebdfad0, name = "LldbEngine") "State changed from InferiorStopOk(10) to InferiorRunOk(7)"
      *** UNEXPECTED STATE TRANSITION:  Debugger::Internal::LldbEngine(0x55d90ebdfad0, name = "LldbEngine") "State changed from InferiorStopOk(10) to InferiorRunOk(7)"
      *** UNEXPECTED STATE TRANSITION:  Debugger::Internal::LldbEngine(0x55d90ebdfad0, name = "LldbEngine") "State changed from InferiorStopOk(10) to InferiorRunOk(7)"
      SOFT ASSERT: "d->m_logWindow" in file /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/plugins/debugger/debuggerengine.cpp, line 1748
      MSG:  ""
      SOFT ASSERT: "d->m_logWindow" in file /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/plugins/debugger/debuggerengine.cpp, line 1748
      MSG:  "196^"
      SOFT ASSERT: "d->m_logWindow" in file /sda/home/christian/dev/qtcreator/super-next-release/src/qtcreator/src/plugins/debugger/debuggerengine.cpp, line 1748
      MSG:  "NO LLDB PROCESS RUNNING, CMD IGNORED: fetchStack 16"
      

      Attachments

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

        Activity

          People

            hjk hjk
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes