[LLVMbugs] [Bug 20823] New: Using -no-failure-reports makes scan-build hang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 1 02:02:15 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20823

            Bug ID: 20823
           Summary: Using -no-failure-reports makes scan-build hang
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: Jani_Lahtinen at mcafee.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

If I use 'scan-build -no-failure-report' the build get stuck.

$ strace scan-build make

...

open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1883, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1883, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f1355448000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096)
= 1883
lseek(3, -1201, SEEK_CUR)               = 682
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096)
= 1201
close(3)                                = 0
munmap(0x7f1355448000, 4096)            = 0

-- 
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/20140901/2be4ba6d/attachment.html>


More information about the llvm-bugs mailing list