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

Crash in debug mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.15.0
    • Fix Version/s: None
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Gentoo
    • Platform/s:
      Linux/X11

      Description

      Installed with official Qt Installer

      Program terminated with signal SIGSEGV, Segmentation fault.
      
      #0  0x00007fc7f83a1b12 in Debugger::Internal::DebuggerOutputParser::readString(std::function<bool (char)> const&) (this=this@entry=0x7fffb9396460, isValidChar=...)
      
          at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:82
      
      82      /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp: Нет такого файла или каталога.
      
      [Current thread is 1 (Thread 0x7fc805796c40 (LWP 106038))]
      
      (gdb)  
      (gdb) bt full
      
      #0  0x00007fc7f83a1b12 in Debugger::Internal::DebuggerOutputParser::readString(std::function<bool (char)> const&) (this=this@entry=0x7fffb9396460, isValidChar=...)
      
          at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:82
      
              res = {d = 0x5160330}
      
      #1  0x00007fc7f83a7664 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb9393fa0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:121
      
      No locals.
      
      #2  0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb9394060, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::Invalid, m_children = {
      
                  d = 0x7fc80949c480 <QArrayData::shared_null>}}
      
      #3  0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb9394060, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #4  0x00007fc7f83a7601 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb9394060, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:112
      
      No locals.
      
      #5  0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb9394120, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::List, m_children = {d = 0x57b6b00}}
      
      #6  0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb9394120, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #7  0x00007fc7f83a76ea in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb9394120, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:125
      
      No locals.
      
      #8  0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb93941e0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x57b75c0}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::List, m_children = {d = 0x7d4ba70}}
      
      #9  0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb93941e0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #10 0x00007fc7f83a7601 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb93941e0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:112
      
      No locals.
      
      #11 0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb93942a0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::List, m_children = {d = 0x5806cc0}}
      
      #12 0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb93942a0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #13 0x00007fc7f83a7601 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb93942a0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:112
      
      No locals.
      
      #14 0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb9394360, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::List, m_children = {d = 0x57b6870}}
      
      #15 0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb9394360, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #16 0x00007fc7f83a7601 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb9394360, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:112
      
      No locals.
      
      #17 0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb9394420, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::List, m_children = {d = 0x57b6670}}
      
      #18 0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb9394420, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #19 0x00007fc7f83a7601 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb9394420, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:112
      
      No locals.
      
      #20 0x00007fc7f83a7448 in Debugger::Internal::GdbMi::parseList (this=0x7fffb93944e0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:302
      
              child = {m_name = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_data = {d = 0x7fc80949c480 <QArrayData::shared_null>}, m_type = Debugger::Internal::GdbMi::List, m_children = {d = 0x59f6810}}
      
      #21 0x00007fc7f83a75d5 in Debugger::Internal::GdbMi::parseValue (this=0x7fffb93944e0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:249
      
      No locals.
      
      #22 0x00007fc7f83a7601 in Debugger::Internal::GdbMi::parseResultOrValue (this=this@entry=0x7fffb93944e0, parser=...) at /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerprotocol.cpp:112
      
      No locals.
      

      There are many more entries in the backtrace which look like the above. Recursion?
      Seems like happens only on opening specific files. Unfortunately I can't post the files here.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              rion Rion
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes