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

Crash in Git::Internal::GitPluginPrivate::activateCommit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 17.0 (master branch)

    Description

      Build commit: a2ce5bb775a0cba237ea1ba3db755db9da09b91d
      Backtrace:

      #0  0x00007f146c5d6a90 in ??? ()
      #1  0x00007f14cbb778f5 in Git::Internal::GitPluginPrivate::activateCommit () at /home/tjmaciei/src/qt/qt-creator/src/plugins/git/gitplugin.cpp:1460
      #2  0x00007f14d198212e in VcsBase::VcsBaseSubmitEditor::accept () at /home/tjmaciei/src/qt/qt-creator/src/plugins/vcsbase/vcsbasesubmiteditor.cpp:437
      #3  0x00007f1506df5459 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #4  0x00007f1507e24188 in QAction::activate(QAction::ActionEvent) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Gui.t.so.6
      #5  0x00007f1506df5459 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #6  0x00007f1508502deb in QAbstractButtonPrivate::emitClicked() () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #7  0x00007f15085032cd in QAbstractButtonPrivate::click() () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #8  0x00007f150865c406 in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #9  0x00007f150841fe84 in QWidget::event(QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #10 0x00007f15083b2c7a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #11 0x00007f15083b59ec in QApplication::notify(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #12 0x00007f1506d901b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #13 0x00007f15083aff0f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
          at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #14 0x00007f150843b2cc in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #15 0x00007f150843c44f in QWidgetWindow::event(QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #16 0x00007f15083b2c7a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6
      #17 0x00007f1506d901b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #18 0x00007f15079e4d58 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
          at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Gui.t.so.6
      #19 0x00007f1507a563b3 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
          at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Gui.t.so.6
      #20 0x00007f1507a56577 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
          at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Gui.t.so.6
      #21 0x00007f1506df5675 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #22 0x00007f150702a56d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #23 0x00007f1506d9a126 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #24 0x00007f1506d92841 in QCoreApplication::exec() () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6
      #25 0x0000000000410056 in main () at /home/tjmaciei/src/qt/qt-creator/src/app/main.cpp:975
      
      #1  0x00007f14cbb778f5 in Git::Internal::GitPluginPrivate::activateCommit () at /home/tjmaciei/src/qt/qt-creator/src/plugins/git/gitplugin.cpp:1460
      1460                editor->updateFileModel();
      

      This is (apparently) a virtual call. The editor pointer contains a value that appears valid, with a value in the virtual pointer location that also appears valid. But the jump to the virtual function ended up in non-code.

      I was trying to perform a Git fixup. I don't have further information. Filing for future reference.

      Attachments

        Issue Links

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

          Activity

            People

              aha_1980 André Hartmann
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes