[llvm-bugs] [Bug 37804] New: Failing sanitizer tests with glibc 2.27

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 14 08:32:01 PDT 2018


            Bug ID: 37804
           Summary: Failing sanitizer tests with glibc 2.27
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Sanitizer
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: lidija.besker at rt-rk.com
                CC: llvm-bugs at lists.llvm.org, mips32r2 at gmail.com

When I have been running tests there were some test fails. Those tests are:

  LeakSanitizer-AddressSanitizer-x86_64 :: TestCases/Linux/use_tls_dynamic.cc
  LeakSanitizer-Standalone-x86_64 :: TestCases/Linux/use_tls_dynamic.cc
  MemorySanitizer-X86_64 :: dtls_test.c
  MemorySanitizer-lld-X86_64 :: dtls_test.c

log for use_tls_dynamic.cc

==6121==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1048576 byte(s) in 1 object(s) allocated from:
    #0 0x4e44cf  (/home/lidijab/use_tls_dynamic.cc.tmp+0x4e44cf)
    #1 0x7fc5a602ac94  (/lib64/ld-linux-x86-64.so.2+0x12c94)

Objects leaked above:
0x7fc5a16fd800 (1048576 bytes)

Indirect leak of 1337 byte(s) in 1 object(s) allocated from:
    #0 0x4e44cf  (/home/lidijab/use_tls_dynamic.cc.tmp+0x4e44cf)
    #1 0x529a03  (/home/lidijab/use_tls_dynamic.cc.tmp+0x529a03)
    #2 0x7fc5a4cd9b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Objects leaked above:
0x61a000000680 (1337 bytes)

SUMMARY: AddressSanitizer: 1049913 byte(s) leaked in 2 allocation(s).

log for dtls_test.c:

==6126==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x499ef7  (/home/lidijab/dtls_test.c.tmp+0x499ef7)
    #1 0x470ec4  (/home/lidijab/dtls_test.c.tmp+0x470ec4)
    #2 0x7f6402bf86da  (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
    #3 0x7f6401f5f88e  (/lib/x86_64-linux-gnu/libc.so.6+0x12188e)

SUMMARY: MemorySanitizer: use-of-uninitialized-value

I'm using:
 Clang trunk at 334388
 LLVM  trunk at 334396
 glibc 2.27
 Linux version 4.15.0 Ubuntu 7.3.0-16ubuntu3

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180614/4fb43f85/attachment-0001.html>

More information about the llvm-bugs mailing list