==4888==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7ffb6a97e500 at pc 0x7ffb6a4f7485 bp 0x00e03ed7cd40 sp 0x00e03ed7cd40 READ of size 8 at 0x7ffb6a97e500 thread T0 #0 0x7ffb6a4f7484 in QMetaType::convert(class QMetaType, void const *, class QMetaType, void *) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qmetatype.cpp:2355 #1 0x7ffb6a733020 in qvariant_cast(class QVariant const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qvariant.h:582 #2 0x7ffb6a73318b in QWinRegistryKey::value(class QStringView) const E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qwinregistry_p.h:55 #3 0x7ffb6a733746 in QWinRegistryKey::dwordValue(class QStringView) const E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qwinregistry.cpp:130 #4 0x7ffb61f2202b in QWindowsTheme::queryDarkMode(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowstheme.cpp:1077 #5 0x7ffb61e5cd37 in QWindowsContextPrivate::QWindowsContextPrivate(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowscontext.cpp:192 #6 0x7ffb61e5c9b3 in QWindowsContext::QWindowsContext(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowscontext.cpp:201 #7 0x7ffb61e9fa4c in QWindowsIntegrationPrivate::QWindowsIntegrationPrivate(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowsintegration.cpp:116 #8 0x7ffb61e9f89f in QWindowsIntegration::QWindowsIntegration(class QList const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowsintegration.h:114 #9 0x7ffb61e917ae in QWindowsGdiIntegration::QWindowsGdiIntegration(class QList const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowsgdiintegration.cpp:23 #10 0x7ffb61e526b9 in QWindowsIntegrationPlugin::create(class QString const &, class QList const &, int &, char **) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\main.cpp:76 #11 0x7ffb6aeb8447 in qLoadPlugin const &, int &, char **&>(class QFactoryLoader const *, class QString const &, class QList const &, int &, char **&) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\plugin\qfactoryloader_p.h:99 #12 0x7ffb6aeb863e in QPlatformIntegrationFactory::create(class QString const &, class QList const &, int &, char **, class QString const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qplatformintegrationfactory.cpp:23 #13 0x7ffb6ae5bb36 in init_platform E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1235 #14 0x7ffb6ae55c6e in QGuiApplicationPrivate::createPlatformIntegration(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1515 #15 0x7ffb6ae55206 in QGuiApplicationPrivate::createEventDispatcher(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1534 #16 0x7ffb6a496757 in QCoreApplicationPrivate::init(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qcoreapplication.cpp:897 #17 0x7ffb6ae59f48 in QGuiApplicationPrivate::init(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1579 #18 0x7ffb6ba845d3 in QApplicationPrivate::init(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\widgets\kernel\qapplication.cpp:473 #19 0x7ffb6ba6f915 in QApplication::QApplication(int &, char **, int) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\widgets\kernel\qapplication.cpp:461 #20 0x7ff77ee47c25 in QDesigner::QDesigner(int &, char **) E:\vcpkg_folders\vcpkg_clean\buildtrees\qttools\src\here-src-6-0f23005878.clean\src\designer\src\designer\qdesigner.cpp:59 #21 0x7ff77ee39ae6 in main E:\vcpkg_folders\vcpkg_clean\buildtrees\qttools\src\here-src-6-0f23005878.clean\src\designer\src\designer\main.cpp:26 #22 0x7ff77ee8cf14 in qtEntryPoint E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\entrypoint\qtentrypoint_win.cpp:50 #23 0x7ff77ee8b231 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:102 #24 0x7ff77ee8b231 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #25 0x7ffc3ac87613 (C:\Windows\System32\KERNEL32.DLL+0x180017613) #26 0x7ffc3ba626b0 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526b0) 0x7ffb6a97e500 is located 0 bytes inside of global variable 'metatypeHelper' defined in 'qmetatype.cpp:1635:2' (0x7ffb6a97e500) of size 16 0x7ffb6a97e500 is located 96 bytes to the right of global variable '::`vftable'' defined in 'qmetatype.cpp:957:20' (0x7ffb6a97e488) of size 24 SUMMARY: AddressSanitizer: global-buffer-overflow E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qmetatype.cpp:2355 in QMetaType::convert(class QMetaType, void const *, class QMetaType, void *) Shadow bytes around the buggy address: 0x12ae7c02fc50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fc60: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fc70: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fc80: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fc90: 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 =>0x12ae7c02fca0:[f9]00 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fcb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fcc0: 02 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fcd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fcf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ================================================================= ==4888==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7ffb6a97e500 at pc 0x7ffb6a4f7485 bp 0x00e03ed7cd40 sp 0x00e03ed7cd40 READ of size 8 at 0x7ffb6a97e500 thread T0 #0 0x7ffb6a4f7484 in QMetaType::convert(class QMetaType, void const *, class QMetaType, void *) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qmetatype.cpp:2355 #1 0x7ffb6a733020 in qvariant_cast(class QVariant const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qvariant.h:582 #2 0x7ffb6a73318b in QWinRegistryKey::value(class QStringView) const E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qwinregistry_p.h:55 #3 0x7ffb6a733746 in QWinRegistryKey::dwordValue(class QStringView) const E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qwinregistry.cpp:130 #4 0x7ffb61f2202b in QWindowsTheme::queryDarkMode(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowstheme.cpp:1077 #5 0x7ffb61e5cd37 in QWindowsContextPrivate::QWindowsContextPrivate(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowscontext.cpp:192 #6 0x7ffb61e5c9b3 in QWindowsContext::QWindowsContext(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowscontext.cpp:201 #7 0x7ffb61e9fa4c in QWindowsIntegrationPrivate::QWindowsIntegrationPrivate(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowsintegration.cpp:116 #8 0x7ffb61e9f89f in QWindowsIntegration::QWindowsIntegration(class QList const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowsintegration.h:114 #9 0x7ffb61e917ae in QWindowsGdiIntegration::QWindowsGdiIntegration(class QList const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\qwindowsgdiintegration.cpp:23 #10 0x7ffb61e526b9 in QWindowsIntegrationPlugin::create(class QString const &, class QList const &, int &, char **) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\plugins\platforms\windows\main.cpp:76 #11 0x7ffb6aeb8447 in qLoadPlugin const &, int &, char **&>(class QFactoryLoader const *, class QString const &, class QList const &, int &, char **&) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\plugin\qfactoryloader_p.h:99 #12 0x7ffb6aeb863e in QPlatformIntegrationFactory::create(class QString const &, class QList const &, int &, char **, class QString const &) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qplatformintegrationfactory.cpp:23 #13 0x7ffb6ae5bb36 in init_platform E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1235 #14 0x7ffb6ae55c6e in QGuiApplicationPrivate::createPlatformIntegration(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1515 #15 0x7ffb6ae55206 in QGuiApplicationPrivate::createEventDispatcher(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1534 #16 0x7ffb6a496757 in QCoreApplicationPrivate::init(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qcoreapplication.cpp:897 #17 0x7ffb6ae59f48 in QGuiApplicationPrivate::init(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\gui\kernel\qguiapplication.cpp:1579 #18 0x7ffb6ba845d3 in QApplicationPrivate::init(void) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\widgets\kernel\qapplication.cpp:473 #19 0x7ffb6ba6f915 in QApplication::QApplication(int &, char **, int) E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\widgets\kernel\qapplication.cpp:461 #20 0x7ff77ee47c25 in QDesigner::QDesigner(int &, char **) E:\vcpkg_folders\vcpkg_clean\buildtrees\qttools\src\here-src-6-0f23005878.clean\src\designer\src\designer\qdesigner.cpp:59 #21 0x7ff77ee39ae6 in main E:\vcpkg_folders\vcpkg_clean\buildtrees\qttools\src\here-src-6-0f23005878.clean\src\designer\src\designer\main.cpp:26 #22 0x7ff77ee8cf14 in qtEntryPoint E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\entrypoint\qtentrypoint_win.cpp:50 #23 0x7ff77ee8b231 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:102 #24 0x7ff77ee8b231 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #25 0x7ffc3ac87613 (C:\Windows\System32\KERNEL32.DLL+0x180017613) #26 0x7ffc3ba626b0 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526b0) 0x7ffb6a97e500 is located 0 bytes inside of global variable 'metatypeHelper' defined in 'qmetatype.cpp:1635:2' (0x7ffb6a97e500) of size 16 0x7ffb6a97e500 is located 96 bytes to the right of global variable '::`vftable'' defined in 'qmetatype.cpp:957:20' (0x7ffb6a97e488) of size 24 SUMMARY: AddressSanitizer: global-buffer-overflow E:\vcpkg_folders\vcpkg_clean\buildtrees\qtbase\src\here-src-6-826fab6c50.clean\src\corelib\kernel\qmetatype.cpp:2355 in QMetaType::convert(class QMetaType, void const *, class QMetaType, void *) Shadow bytes around the buggy address: 0x12ae7c02fc50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fc60: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fc70: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fc80: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fc90: 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 =>0x12ae7c02fca0:[f9]00 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fcb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fcc0: 02 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x12ae7c02fcd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x12ae7c02fcf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb