[PATCH] D23230: asan/win: Disable a few tests that fail on bots with not a lot of memory.

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 15:29:01 PDT 2016


etienneb added a comment.

I'm able to repro. This bug is happening when the memory pressure on the system is too high (not enough virtual memory).

  [ RUN      ] SanitizerCommon.SizeClassAllocator64GetBlockBegin
  ==551160==ERROR: SanitizerTool failed to allocate 0x10000 (65536) bytes of memory at address 0xd74046000 (error code: 1455)
  ==551160==Dumping process modules:
          0x000076fd0000-0x0000770ef000 C:\Windows\system32\kernel32.dll
          0x0000771f0000-0x00007739a000 C:\Windows\SYSTEM32\ntdll.dll
          0x00013f930000-0x00014081e000 C:\src\llvm\ninja64\projects\compiler-rt\lib\sanitizer_common\tests\Sanitizer-x86_64-Test.exe
          0x07fef51d0000-0x07fef52f5000 C:\Windows\system32\dbghelp.dll
          0x07fefa620000-0x07fefa623000 C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
          0x07fefd060000-0x07fefd0ca000 C:\Windows\system32\KERNELBASE.dll
          0x07fefd330000-0x07fefd40b000 C:\Windows\system32\ADVAPI32.dll
          0x07fefdc90000-0x07fefdcaf000 C:\Windows\SYSTEM32\sechost.dll
          0x07fefe110000-0x07fefe23d000 C:\Windows\system32\RPCRT4.dll
          0x07feff330000-0x07feff3cf000 C:\Windows\system32\msvcrt.dll
  ==551160==Sanitizer CHECK failed: C:\src\llvm\llvm\projects\compiler-rt\lib\sanitizer_common\sanitizer_common.cc:120 ((0 && "unable to mmap")) != (0) (0, 0

To put pressure, I'm using sysinternal "testlimit64".

  C:\src\SysInternals>testlimit64 -d -c 18000
  
  Testlimit v5.24 - test Windows limits
  Copyright (C) 2012-2015 Mark Russinovich
  Sysinternals - www.sysinternals.com
  
  Process ID: 623200
  
  Leaking private bytes with touch (MB)...
  Leaked 18000 MB of private memory (18000 MB total leaked). Lasterror: 0
  The operation completed successfully.


https://reviews.llvm.org/D23230





More information about the llvm-commits mailing list