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

Crash after deleting a build configuration

    XMLWordPrintable

Details

    Description

      • Create a new project with 3 configurations - Debug, Profile and Release
      • Delete Debug:
        • The active configuration becomes Release (on 4.4 the chosen configuration in this case is Profile, which is the following one)
        • The mini target selector still shows all 3 configurations
      • Change from Release to Profile - Kaboom!

      This happens with both qmake and qbs.

      Trace (with CDB):

      00000000`00198bf0 00000000`77740108 kernel32!UnhandledExceptionFilter+0x160
      00000000`00198cd0 00000000`776d7958 ntdll!EtwEventSetInformation+0x1e08
      00000000`00198d00 00000000`776e812d ntdll!_C_specific_handler+0x9c
      00000000`00198d70 00000000`776d855f ntdll!RtlDecodePointer+0xad
      00000000`00198da0 00000000`7770bcb8 ntdll!RtlUnwindEx+0xbbf
      00000000`00199480 00000000`684485a5 ntdll!KiUserExceptionDispatcher+0x2e
      00000000`00199b80 000007fe`be640da1 Qt5Core!QMetaObject::cast+0x25
      (Inline Function) --------`-------- ProjectExplorer4!qobject_cast+0xd
      (Inline Function) --------`-------- ProjectExplorer4!QtPrivate::QVariantValueHelper<ProjectExplorer::ProjectConfiguration *>::object+0x6b
      (Inline Function) --------`-------- ProjectExplorer4!QtPrivate::ObjectInvoker<QtPrivate::QVariantValueHelper<ProjectExplorer::ProjectConfiguration *>,QVariant const &,ProjectExplorer::ProjectConfiguration *>::invoke+0x6b
      (Inline Function) --------`-------- ProjectExplorer4!qvariant_cast+0x6b
      (Inline Function) --------`-------- ProjectExplorer4!QVariant::value+0x6b
      00000000`00199bb0 000007fe`be63d4a6 ProjectExplorer4!ProjectExplorer::Internal::GenericListWidget::itemForProjectConfiguration(class ProjectExplorer::ProjectConfiguration * pc = 0x00000000`0ac13290*** WARNING: Unable to verify checksum for F:\Projects\qt-creator\qtc-master\lib\qtcreator\plugins\QbsProjectManager4.dll
      )+0xc1 [f:\projects\qt-creator\qt-creator\src\plugins\projectexplorer\miniprojecttargetselector.cpp @ 550]
      (Inline Function) --------`-------- ProjectExplorer4!ProjectExplorer::Internal::GenericListWidget::setActiveProjectConfiguration+0xf
      00000000`00199c20 00000000`68463281 ProjectExplorer4!ProjectExplorer::Internal::MiniProjectTargetSelector::activeBuildConfigurationChanged(class ProjectExplorer::BuildConfiguration * bc = 0x00000000`0ac13290)+0x106 [f:\projects\qt-creator\qt-creator\src\plugins\projectexplorer\miniprojecttargetselector.cpp @ 1342]
      00000000`00199c80 000007fe`be6c58d4 Qt5Core!QMetaObject::activate+0x4a1
      00000000`00199da0 000007fe`be5c18eb ProjectExplorer4!ProjectExplorer::Target::activeBuildConfigurationChanged(class ProjectExplorer::BuildConfiguration * _t1 = 0x00000000`0ac13290)+0x34 [f:\projects\qt-creator\build-qtc\src\plugins\projectexplorer\release\moc_target.cpp @ 473]
      00000000`00199de0 000007fe`be5e2aea ProjectExplorer4!ProjectExplorer::Target::setActiveBuildConfiguration(class ProjectExplorer::BuildConfiguration * bc = 0x00000000`0ac13290)+0xbb [f:\projects\qt-creator\qt-creator\src\plugins\projectexplorer\target.cpp @ 266]
      00000000`00199e10 00000000`68463281 ProjectExplorer4!ProjectExplorer::SessionManager::setActiveBuildConfiguration(class ProjectExplorer::Target * target = 0x00000000`0ad608a0, class ProjectExplorer::BuildConfiguration * bc = 0x00000000`0ac13290, ProjectExplorer::SetActive cascade = Cascade (0n0))+0x3a [f:\projects\qt-creator\qt-creator\src\plugins\projectexplorer\session.cpp @ 314]
      00000000`00199ec0 00000000`68912426 Qt5Core!QMetaObject::activate+0x4a1
      00000000`00199fe0 00000000`68918e23 Qt5Widgets!QComboBox::~QComboBox+0x926
      00000000`0019a050 00000000`689125c7 Qt5Widgets!QComboBox::setCurrentIndex+0x273
      00000000`0019a0d0 00000000`68463357 Qt5Widgets!QComboBox::~QComboBox+0xac7
      00000000`0019a160 00000000`68914119 Qt5Core!QMetaObject::activate+0x577
      00000000`0019a280 00000000`6844658d Qt5Widgets!QComboBox::event+0x1d9
      00000000`0019a310 00000000`68828c2c Qt5Core!QCoreApplicationPrivate::sendThroughObjectEventFilters+0xdd
      00000000`0019a370 00000000`688268ba Qt5Widgets!QApplicationPrivate::notify_helper+0x12c
      00000000`0019a3a0 00000000`68444439 Qt5Widgets!QApplication::notify+0x80a
      00000000`0019aac0 00000000`68829f86 Qt5Core!QCoreApplication::notifyInternal2+0xb9
      00000000`0019ab40 00000000`68874cba Qt5Widgets!QApplicationPrivate::sendMouseEvent+0x326
      00000000`0019ac40 00000000`68873105 Qt5Widgets!QSizePolicy::QSizePolicy+0x261a
      00000000`0019afe0 00000000`68828c40 Qt5Widgets!QSizePolicy::QSizePolicy+0xa65
      00000000`0019b040 00000000`68827b27 Qt5Widgets!QApplicationPrivate::notify_helper+0x140
      00000000`0019b070 00000000`68444439 Qt5Widgets!QApplication::notify+0x1a77
      00000000`0019b790 000007fe`bdead3d8 Qt5Core!QCoreApplication::notifyInternal2+0xb9
      00000000`0019b810 000007fe`bde92d3b Qt5Gui!QGuiApplicationPrivate::processMouseEvent+0x808
      00000000`0019bcb0 00000000`6848cb06 Qt5Gui!QWindowSystemInterface::sendWindowSystemEvents+0x9b
      00000000`0019bce0 00000000`774b9bbd Qt5Core!QEventDispatcherWin32::processEvents+0xe86
      00000000`0019be10 00000000`774b98c2 USER32!TranslateMessageEx+0x29d
      00000000`0019bed0 00000000`6848c1b6 USER32!TranslateMessage+0x1e2
      00000000`0019bf50 000007fe`d9f5f999 Qt5Core!QEventDispatcherWin32::processEvents+0x536
      00000000`0019f320 00000000`684405c3 qwindows!qt_plugin_query_metadata+0x1869
      00000000`0019f350 00000000`68443164 Qt5Core!QEventLoop::exec+0x1b3
      00000000`0019f3d0 00000001`3fad8a9f Qt5Core!QCoreApplication::exec+0x144
      00000000`0019f440 00000001`3fadd654 qtcreator!main(int argc = 0n1, char ** argv = <Value unavailable error>)+0x253f [f:\projects\qt-creator\qt-creator\src\app\main.cpp @ 535]
      00000000`0019fc30 00000001`3fadcaf7 qtcreator!WinMain+0x154
      (Inline Function) --------`-------- qtcreator!invoke_main+0x21
      00000000`0019fcc0 00000000`775b59cd qtcreator!__scrt_common_main_seh(void)+0x117 [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 253]
      00000000`0019fd00 00000000`776ea561 kernel32!BaseThreadInitThunk+0xd
      00000000`0019fd30 00000000`00000000 ntdll!RtlUserThreadStart+0x21

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes