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

Git: Sporadic crash when checking out or resetting branch while configuring/building

    XMLWordPrintable

Details

    • Windows

    Description

      I am a heavy user of the Git Branches view. In the last few Months or so, I had a handful of times where Qt Creator crashed when checking out or resetting a local branch in Qt Creators "Git Branches" view while the project was configured/built in the background.

      Now, I finally managed to get a stacktrace.

      Stacktrace obtained via Crashpad/Sentry
      OS Version: Windows 10.0.26100 (3915)
      Report Version: 104
      
      Crashed Thread: 13848
      
      Application Specific Information:
      Fatal Error: EXCEPTION_ACCESS_VIOLATION_READ / 0x10
      
      Thread 13848 Crashed:
      0   Git.dll                         0x7fffae6d4f7d      Git::Internal::BranchModel::nodeToIndex (branchmodel.cpp:903)
      1   Git.dll                         0x7fffae6d508c      Git::Internal::BranchModel::parent (branchmodel.cpp:287)
      2   Qt6Core.dll                     0x7fffb6555b59      [inlined] QModelIndex::parent (qabstractitemmodel.h:506)
      3   Qt6Core.dll                     0x7fffb6555b59      QSortFilterProxyModelPrivate::source_to_proxy (qsortfilterproxymodel.cpp:570)
      4   Qt6Core.dll                     0x7fffb654d8f1      QSortFilterProxyModel::mapFromSource (qsortfilterproxymodel.cpp:3265)
      5   Qt6Core.dll                     0x7fffb654f032      QSortFilterProxyModel::parent (qsortfilterproxymodel.cpp:2142)
      6   Qt6Widgets.dll                  0x7fffcef34208      [inlined] QModelIndex::parent (qabstractitemmodel.h:506)
      7   Qt6Widgets.dll                  0x7fffcef34208      QTreeView::isIndexHidden (qtreeview.cpp:3113)
      8   Qt6Widgets.dll                  0x7fffcef3f5bb      QTreeViewPrivate::visualRect (qtreeview.cpp:1098)
      9   Qt6Widgets.dll                  0x7fffceeb10e3      QTreeViewPrivate::visualRect (qtreeview_p.h:166)
      10  Qt6Widgets.dll                  0x7fffceec57b5      QAbstractItemViewPrivate::setHoverIndex (qabstractitemview.cpp:133)
      11  Qt6Widgets.dll                  0x7fffceec8d10      QAbstractItemView::viewportEvent (qabstractitemview.cpp:1750)
      12  Qt6Core.dll                     0x7fffb62f5ba6      QCoreApplicationPrivate::sendThroughObjectEventFilters (qcoreapplication.cpp:1309)
      13  Qt6Widgets.dll                  0x7fffcec134a6      QApplicationPrivate::notify_helper (qapplication.cpp:3290)
      14  Qt6Widgets.dll                  0x7fffcec125f5      QApplication::notify (qapplication.cpp:3250)
      15  Qt6Core.dll                     0x7fffb62f313e      QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1172)
      16  Qt6Widgets.dll                  0x7fffcec0b073      QApplicationPrivate::dispatchEnterLeave (qapplication.cpp:2090)
      17  Qt6Widgets.dll                  0x7fffcec163f1      [inlined] QWeakPointer<T>::internalData (qsharedpointer_impl.h:752)
      18  Qt6Widgets.dll                  0x7fffcec163f1      [inlined] QPointer<T>::data (qpointer.h:75)
      19  Qt6Widgets.dll                  0x7fffcec163f1      [inlined] comparesEqual (qpointer.h:107)
      20  Qt6Widgets.dll                  0x7fffcec163f1      [inlined] operator!= (qpointer.h:108)
      21  Qt6Widgets.dll                  0x7fffcec163f1      QApplicationPrivate::sendMouseEvent (qapplication.cpp:2347)
      22  Qt6Widgets.dll                  0x7fffcec7bfc6      QWidgetWindow::handleMouseEvent (qwidgetwindow.cpp:666)
      23  Qt6Widgets.dll                  0x7fffcec7994e      QWidgetWindow::event (qwidgetwindow.cpp:299)
      24  Qt6Widgets.dll                  0x7fffcec134c1      QApplicationPrivate::notify_helper (qapplication.cpp:3296)
      25  Qt6Widgets.dll                  0x7fffcec125f5      QApplication::notify (qapplication.cpp:3250)
      26  Qt6Core.dll                     0x7fffb62f313e      QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1172)
      27  Qt6Gui.dll                      0x7fffb68c83fb      QGuiApplicationPrivate::processMouseEvent (qguiapplication.cpp:2461)
      28  Qt6Gui.dll                      0x7fffb692427a      QWindowSystemInterface::sendWindowSystemEvents (qwindowsysteminterface.cpp:1113)
      29  Qt6Core.dll                     0x7fffb647eb6f      QEventDispatcherWin32::processEvents (qeventdispatcher_win.cpp:468)
      30  Qt6Gui.dll                      0x7fffb6bd7de8      QWindowsGuiEventDispatcher::processEvents (qwindowsguieventdispatcher.cpp:36)
      31  Qt6Core.dll                     0x7fffb62f9c43      [inlined] QEventLoop::processEvents (qeventloop.cpp:103)
      32  Qt6Core.dll                     0x7fffb62f9c43      QEventLoop::exec (qeventloop.cpp:185)
      33  Qt6Core.dll                     0x7fffb62f1641      QCoreApplication::exec (qcoreapplication.cpp:1515)
      34  qtcreator.exe                   0x7ff6ebdec077      main (main.cpp:975)
      35  qtcreator.exe                   0x7ff6ebdf7b1f      qtEntryPoint (qtentrypoint_win.cpp:45)
      36  qtcreator.exe                   0x7ff6ebdf11f5      [inlined] invoke_main (exe_common.inl:102)
      37  qtcreator.exe                   0x7ff6ebdf11f5      __scrt_common_main_seh (exe_common.inl:288)
      38  KERNEL32.DLL                    0x7ff84b61e8d6      BaseThreadInitThunk
      39  ntdll.dll                       0x7ff84c0dc5db      RtlUserThreadStart
      

      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
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes