================================================================= ==11396==ERROR: AddressSanitizer: heap-use-after-free on address 0x603000c37310 at pc 0x7f9c99196cf5 bp 0x7ffe658eeb70 sp 0x7ffe658eeb68 READ of size 1 at 0x603000c37310 thread T0 #0 0x7f9c99196cf4 in ProjectExplorer::ProjectImporter::setIsUpdating(bool) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectimporter.h:73:20 #1 0x7f9c99192480 in ProjectExplorer::ProjectImporter::removeProject(ProjectExplorer::Kit*, QString const&) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectimporter.cpp:128:5 #2 0x7f9c991916e7 in ProjectExplorer::ProjectImporter::~ProjectImporter() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectimporter.cpp:54:9 #3 0x7f9c86db9bc9 in QmakeProjectManager::Internal::QmakeProjectImporter::~QmakeProjectImporter() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/qmakeprojectmanager/qmakeprojectimporter.h:47:7 #4 0x7f9c86db9d53 in QmakeProjectManager::Internal::QmakeProjectImporter::~QmakeProjectImporter() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/qmakeprojectmanager/qmakeprojectimporter.h:47:7 #5 0x7f9c994a594a in ProjectExplorer::Internal::TargetSettingsPanelWidget::~TargetSettingsPanelWidget() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/targetsettingspanel.cpp:121:5 #6 0x7f9c994a5c83 in ProjectExplorer::Internal::TargetSettingsPanelWidget::~TargetSettingsPanelWidget() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/targetsettingspanel.cpp:120:1 #7 0x7f9c991c282c in void qDeleteAll(QWidget* const*, QWidget* const*) /home/nik/usr/qt-5.4.0-install/5.4/gcc_64/include/QtCore/qalgorithms.h:315:9 #8 0x7f9c991b1f8a in void qDeleteAll >(QVector const&) /home/nik/usr/qt-5.4.0-install/5.4/gcc_64/include/QtCore/qalgorithms.h:323:5 #9 0x7f9c991a2a46 in ProjectExplorer::Internal::WidgetCache::deregisterProject(ProjectExplorer::Project*) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:259:5 #10 0x7f9c9919ab71 in ProjectExplorer::Internal::WidgetCache::clear() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:389:9 #11 0x7f9c9919a930 in ProjectExplorer::Internal::ProjectWindow::aboutToShutdown() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:101:5 #12 0x7f9c98f70063 in ProjectExplorer::ProjectExplorerPlugin::aboutToShutdown() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectexplorer.cpp:1513:5 #13 0x7f9cb8b96b41 in ExtensionSystem::Internal::PluginSpecPrivate::stop() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/libs/extensionsystem/pluginspec.cpp:1041:12 #14 0x7f9cb8ae9fb8 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/libs/extensionsystem/pluginmanager.cpp:1399:13 #15 0x7f9cb8ae81cc in ExtensionSystem::Internal::PluginManagerPrivate::stopAll() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/libs/extensionsystem/pluginmanager.cpp:918:9 #16 0x7f9cb8ad0ddb in ExtensionSystem::Internal::PluginManagerPrivate::shutdown() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/libs/extensionsystem/pluginmanager.cpp:1247:5 #17 0x7f9cb8ad0b06 in ExtensionSystem::PluginManager::shutdown() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/libs/extensionsystem/pluginmanager.cpp:440:5 #18 0x7f9cb8c0d230 in ExtensionSystem::PluginManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/nik/dev/creator/creator-com-3.5_clang_asan/qtcreator/src/libs/extensionsystem/.moc/debug-shared/moc_pluginmanager.cpp:99:17 #19 0x7f9cb6221e79 in QMetaObject::activate(QObject*, int, int, void**) (/home/nik/usr/qt-5.4.0-install/5.4/gcc_64/lib/libQt5Core.so.5+0x308e79) #20 0x7f9cb61f2e20 in QCoreApplication::exec() (/home/nik/usr/qt-5.4.0-install/5.4/gcc_64/lib/libQt5Core.so.5+0x2d9e20) #21 0x51a524 in main /home/nik/dev/creator/creator-com-3.5/qtcreator/src/app/main.cpp:521:12 #22 0x7f9cb49f7ec4 in __libc_start_main /build/buildd/eglibc-2.19/csu/libc-start.c:287 #23 0x441e76 in _start (/home/nik/dev/creator/creator-com-3.5_clang_asan/qtcreator/bin/qtcreator+0x441e76) 0x603000c37310 is located 16 bytes inside of 24-byte region [0x603000c37300,0x603000c37318) freed by thread T0 here: #0 0x4e8872 in operator delete(void*) (/home/nik/dev/creator/creator-com-3.5_clang_asan/qtcreator/bin/qtcreator+0x4e8872) #1 0x7f9c99192730 in ProjectExplorer::ProjectImporter::~ProjectImporter() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectimporter.cpp:52:1 #2 0x7f9c994a594a in ProjectExplorer::Internal::TargetSettingsPanelWidget::~TargetSettingsPanelWidget() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/targetsettingspanel.cpp:121:5 #3 0x7f9c994a5c83 in ProjectExplorer::Internal::TargetSettingsPanelWidget::~TargetSettingsPanelWidget() /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/targetsettingspanel.cpp:120:1 #4 0x7f9c9919cd76 in ProjectExplorer::Internal::WidgetCache::recheckFactories(ProjectExplorer::Project*, int) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:367:13 #5 0x7f9c9919b550 in ProjectExplorer::Internal::ProjectWindow::projectUpdated(ProjectExplorer::Project*) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:122:23 #6 0x7f9c9919aef1 in ProjectExplorer::Internal::ProjectWindow::removedTarget(ProjectExplorer::Target*) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:111:9 #7 0x7f9c99e90ea6 in ProjectExplorer::Internal::ProjectWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/nik/dev/creator/creator-com-3.5_clang_asan/qtcreator/src/plugins/projectexplorer/.moc/debug-shared/moc_projectwindow.cpp:105:17 #8 0x7f9cb6221e79 in QMetaObject::activate(QObject*, int, int, void**) (/home/nik/usr/qt-5.4.0-install/5.4/gcc_64/lib/libQt5Core.so.5+0x308e79) previously allocated by thread T0 here: #0 0x4e82b2 in operator new(unsigned long) (/home/nik/dev/creator/creator-com-3.5_clang_asan/qtcreator/bin/qtcreator+0x4e82b2) #1 0x7f9c86e5d066 in QmakeProjectManager::QmakeProject::createProjectImporter() const /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/qmakeprojectmanager/qmakeproject.cpp:1601:12 #2 0x7f9c994a2449 in ProjectExplorer::Internal::TargetSettingsPanelWidget::TargetSettingsPanelWidget(ProjectExplorer::Project*) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/targetsettingspanel.cpp:82:16 #3 0x7f9c98fb47a5 in ProjectExplorer::ProjectExplorerPlugin::initialize(QStringList const&, QString*)::$_3::operator()(ProjectExplorer::Project*) const /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectexplorer.cpp:618:16 #4 0x7f9c98fb3592 in std::_Function_handler::_M_invoke(std::_Any_data const&, ProjectExplorer::Project*) /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/functional:2056:11 #5 0x7f9c99dbf016 in std::function::operator()(ProjectExplorer::Project*) const /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/functional:2471:14 #6 0x7f9c99dbaa74 in ProjectExplorer::ProjectPanelFactory::createWidget(ProjectExplorer::Project*) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectpanelfactory.cpp:95:12 #7 0x7f9c9919ef64 in ProjectExplorer::Internal::WidgetCache::widgetFor(ProjectExplorer::Project*, int) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:309:56 #8 0x7f9c99199de4 in ProjectExplorer::Internal::ProjectWindow::showProperties(int, int) /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectwindow.cpp:210:23 #9 0x7f9c99e90973 in ProjectExplorer::Internal::ProjectWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/nik/dev/creator/creator-com-3.5_clang_asan/qtcreator/src/plugins/projectexplorer/.moc/debug-shared/moc_projectwindow.cpp:100:17 #10 0x7f9cb6221e79 in QMetaObject::activate(QObject*, int, int, void**) (/home/nik/usr/qt-5.4.0-install/5.4/gcc_64/lib/libQt5Core.so.5+0x308e79) SUMMARY: AddressSanitizer: heap-use-after-free /home/nik/dev/creator/creator-com-3.5/qtcreator/src/plugins/projectexplorer/projectimporter.h:73 ProjectExplorer::ProjectImporter::setIsUpdating(bool) Shadow bytes around the buggy address: 0x0c068017ee10: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 0x0c068017ee20: 00 07 fa fa 00 00 00 07 fa fa 00 00 00 00 fa fa 0x0c068017ee30: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 0x0c068017ee40: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 0x0c068017ee50: 00 00 fa fa fd fd fd fa fa fa fa fa fa fa fa fa =>0x0c068017ee60: fd fd[fd]fa fa fa fd fd fd fa fa fa fa fa fa fa 0x0c068017ee70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fd fd 0x0c068017ee80: fd fa fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 0x0c068017ee90: fa fa fa fa fa fa 00 00 00 00 fa fa fa fa fa fa 0x0c068017eea0: fa fa 00 00 00 00 fa fa fa fa fa fa fa fa 00 00 0x0c068017eeb0: 00 06 fa fa 00 00 00 00 fa fa fa fa fa fa fa fa 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 Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 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 ==11396==ABORTING