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

Qt Designer + ASAN: global-buffer-overflow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P4: Low
    • None
    • 6.5.2
    • None
    • Windows

    Description

      So I build Qt Designer via vcpkg with ASAN flags (MSVC) for everything and on startup of Qt Designer in a Debugger I get:

      ==7728==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7ff922fcd580 at pc 0x7ff922b47485 bp 0x0031e06fcf00 sp 0x0031e06fcf00
      READ of size 8 at 0x7ff922fcd580 thread T0
          #0 0x7ff922b47484 in QMetaType::convert(class QMetaType, void const *, class QMetaType, void *) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-74ef62b459.clean\src\corelib\kernel\qmetatype.cpp:2355
          #1 0x7ff922d82a30 in qvariant_cast<unsigned long>(class QVariant const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-74ef62b459.clean\src\corelib\kernel\qvariant.h:582
          #2 0x7ff922d82b9b in QWinRegistryKey::value<unsigned long>(class QStringView) const E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-74ef62b459.clean\src\corelib\kernel\qwinregistry_p.h:55

      (full log attached)

      So the question now is: Is this a bug or a false positiv for some reason? 

      qt designer build with this https://github.com/microsoft/vcpkg/pull/32805 vcpkg branch via 

      vcpkg install qttools[designer] --triplet x64-windows --host-triplet x64-windows

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-115594
          # Subject Branch Project Status CR V

          Activity

            People

              thiago Thiago Macieira
              neumann-a Alexander Neumann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes