Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 11.0.0-beta1
-
None
-
5bd2cd011 (master)
Description
When I fetch or reset in the "Git Branches" view, I sometimes get a crash.
0xfeeefeee`feeefeee hints a deletion after free.
backtrace
Git!Git::Internal::BranchModel::nodeToIndex(class Git::Internal::BranchNode * node = 0xfeeefeee`feeefeee, int column = 0n0)+0x43 [qt-creator-qt6\src\plugins\git\branchmodel.cpp @ 897] Git!Git::Internal::BranchModel::parent(class QModelIndex * index = 0x00000043`25cf6488)+0x8e [qt-creator-qt6\src\plugins\git\branchmodel.cpp @ 287] Qt6Cored!QModelIndex::parent(void)+0x5e [qt6_desktop\qtbase\src\corelib\itemmodels\qabstractitemmodel.h @ 481] Qt6Cored!QSortFilterProxyModelPrivate::source_to_proxy(class QModelIndex * source_index = 0x00000043`25cf6488)+0x125 [qt6_desktop\qtbase\src\corelib\itemmodels\qsortfilterproxymodel.cpp @ 570] Qt6Cored!QSortFilterProxyModel::mapFromSource(class QModelIndex * sourceIndex = 0x00000043`25cf6488)+0x37 [qt6_desktop\qtbase\src\corelib\itemmodels\qsortfilterproxymodel.cpp @ 3306] Qt6Cored!QSortFilterProxyModel::parent(class QModelIndex * child = 0x00000043`25cf6758)+0x136 [qt6_desktop\qtbase\src\corelib\itemmodels\qsortfilterproxymodel.cpp @ 2176] Qt6Widgetsd!QModelIndex::parent(void)+0x5e [qt6_desktop\qtbase\src\corelib\itemmodels\qabstractitemmodel.h @ 481] Qt6Widgetsd!QTreeView::isIndexHidden(class QModelIndex * index = 0x00000043`25cf6758)+0x3b [qt6_desktop\qtbase\src\widgets\itemviews\qtreeview.cpp @ 3040] Qt6Widgetsd!QTreeView::visualRect(class QModelIndex * index = 0x00000043`25cf6758)+0x6a [qt6_desktop\qtbase\src\widgets\itemviews\qtreeview.cpp @ 1072] Qt6Widgetsd!QAbstractItemViewPrivate::setHoverIndex(class QPersistentModelIndex * index = 0x00000043`25cf69f0)+0x14d [qt6_desktop\qtbase\src\widgets\itemviews\qabstractitemview.cpp @ 133] Qt6Widgetsd!QAbstractItemView::viewportEvent(class QEvent * event = 0x00000043`25cf6fb0)+0x13e [qt6_desktop\qtbase\src\widgets\itemviews\qabstractitemview.cpp @ 1720] Qt6Widgetsd!QTreeView::viewportEvent(class QEvent * event = 0x00000043`25cf6fb0)+0x22d [qt6_desktop\qtbase\src\widgets\itemviews\qtreeview.cpp @ 1296] Qt6Widgetsd!QAbstractScrollAreaPrivate::viewportEvent(class QEvent * event = 0x00000043`25cf6fb0)+0x40 [qt6_desktop\qtbase\src\widgets\widgets\qabstractscrollarea_p.h @ 74] Qt6Widgetsd!QAbstractScrollAreaFilter::eventFilter(class QObject * o = 0x00000232`a0852790, class QEvent * e = 0x00000043`25cf6fb0)+0x48 [qt6_desktop\qtbase\src\widgets\widgets\qabstractscrollarea_p.h @ 85] Qt6Cored!QCoreApplicationPrivate::sendThroughObjectEventFilters(class QObject * receiver = 0x00000232`a0852790, class QEvent * event = 0x00000043`25cf6fb0)+0x15b [qt6_desktop\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1247] Qt6Widgetsd!QApplicationPrivate::notify_helper(class QObject * receiver = 0x00000232`a0852790, class QEvent * e = 0x00000043`25cf6fb0)+0x179 [qt6_desktop\qtbase\src\widgets\kernel\qapplication.cpp @ 3281] Qt6Widgetsd!QApplication::notify(class QObject * receiver = 0x00000232`a0852790, class QEvent * e = 0x00000043`25cf82e0)+0x1188 [qt6_desktop\qtbase\src\widgets\kernel\qapplication.cpp @ 2801] Qt6Cored!QCoreApplication::notifyInternal2(class QObject * receiver = 0x00000232`a0852790, class QEvent * event = 0x00000043`25cf82e0)+0x157 [qt6_desktop\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1115] Qt6Cored!QCoreApplication::sendSpontaneousEvent(class QObject * receiver = 0x00000232`a0852790, class QEvent * event = 0x00000043`25cf82e0)+0x7b [qt6_desktop\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1548] Qt6Widgetsd!QApplicationPrivate::sendMouseEvent(class QWidget * receiver = 0x00000232`a0852790, class QMouseEvent * event = 0x00000043`25cf82e0, class QWidget * alienWidget = 0x00000232`a0852790, class QWidget * nativeWidget = 0x00000232`99f37010, class QWidget ** buttonDown = 0x00007ff8`d8d218c0, class QPointer<QWidget> * lastMouseReceiver = 0x00007ff8`d8d218d8, bool spontaneous = true, bool onlyDispatchEnterLeave = false)+0x4cd [qt6_desktop\qtbase\src\widgets\kernel\qapplication.cpp @ 2358] Qt6Widgetsd!QWidgetWindow::handleMouseEvent(class QMouseEvent * event = 0x00000043`25cf9df0)+0x17cd [qt6_desktop\qtbase\src\widgets\kernel\qwidgetwindow.cpp @ 625] Qt6Widgetsd!QWidgetWindow::event(class QEvent * event = 0x00000043`25cf9df0)+0x1f3 [qt6_desktop\qtbase\src\widgets\kernel\qwidgetwindow.cpp @ 242] Qt6Widgetsd!QApplicationPrivate::notify_helper(class QObject * receiver = 0x00000232`a0835f80, class QEvent * e = 0x00000043`25cf9df0)+0x1ab [qt6_desktop\qtbase\src\widgets\kernel\qapplication.cpp @ 3287] Qt6Widgetsd!QApplication::notify(class QObject * receiver = 0x00000232`a0835f80, class QEvent * e = 0x00000043`25cf9df0)+0x3357 [qt6_desktop\qtbase\src\widgets\kernel\qapplication.cpp @ 3238] Qt6Cored!QCoreApplication::notifyInternal2(class QObject * receiver = 0x00000232`a0835f80, class QEvent * event = 0x00000043`25cf9df0)+0x157 [qt6_desktop\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1115] Qt6Cored!QCoreApplication::sendSpontaneousEvent(class QObject * receiver = 0x00000232`a0835f80, class QEvent * event = 0x00000043`25cf9df0)+0x7b [qt6_desktop\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1548] Qt6Guid!QGuiApplicationPrivate::processMouseEvent(class QWindowSystemInterfacePrivate::MouseEvent * e = 0x00000232`a7dbd960)+0xaa0 [qt6_desktop\qtbase\src\gui\kernel\qguiapplication.cpp @ 2300] Qt6Guid!QGuiApplicationPrivate::processWindowSystemEvent(class QWindowSystemInterfacePrivate::WindowSystemEvent * e = 0x00000232`a7dbd960)+0xa7 [qt6_desktop\qtbase\src\gui\kernel\qguiapplication.cpp @ 2049] Qt6Guid!QWindowSystemInterface::sendWindowSystemEvents(class QFlags<enum QEventLoop::ProcessEventsFlag> flags = class QFlags<enum QEventLoop::ProcessEventsFlag>)+0xc4 [qt6_desktop\qtbase\src\gui\kernel\qwindowsysteminterface.cpp @ 1100] Qt6Guid!QWindowsGuiEventDispatcher::sendPostedEvents(void)+0x22 [qt6_desktop\qtbase\src\gui\platform\windows\qwindowsguieventdispatcher.cpp @ 45] Qt6Cored!QEventDispatcherWin32::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag> flags = class QFlags<enum QEventLoop::ProcessEventsFlag>)+0xbf [qt6_desktop\qtbase\src\corelib\kernel\qeventdispatcher_win.cpp @ 464] Qt6Guid!QWindowsGuiEventDispatcher::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag> flags = class QFlags<enum QEventLoop::ProcessEventsFlag>)+0x4b [qt6_desktop\qtbase\src\gui\platform\windows\qwindowsguieventdispatcher.cpp @ 36] Qt6Cored!QEventLoop::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag> flags = class QFlags<enum QEventLoop::ProcessEventsFlag>)+0x7c [qt6_desktop\qtbase\src\corelib\kernel\qeventloop.cpp @ 101] Qt6Cored!QEventLoop::exec(class QFlags<enum QEventLoop::ProcessEventsFlag> flags = class QFlags<enum QEventLoop::ProcessEventsFlag>)+0x1f4 [qt6_desktop\qtbase\src\corelib\kernel\qeventloop.cpp @ 182] Qt6Cored!QCoreApplication::exec(void)+0x19a [qt6_desktop\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1436] Qt6Guid!QGuiApplication::exec(void)+0x1a [qt6_desktop\qtbase\src\gui\kernel\qguiapplication.cpp @ 1909] Qt6Widgetsd!QApplication::exec(void)+0xc [qt6_desktop\qtbase\src\widgets\kernel\qapplication.cpp @ 2567] qtcreator!main(int argc = 0n1, char ** argv = 0x00000232`93126920)+0x41f7 [qt-creator-qt6\src\app\main.cpp @ 797] qtcreator!qtEntryPoint(void)+0xf7 [qt6_desktop\qtbase\src\entrypoint\qtentrypoint_win.cpp @ 50] qtcreator!WinMain(struct HINSTANCE__ * __formal = 0x00007ff6`b5a70000, struct HINSTANCE__ * __formal = 0x00000000`00000000, char * __formal = 0x00000232`93116dae "", int __formal = 0n10)+0x1e [qt6_desktop\qtbase\src\entrypoint\qtentrypoint_win.cpp @ 60] qtcreator!invoke_main(void)+0x32 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 107] qtcreator!__scrt_common_main_seh(void)+0x12e [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] qtcreator!__scrt_common_main(void)+0xe [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 331] qtcreator!WinMainCRTStartup(void * __formal = 0x00000043`25a5e000)+0xe [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp @ 17] KERNEL32!BaseThreadInitThunk+0x14 ntdll!RtlUserThreadStart+0x21
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-29266 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
481117,3 | Git: Fix crash when fetch is done while context menu is active | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |