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

Crash from git integration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 3.1.0-rc1
    • None

    Description

      I was trying to view either commit fdc87143 or commit 82b21536 in qtdeclarative. Unfortunately gdb crashed as well when I tried to obtain a backtrace. This is what I got:

      Program received signal SIGSEGV, Segmentation fault.
      0x00007ffff5d8012a in QTextLayout::additionalFormats (this=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>)
          at /home/ulf/dev/qt5-src/qtbase/src/gui/text/qtextlayout.cpp:516
      warning: Source file is more recent than executable.
      516         return d->additionalFormats();
      (gdb) bt
      #0  0x00007ffff5d8012a in QTextLayout::additionalFormats (this=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>)
          at /home/ulf/dev/qt5-src/qtbase/src/gui/text/qtextlayout.cpp:516
      #1  0x00007fffdd7c3577 in DiffEditor::MultiHighlighter::highlightBlock (this=0x139841f0, text=...) at /home/ulf/dev/qt-creator/src/plugins/diffeditor/sidebysidediffeditorwidget.cpp:290
      #2  0x00007fffe3821d2b in TextEditor::SyntaxHighlighterPrivate::reformatBlock (this=0x13984190, block=..., from=0, charsRemoved=0, charsAdded=473141) at /home/ulf/dev/qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:225
      #3  0x00007fffe3821b90 in TextEditor::SyntaxHighlighterPrivate::reformatBlocks (this=0x13984190, from=0, charsRemoved=0, charsAdded=473141) at /home/ulf/dev/qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:204
      #4  0x00007fffe3821a11 in TextEditor::SyntaxHighlighterPrivate::_q_reformatBlocks (this=0x13984190, from=0, charsRemoved=0, charsAdded=473141) at /home/ulf/dev/qt-creator/src/plugins/texteditor/syntaxhighlighter.cpp:179
      #5  0x00007fffe3823580 in TextEditor::SyntaxHighlighter::qt_static_metacall (_o=0x139841f0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffbc70) at .moc/debug-shared/moc_syntaxhighlighter.cpp:86
      #6  0x00007ffff56bfc09 in QMetaObject::activate (sender=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, int, int, void**)".>, 
          signalOffset=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, int, int, void**)".>, local_signal_index=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, int, int, void**)".>, 
          argv=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, int, int, void**)".>) at /home/ulf/dev/qt5-src/qtbase/src/corelib/kernel/qobject.cpp:3680
      #7  0x00007ffff56bf41a in QMetaObject::activate (sender=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".>, 
          m=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".>, 
          local_signal_index=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".>, 
          argv=<error reading variable: Could not find the frame base for "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)".>) at /home/ulf/dev/qt5-src/qtbase/src/corelib/kernel/qobject.cpp:3546
      #8  0x00007ffff605eef8 in QTextDocument::contentsChange (this=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, _t1=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, 
          _t2=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, _t3=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at .moc/moc_qtextdocument.cpp:364
      #9  0x00007ffff5db70df in QTextDocumentPrivate::finishEdit (this=<error reading variable: Could not find the frame base for "QTextDocumentPrivate::finishEdit()".>) at /home/ulf/dev/qt5-src/qtbase/src/gui/text/qtextdocument_p.cpp:1219
      #10 0x00007ffff5db6ffc in QTextDocumentPrivate::endEditBlock (this=<error reading variable: Unhandled dwarf expression opcode 0x0>) at /home/ulf/dev/qt5-src/qtbase/src/gui/text/qtextdocument_p.cpp:1203
      #11 0x00007ffff5debefb in QTextCursor::endEditBlock (this=<error reading variable: dwarf expression stack underflow>) at /home/ulf/dev/qt5-src/qtbase/src/gui/text/qtextcursor.cpp:2512
      Bus error (core dumped)
      

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes