[LLVMbugs] [Bug 7450] New: checker-242 crashes on OFBTree.m

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 22 11:15:40 CDT 2010


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

           Summary: checker-242 crashes on OFBTree.m
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: tjw at omnigroup.com
                CC: llvmbugs at cs.uiuc.edu


- Configure Xcode 3.2.3 on 10.6.4 to use checker-242

    sudo /Volumes/Space/Shared/bungi/Downloads/checker-242/set-xcode-analyzer
--use-checker-build /Volumes/Space/Shared/bungi/Downloads/checker-242


- Check out the OmniGroup frameworks from github (commit
05b1d2036a4ea61284ec6df26479af919d87d4b8 hits the problem for me)

   git clone git://github.com/omnigroup/OmniGroup.git
   cd OmniGroup

- Build (we run with clang-sa enabled for all builds via our xcconfig files)

   ./Scripts/Build

- Search the logs for "clang: error" (which strangely doesn't stop the build).

    /Volumes/Space/Shared/bungi/Downloads/checker-242/bin/clang -x objective-c
-arch x86_64 -fmessage-length=0 -pipe -fdiagnostics-print-source-range-info
-std=gnu99 -Wno-trigraphs -fpascal-strings -O2 -Werror -Wreturn-type
-Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label
-Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas
-Wsign-compare -Wnewline-eof -Wshorten-64-to-32 -DDEBUG -DDEBUG_bungi -isysroot
/Developer/SDKs/MacOSX10.6.sdk -fasm-blocks -fobjc-gc -mmacosx-version-min=10.6
-gdwarf-2
-I/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/OmniFoundation.hmap
-Wall -Wno-#warnings -Wno-trigraphs -Winit-self
-F/Users/Shared/bungi/Source/PROJ/Products/Debug
-F/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks
-I/Users/Shared/bungi/Source/PROJ/Products/Debug/include
-I/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/DerivedSources
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include/libxml2
-I/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/DerivedSources/x86_64
-I/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/DerivedSources
-DNS_BUILD_32_LIKE_64 -DOMNI_BUILDING_FRAMEWORK
-DOMNI_BUNDLE_IDENTIFIER=@"com.omnigroup.framework.OmniFoundation" -include
/Users/Shared/bungi/Source/PROJ/Products/Debug/SharedPrecompiledHeaders/OmniFoundation_Prefix-fhdghygkcrwcdzdjfdsabdkitbpx/OmniFoundation_Prefix.h
--analyze
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m
-o
/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/StaticAnalyzer/normal/x86_64/OFBTree.plist

Stack dump:
0.    Program arguments:
/Volumes/Space/Shared/bungi/Downloads/checker-242/bin/clang -cc1 -triple
x86_64-apple-darwin10.0.0 -analyze -disable-free -main-file-name OFBTree.m
-analyzer-store=region -analyzer-opt-analyze-nested-blocks
-analyzer-check-dead-stores -analyzer-check-objc-mem -analyzer-eagerly-assume
-analyzer-check-objc-methodsigs -analyzer-check-objc-unused-ivars
-analyzer-output plist -w -pic-level 1 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -g -resource-dir
/Volumes/Space/Shared/bungi/Downloads/checker-242/lib/clang/2.0 -isysroot
/Developer/SDKs/MacOSX10.6.sdk -include-pch
/Users/Shared/bungi/Source/PROJ/Products/Debug/SharedPrecompiledHeaders/OmniFoundation_Prefix-fhdghygkcrwcdzdjfdsabdkitbpx/OmniFoundation_Prefix.h.pth
-D DEBUG -D DEBUG_bungi -D NS_BUILD_32_LIKE_64 -D OMNI_BUILDING_FRAMEWORK -D
OMNI_BUNDLE_IDENTIFIER=@"com.omnigroup.framework.OmniFoundation" -I
/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/OmniFoundation.hmap
-F/Users/Shared/bungi/Source/PROJ/Products/Debug
-F/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks -I
/Users/Shared/bungi/Source/PROJ/Products/Debug/include -I
/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/DerivedSources -I
/Developer/SDKs/MacOSX10.6.sdk/usr/include/libxml2 -I
/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/DerivedSources/x86_64
-I
/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/DerivedSources
-O2 -Wno-trigraphs -Werror -Wreturn-type -Wmissing-braces -Wparentheses
-Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
-Wuninitialized -Wunknown-pragmas -Wsign-compare -Wnewline-eof
-Wshorten-64-to-32 -Wall -Wno-#warnings -Wno-trigraphs -Winit-self -std=gnu99
-ferror-limit 19 -fmessage-length 0 -fobjc-gc
-fdiagnostics-print-source-range-info -stack-protector 1 -fblocks -fexceptions
-fobjc-nonfragile-abi -fobjc-dispatch-method=mixed -fpascal-strings
-fdiagnostics-show-option -o
/Users/Shared/bungi/Source/PROJ/Products/OmniFoundation.build/Debug/OmniFoundation.build/StaticAnalyzer/normal/x86_64/OFBTree.plist
-x objective-c
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m 
1.    <eof> parser at end of file
2.   
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m:258:5:
Error evaluating statement
3.   
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m:258:5:
Error evaluating statement
4.   
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m:258:5:
Error evaluating statement
5.   
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m:258:6:
Error evaluating statement
6.   
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m:258:22:
Error evaluating statement
7.   
/Volumes/Home/bungi/Source/github/OmniGroup/Frameworks/OmniFoundation/DataStructures.subproj/OFBTree.m:258:23:
Error evaluating statement
clang: error: clang frontend command failed due to signal 11 (use -v to see
invocation)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the LLVMbugs mailing list