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

Crash when removing documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 4.1.0
    • Qt Creator 4.1.0
    • Help System
    • None
    • Windows 10 1607 64 bit

    Description

      1. Have a Qt version with documentation in PATH.
      2. Start Creator with empty settings, e.g. by passing the parameter -settingspath <empty directory>
      3. Go to "Tools" -> "Options..." -> "Help" -> "Documentation".
        Creator lists the documentation files from the Qt version in PATH.
      4. Click on the first file
        This file is selected.
      5. Scroll the list to the end.
      6. Hold Shift and click on the last file.
        All files are selected.
      7. Hold Ctrl and click on a file in the middle.
        This file is being unselect, all other files remain selected.
      8. Click "Remove".
        Creator crashes:
        1   QGenericAtomicOps<QAtomicOpsBySize<4>>::load<int>                                                                       qgenericatomic.h        90   0x5d90ec96 
        2   QBasicAtomicInteger<int>::load                                                                                          qbasicatomic.h          99   0x5d917370 
        3   QtPrivate::RefCount::ref                                                                                                qrefcount.h             55   0x5d917f71 
        4   QString::QString                                                                                                        qstring.h               899  0x5d90fba1 
        5   Help::Internal::DocEntry::DocEntry                                                                                      Helpd4                       0x5a49a6b4 
        6   QVector<Help::Internal::DocEntry>::erase                                                                                qvector.h               751  0x5a49d385 
        7   QVector<Help::Internal::DocEntry>::remove                                                                               qvector.h               450  0x5a49f1be 
        8   QVector<Help::Internal::DocEntry>::removeAt                                                                             qvector.h               161  0x5a49f1e3 
        9   Help::Internal::DocModel::removeAt                                                                                      docsettingspage.cpp     123  0x5a497b73 
        10  Help::Internal::DocSettingsPage::removeDocumentation                                                                    docsettingspage.cpp     299  0x5a497523 
        11  <lambda_2a1a3e900d037abea0d8b23230746166>::operator()                                                                   docsettingspage.cpp     170  0x5a497c04 
        12  QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,<lambda_2a1a3e900d037abea0d8b23230746166>>::call qobjectdefs_impl.h      501  0x5a49bfdc 
        13  QtPrivate::Functor<<lambda_2a1a3e900d037abea0d8b23230746166>,0>::call<QtPrivate::List<>,void>                           qobjectdefs_impl.h      558  0x5a4994d0 
        14  QtPrivate::QFunctorSlotObject<<lambda_2a1a3e900d037abea0d8b23230746166>,0,QtPrivate::List<>,void>::impl                 qobject_impl.h          198  0x5a49d94e 
        15  QtPrivate::QSlotObjectBase::call                                                                                        qobject_impl.h          130  0x5dc3593f 
        16  QMetaObject::activate                                                                                                   qobject.cpp             3728 0x5dc28345 
        17  QMetaObject::activate                                                                                                   qobject.cpp             3602 0x5dc27e51 
        18  QAbstractButton::clicked                                                                                                moc_qabstractbutton.cpp 310  0x5ee0ec3b 
        19  QAbstractButtonPrivate::emitClicked                                                                                     qabstractbutton.cpp     413  0x5ee104c7 
        20  QAbstractButtonPrivate::click                                                                                           qabstractbutton.cpp     405  0x5ee0fa6b 
        ... <Mehr>                                                                                                            

      Attachments

        1. backtrace.txt
          32 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes