Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109230

Crash in QFuture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.2.8, 6.4.3, 6.5.0, 6.6.0
    • 6.3.2
    • Core: Threads
    • None
    • macOS, Windows
    • a8261e327 (dev), 3acc8fa9d (6.5), b506bff7d (6.4), aa5e64c1c (tqtc/lts-6.2)

    Description

      Simple example from documentation crashes application

      Documentation link:
      https://doc.qt.io/qt-6/qpromise.html#:~:text=Here%20is%20an%20example%20of%20how%20a%20promise%20can%20be%20used%20in%20multiple%20threads%3A

       

      1 QtPrivate::ResultItem::isVector() const                         qresultstore.h     69  0x100004cd8 
      2 int const * QtPrivate::ResultIteratorBase::pointer<int>() const qresultstore.h     118 0x10000e248 
      3 int * QtPrivate::ResultIteratorBase::pointer<int>()             qresultstore.h     111 0x10000e200 
      4 int& QtPrivate::ResultIteratorBase::value<int>()                qresultstore.h     105 0x10000e1d8 
      5 QFutureInterface<int>::resultReference(int) const               qfutureinterface.h 407 0x10000e184 
      6 int QFuture<int>::resultAt<int, void>(int) const                qfuture.h          342 0x1000048fc 
      7 main                                                            main.cpp           36  0x100004514 
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            evgenpervenenko Evgen Pervenenko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes