Created
June 14, 2021 07:48
-
-
Save jagt/93cb508f42051c5ba2a863b16ac0cbaf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================= | |
==6756==ERROR: AddressSanitizer: new-delete-type-mismatch on 0x11b647ca0820 in thread T0: | |
object passed to delete has wrong type: | |
size of the allocated type: 24 bytes; | |
size of the deallocated type: 8 bytes. | |
#0 0x7ff6990d82aa in operator delete(void *, unsigned __int64) D:\agent\_work\13\s\src\vctools\crt\asan\llvm\compiler-rt\lib\asan\asan_new_delete.cpp:172 | |
#1 0x7ff6990dd4a0 in ply::OutPipe::`scalar deleting dtor'(unsigned int) C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\xthreads.h:129 | |
#2 0x7ff6990d9404 in ply::OutStream::destructInternal(void) C:\Dev\plywood\repos\plywood\src\runtime\ply-runtime\io\OutStream.cpp:50 | |
#3 0x7ff6990914dd in ply::OutStream::~OutStream(void) C:\Dev\plywood\repos\plywood\src\runtime\ply-runtime\io\OutStream.h:118 | |
#4 0x7ff6990912da in main C:\Dev\plywood\repos\plylox\PipeLeak\Main.cpp:8 | |
#5 0x7ff6991181b8 in invoke_main D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78 | |
#6 0x7ff69911810d in __scrt_common_main_seh D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 | |
#7 0x7ff699117fcd in __scrt_common_main D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330 | |
#8 0x7ff69911822d in mainCRTStartup D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:16 | |
#9 0x7ff9df8d7c23 (C:\WINDOWS\System32\KERNEL32.DLL+0x180017c23) | |
#10 0x7ff9e0d2d720 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x18006d720) | |
0x11b647ca0820 is located 0 bytes inside of 24-byte region [0x11b647ca0820,0x11b647ca0838) | |
allocated by thread T0 here: | |
#0 0x7ff6990d78a1 in operator new(unsigned __int64) D:\agent\_work\13\s\src\vctools\crt\asan\llvm\compiler-rt\lib\asan\asan_new_delete.cpp:99 | |
#1 0x7ff69910ad98 in ply::createOutNewLineFilter(class ply::OptionallyOwned<struct ply::OutStream> &&, bool) C:\Dev\plywood\repos\plywood\src\runtime\ply-runtime\io\text\NewLineFilter.cpp:155 | |
#2 0x7ff6990e42cc in ply::StdOut::text(void) C:\Dev\plywood\repos\plywood\src\runtime\ply-runtime\io\StdIO.cpp:22 | |
#3 0x7ff6990912c1 in main C:\Dev\plywood\repos\plylox\PipeLeak\Main.cpp:8 | |
#4 0x7ff6991181b8 in invoke_main D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78 | |
#5 0x7ff69911810d in __scrt_common_main_seh D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 | |
#6 0x7ff699117fcd in __scrt_common_main D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330 | |
#7 0x7ff69911822d in mainCRTStartup D:\agent\_work\13\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:16 | |
#8 0x7ff9df8d7c23 (C:\WINDOWS\System32\KERNEL32.DLL+0x180017c23) | |
#9 0x7ff9e0d2d720 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x18006d720) | |
SUMMARY: AddressSanitizer: new-delete-type-mismatch D:\agent\_work\13\s\src\vctools\crt\asan\llvm\compiler-rt\lib\asan\asan_new_delete.cpp:172 in operator delete(void *, unsigned __int64) | |
==6756==HINT: if you don't care about these errors you may set ASAN_OPTIONS=new_delete_type_mismatch=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment