- 
    Bug 
- 
    Resolution: Fixed
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    Qt Creator 14.0.0
- 
    None
- 
        
- 
        da35026af (master), f47084686 (master)
I had a CMake project with a CMake preset kit.
Then in Settings I deleted the only active Kit, and watched Qt Creator die when hitting the "OK" button:
=================================================================
==62834==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x000178dc4860 at pc 0x00012c7cdf90 bp 0x00016d568990 sp 0x00016d568988
READ of size 8 at 0x000178dc4860 thread T0
    #0 0x12c7cdf8c in Utils::Id::operator==(Utils::Id) const id.h:39
    #1 0x12e5540b8 in ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2::operator()(ProjectExplorer::Internal::TargetItem*) const targetsettingspanel.cpp:788
    #2 0x12e553f34 in ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*)::operator()(Utils::TreeItem*) const treemodel.h:126
    #3 0x12e553f04 in decltype(std::declval<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>()(std::declval<Utils::TreeItem*>())) std::__1::__invoke[abi:v160006]<ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*)&, Utils::TreeItem*>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2&&, Utils::TreeItem*&&) invoke.h:394
    #4 0x12e553e68 in bool std::__1::__invoke_void_return_wrapper<bool, false>::__call<ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*)&, Utils::TreeItem*>(ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*)&, Utils::TreeItem*&&) invoke.h:478
    #5 0x12e553e38 in std::__1::__function::__alloc_func<ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*), std::__1::allocator<ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*)>, bool (Utils::TreeItem*)>::operator()[abi:v160006](Utils::TreeItem*&&) function.h:185
    #6 0x12e54fd28 in std::__1::__function::__func<ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*), std::__1::allocator<ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const::'lambda'(Utils::TreeItem*)>, bool (Utils::TreeItem*)>::operator()(Utils::TreeItem*&&) function.h:356
    #7 0x107af4c28 in std::__1::__function::__value_func<bool (Utils::TreeItem*)>::operator()[abi:v160006](Utils::TreeItem*&&) const function.h:510
    #8 0x107add034 in std::__1::function<bool (Utils::TreeItem*)>::operator()(Utils::TreeItem*) const function.h:1156
    #9 0x107adda10 in Utils::TreeItem::findChildAtLevel(int, std::__1::function<bool (Utils::TreeItem*)> const&) const treemodel.cpp:841
    #10 0x12e534428 in ProjectExplorer::Internal::TargetItem* Utils::TypedTreeItem<ProjectExplorer::Internal::TargetItem, Utils::TreeItem>::findFirstLevelChild<ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2>(ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const::$_2) const treemodel.h:127
    #11 0x12e534114 in ProjectExplorer::Internal::TargetGroupItem::targetItem(ProjectExplorer::Target*) const targetsettingspanel.cpp:788
    #12 0x12e52ff18 in ProjectExplorer::Internal::TargetGroupItemPrivate::handleTargetRemoved(ProjectExplorer::Target*) targetsettingspanel.cpp:865
    #13 0x12e54cce0 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<ProjectExplorer::Target*>, void, void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*)>::call(void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*), ProjectExplorer::Internal::TargetGroupItemPrivate*, void**) qobjectdefs_impl.h:145
    #14 0x12e54c940 in void QtPrivate::FunctionPointer<void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*)>::call<QtPrivate::List<ProjectExplorer::Target*>, void>(void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*), ProjectExplorer::Internal::TargetGroupItemPrivate*, void**) qobjectdefs_impl.h:182
    #15 0x12e54c508 in QtPrivate::QCallableObject<void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*), QtPrivate::List<ProjectExplorer::Target*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #16 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #17 0x12c795ca8 in ProjectExplorer::Project::removedTarget(ProjectExplorer::Target*) moc_project.cpp:409
    #18 0x12dbece60 in ProjectExplorer::Project::removeTarget(ProjectExplorer::Target*) project.cpp:322
    #19 0x12e4dc704 in ProjectExplorer::Target::handleKitRemoval(ProjectExplorer::Kit*) target.cpp:176
    #20 0x12e4fe0b8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<ProjectExplorer::Kit*>, void, void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*)>::call(void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*), ProjectExplorer::Target*, void**) qobjectdefs_impl.h:145
    #21 0x12e4fdd18 in void QtPrivate::FunctionPointer<void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*)>::call<QtPrivate::List<ProjectExplorer::Kit*>, void>(void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*), ProjectExplorer::Target*, void**) qobjectdefs_impl.h:182
    #22 0x12e4fd8e0 in QtPrivate::QCallableObject<void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*), QtPrivate::List<ProjectExplorer::Kit*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #23 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #24 0x12c79046c in ProjectExplorer::KitManager::kitRemoved(ProjectExplorer::Kit*) moc_kitmanager.cpp:329
    #25 0x12d8aac20 in ProjectExplorer::KitManager::deregisterKits(QList<ProjectExplorer::Kit*>) kitmanager.cpp:676
    #26 0x12d8aa2a4 in ProjectExplorer::KitManager::deregisterKit(ProjectExplorer::Kit*) kitmanager.cpp:653
    #27 0x12d986e10 in ProjectExplorer::Internal::KitModel::apply() kitoptionspage.cpp:313
    #28 0x12d99427c in ProjectExplorer::Internal::KitOptionsPageWidget::apply() kitoptionspage.cpp:480
    #29 0x1225ef1a8 in Core::IOptionsPage::apply() ioptionspage.cpp:257
    #30 0x1226f00b0 in Core::Internal::SettingsDialog::accept() settingsdialog.cpp:737
    #31 0x122742420 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::Internal::SettingsDialog::*)()>::call(void (Core::Internal::SettingsDialog::*)(), Core::Internal::SettingsDialog*, void**) qobjectdefs_impl.h:145
    #32 0x122742100 in void QtPrivate::FunctionPointer<void (Core::Internal::SettingsDialog::*)()>::call<QtPrivate::List<>, void>(void (Core::Internal::SettingsDialog::*)(), Core::Internal::SettingsDialog*, void**) qobjectdefs_impl.h:182
    #33 0x122741cc8 in QtPrivate::QCallableObject<void (Core::Internal::SettingsDialog::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #34 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #35 0x104526c74 in QDialogButtonBoxPrivate::handleButtonClicked() qdialogbuttonbox.cpp
    #36 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #37 0x10447292c in QAbstractButtonPrivate::emitClicked() qabstractbutton.cpp:381
    #38 0x1044727ac in QAbstractButtonPrivate::click() qabstractbutton.cpp:374
    #39 0x1044736ac in QAbstractButton::mouseReleaseEvent(QMouseEvent*) qabstractbutton.cpp:976
    #40 0x1043c06f8 in QWidget::event(QEvent*) qwidget.cpp
    #41 0x104523cf0 in QPushButton::event(QEvent*) qpushbutton.cpp:684
    #42 0x104374e88 in QApplicationPrivate::notify_helper(QObject*, QEvent*) qapplication.cpp:3287
    #43 0x104376ec8 in QApplication::notify(QObject*, QEvent*) qapplication.cpp:2765
    #44 0x10552c050 in QCoreApplication::notifyInternal2(QObject*, QEvent*) qcoreapplication.cpp:1134
    #45 0x104375428 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) qapplication.cpp:2347
    #46 0x1043d620c in QWidgetWindow::handleMouseEvent(QMouseEvent*) qwidgetwindow.cpp:649
    #47 0x1043d5418 in QWidgetWindow::event(QEvent*) qwidgetwindow.cpp:263
    #48 0x104374e88 in QApplicationPrivate::notify_helper(QObject*, QEvent*) qapplication.cpp:3287
    #49 0x104375cdc in QApplication::notify(QObject*, QEvent*) qapplication.cpp:3238
    #50 0x10552c050 in QCoreApplication::notifyInternal2(QObject*, QEvent*) qcoreapplication.cpp:1134
    #51 0x1037ef890 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) qguiapplication.cpp:2327
    #52 0x10384c5c0 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) qwindowsysteminterface.cpp:1114
    #53 0x102ca1ba4 in QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) qcocoaeventdispatcher.mm:487
    #54 0x1226f1bd0 in Core::Internal::SettingsDialog::execDialog() settingsdialog.cpp:802
    #55 0x1226f255c in Core::Internal::executeSettingsDialog(QWidget*, Utils::Id) settingsdialog.cpp:824
    #56 0x122ee878c in Core::ICore::showOptionsDialog(Utils::Id, QWidget*) icore.cpp:474
    #57 0x122f80dc4 in Core::Internal::ICorePrivate::registerDefaultActions()::$_18::operator()() const icore.cpp:1937
    #58 0x122f80b7c in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Core::Internal::ICorePrivate::registerDefaultActions()::$_18>::call(Core::Internal::ICorePrivate::registerDefaultActions()::$_18&, void**) qobjectdefs_impl.h:137
    #59 0x122f80a0c in void QtPrivate::FunctorCallable<Core::Internal::ICorePrivate::registerDefaultActions()::$_18>::call<QtPrivate::List<>, void>(Core::Internal::ICorePrivate::registerDefaultActions()::$_18&, void*, void**) qobjectdefs_impl.h:345
    #60 0x122f8097c in QtPrivate::QCallableObject<Core::Internal::ICorePrivate::registerDefaultActions()::$_18, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:555
    #61 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #62 0x103b0f3f4 in QAction::triggered(bool) moc_qaction.cpp:480
    #63 0x10782ebd0 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<bool>, void, void (QAction::*)(bool)>::call(void (QAction::*)(bool), QAction*, void**) qobjectdefs_impl.h:145
    #64 0x10782e808 in void QtPrivate::FunctionPointer<void (QAction::*)(bool)>::call<QtPrivate::List<bool>, void>(void (QAction::*)(bool), QAction*, void**) qobjectdefs_impl.h:182
    #65 0x10782e3d0 in QtPrivate::QCallableObject<void (QAction::*)(bool), QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #66 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #67 0x103b0f27c in QAction::activate(QAction::ActionEvent) qaction.cpp
    #68 0x10556fc78 in QObject::event(QEvent*) qobject.cpp:1452
    #69 0x104374e88 in QApplicationPrivate::notify_helper(QObject*, QEvent*) qapplication.cpp:3287
    #70 0x104375cdc in QApplication::notify(QObject*, QEvent*) qapplication.cpp:3238
    #71 0x10552c050 in QCoreApplication::notifyInternal2(QObject*, QEvent*) qcoreapplication.cpp:1134
    #72 0x10552d338 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) qcoreapplication.cpp:1932
    #73 0x102ca33c8 in QCocoaEventDispatcherPrivate::processPostedEvents() qcocoaeventdispatcher.mm:900
    #74 0x102ca4480 in QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) qcocoaeventdispatcher.mm:922
    #75 0x1996c24d4 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__+0x18 (CoreFoundation:arm64e+0x7e4d4)
    #76 0x1996c2468 in __CFRunLoopDoSource0+0xac (CoreFoundation:arm64e+0x7e468)
    #77 0x1996c2238 in __CFRunLoopDoSources0+0x150 (CoreFoundation:arm64e+0x7e238)
    #78 0x1996c0dc4 in __CFRunLoopRun+0x338 (CoreFoundation:arm64e+0x7cdc4)
    #79 0x1996c0430 in CFRunLoopRunSpecific+0x25c (CoreFoundation:arm64e+0x7c430)
    #80 0x1a3e64198 in RunCurrentEventLoopInMode+0x120 (HIToolbox:arm64e+0x33198)
    #81 0x1a3e63fd4 in ReceiveNextEventCommon+0x284 (HIToolbox:arm64e+0x32fd4)
    #82 0x1a3e63d2c in _BlockUntilNextEventMatchingListInModeWithFilter+0x48 (HIToolbox:arm64e+0x32d2c)
    #83 0x19cf1fd64 in _DPSNextEvent+0x290 (AppKit:arm64e+0x39d64)
    #84 0x19d715804 in -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+0x2b8 (AppKit:arm64e+0x82f804)
    #85 0x19cf13098 in -[NSApplication run]+0x1d8 (AppKit:arm64e+0x2d098)
    #86 0x102ca2014 in QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) qcocoaeventdispatcher.mm:406
    #87 0x105535bac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) qeventloop.cpp:182
    #88 0x10552c6a4 in QCoreApplication::exec() qcoreapplication.cpp:1478
    #89 0x1028a7110 in main main.cpp:882
    #90 0x19925a0dc  (<unknown module>)
0x000178dc4860 is located 8 bytes after 56-byte region [0x000178dc4820,0x000178dc4858)
allocated by thread T0 here:
    #0 0x1049950ec in wrap__Znwm+0x74 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x610ec)
    #1 0x12e535214 in ProjectExplorer::Internal::TargetGroupItemPrivate::ensureShowMoreItem() targetsettingspanel.cpp:827
    #2 0x12e5303c8 in ProjectExplorer::Internal::TargetGroupItemPrivate::handleTargetChanged(ProjectExplorer::Target*) targetsettingspanel.cpp:876
    #3 0x12e54cce0 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<ProjectExplorer::Target*>, void, void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*)>::call(void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*), ProjectExplorer::Internal::TargetGroupItemPrivate*, void**) qobjectdefs_impl.h:145
    #4 0x12e54c940 in void QtPrivate::FunctionPointer<void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*)>::call<QtPrivate::List<ProjectExplorer::Target*>, void>(void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*), ProjectExplorer::Internal::TargetGroupItemPrivate*, void**) qobjectdefs_impl.h:182
    #5 0x12e54c508 in QtPrivate::QCallableObject<void (ProjectExplorer::Internal::TargetGroupItemPrivate::*)(ProjectExplorer::Target*), QtPrivate::List<ProjectExplorer::Target*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #6 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #7 0x12c795720 in ProjectExplorer::Project::activeTargetChanged(ProjectExplorer::Target*) moc_project.cpp:395
    #8 0x12dbed6ac in ProjectExplorer::Project::setActiveTargetHelper(ProjectExplorer::Target*) project.cpp:346
    #9 0x12dbebdf8 in ProjectExplorer::Project::setActiveTarget(ProjectExplorer::Target*, ProjectExplorer::SetActive) project.cpp:430
    #10 0x12dbece3c in ProjectExplorer::Project::removeTarget(ProjectExplorer::Target*) project.cpp:320
    #11 0x12e4dc704 in ProjectExplorer::Target::handleKitRemoval(ProjectExplorer::Kit*) target.cpp:176
    #12 0x12e4fe0b8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<ProjectExplorer::Kit*>, void, void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*)>::call(void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*), ProjectExplorer::Target*, void**) qobjectdefs_impl.h:145
    #13 0x12e4fdd18 in void QtPrivate::FunctionPointer<void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*)>::call<QtPrivate::List<ProjectExplorer::Kit*>, void>(void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*), ProjectExplorer::Target*, void**) qobjectdefs_impl.h:182
    #14 0x12e4fd8e0 in QtPrivate::QCallableObject<void (ProjectExplorer::Target::*)(ProjectExplorer::Kit*), QtPrivate::List<ProjectExplorer::Kit*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #15 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #16 0x12c79046c in ProjectExplorer::KitManager::kitRemoved(ProjectExplorer::Kit*) moc_kitmanager.cpp:329
    #17 0x12d8aac20 in ProjectExplorer::KitManager::deregisterKits(QList<ProjectExplorer::Kit*>) kitmanager.cpp:676
    #18 0x12d8aa2a4 in ProjectExplorer::KitManager::deregisterKit(ProjectExplorer::Kit*) kitmanager.cpp:653
    #19 0x12d986e10 in ProjectExplorer::Internal::KitModel::apply() kitoptionspage.cpp:313
    #20 0x12d99427c in ProjectExplorer::Internal::KitOptionsPageWidget::apply() kitoptionspage.cpp:480
    #21 0x1225ef1a8 in Core::IOptionsPage::apply() ioptionspage.cpp:257
    #22 0x1226f00b0 in Core::Internal::SettingsDialog::accept() settingsdialog.cpp:737
    #23 0x122742420 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::Internal::SettingsDialog::*)()>::call(void (Core::Internal::SettingsDialog::*)(), Core::Internal::SettingsDialog*, void**) qobjectdefs_impl.h:145
    #24 0x122742100 in void QtPrivate::FunctionPointer<void (Core::Internal::SettingsDialog::*)()>::call<QtPrivate::List<>, void>(void (Core::Internal::SettingsDialog::*)(), Core::Internal::SettingsDialog*, void**) qobjectdefs_impl.h:182
    #25 0x122741cc8 in QtPrivate::QCallableObject<void (Core::Internal::SettingsDialog::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) qobjectdefs_impl.h:553
    #26 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #27 0x104526c74 in QDialogButtonBoxPrivate::handleButtonClicked() qdialogbuttonbox.cpp
    #28 0x105577620 in void doActivate<false>(QObject*, int, void**) qobject.cpp:4086
    #29 0x10447292c in QAbstractButtonPrivate::emitClicked() qabstractbutton.cpp:381
SUMMARY: AddressSanitizer: heap-buffer-overflow id.h:39 in Utils::Id::operator==(Utils::Id) const
Shadow bytes around the buggy address:
  0x000178dc4580: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
  0x000178dc4600: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd
  0x000178dc4680: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa
  0x000178dc4700: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
  0x000178dc4780: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd
=>0x000178dc4800: fa fa fa fa 00 00 00 00 00 00 00 fa[fa]fa fa fa
  0x000178dc4880: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
  0x000178dc4900: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd
  0x000178dc4980: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa
  0x000178dc4a00: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
  0x000178dc4a80: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==62834==ABORTING
- mentioned in
- 
                    Page Loading... 
| For Gerrit Dashboard: QTCREATORBUG-31074 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 581084,2 | Utils: Verify types of TypedTreeItem in debug mode | master | qt-creator/qt-creator | Status: MERGED | +2 | -1 | 
| 593474,4 | ProjectExplorer: Fix undefined behavior regarding ShowMoreItem | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |