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

Assignment operators crashes

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      With MSVC 2019 attached example crashes with:

                                                                                                          
                                                                                                          
      1  std::_Atomic_integral<int,4>::operator++                 atomic              1587 0x7ffe47b07279 
      2  QAtomicOps<int>::ref<int>                                qatomic_cxx11.h     281  0x7ffe47b03c74 
      3  QBasicAtomicInteger<int>::ref                            qbasicatomic.h      101  0x7ffe47b0d687 
      4  QArrayData::ref                                          qarraydata.h        88   0x7ffe47b0d6b7 
      5  QArrayDataPointer<char16_t>::ref                         qarraydatapointer.h 325  0x7ffe47b0d652 
      6  QArrayDataPointer<char16_t>::QArrayDataPointer<char16_t> qarraydatapointer.h 72   0x7ffe47b040cd 
      7  QArrayDataPointer<char16_t>::operator=                   qarraydatapointer.h 93   0x7ffe47dea864 
      8  QString::operator=                                       qstring.cpp         2825 0x7ffe47e4d891 
      9  ObjectInHash::operator=                                  qhash                    0x7ff6f12d71b2 
      10 Hash::fillHash                                           main.cpp            53   0x7ff6f12d3439 
      11 Hash::Hash                                               main.cpp            33   0x7ff6f12d6abf 
      12 main                                                     main.cpp            88   0x7ff6f12d5251 
      13 invoke_main                                              exe_common.inl      79   0x7ff6f12dc479 
      14 __scrt_common_main_seh                                   exe_common.inl      288  0x7ff6f12dc35e 
      15 __scrt_common_main                                       exe_common.inl      331  0x7ff6f12dc21e 
      16 mainCRTStartup                                           exe_main.cpp        17   0x7ff6f12dc50e 
      17 BaseThreadInitThunk                                      KERNEL32                 0x7ffea5887034 
      18 RtlUserThreadStart                                       ntdll                    0x7ffea5c62651 
      
      

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            igor.mironchik Igor Mironchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes