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

Access violation when exiting while a project is being loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.12.0-rc1
    • Qt Creator 4.12.0-beta2, Qt Creator 4.12.0-rc1
    • None
    • Windows 8.1 x86_64
      qt-creator at commit faad83d5a37448b472af2efa76b7193c83f2c1f1 (4.12 branch) and qt-creator 4.12-beta2 binaries
      Qt 5.13.2 msvc2017_64 (release binaries)
    • Windows

    Description

      When opening a sufficiently large CMake project so the loading is not instantaneous, and closing QtCreator while it is loading it (CMake has not finished its configure and generate steps), it crashes at exit in ProjectExplorer4!ProjectExplorer::TreeScanner::release.

      Sadly the crash is not systematic.

      FAULTING_SOURCE_LINE: D:\Qt\5.13.2\msvc2017_64\include\QtCore\qlist.h
      FAULTING_SOURCE_FILE: D:\Qt\5.13.2\msvc2017_64\include\QtCore\qlist.h
      FAULTING_SOURCE_LINE_NUMBER: 826
      FAULTING_SOURCE_CODE:
        824: template <typename T>
        825: Q_OUTOFLINE_TEMPLATE QList<T>::QList(const QList<T> &l)
      > 826: : QListSpecialMethods<T>(l), d(l.d)
        827: {
        828: if (!d->ref.ref()) {
        829: p.detach(d->alloc);
        830:
        831: QT_TRY {

      If a just in time debugger is configured, it will be opened.

       

      I've attached details about the crash in qt-creator-faad83d5a37448b472af2efa76b7193c83f2c1f1-msvc2019-x86_64-windows-qt-5.13.2-msvc2017_64.txt (like all threads stacktrace dump).

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            amurzeau Alexis Murzeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes