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

             Bug #: 11760
           Summary: llvm-cov crashes in llvm::GCOVFunction::read with
                    trivial test case
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedb...@nondot.org
        ReportedBy: s...@rogue-research.com
                CC: llvmbugs@cs.uiuc.edu
    Classification: Unclassified


Created attachment 7878
  --> http://llvm.org/bugs/attachment.cgi?id=7878
repro case

Using "clang version 3.1 (trunk 147866)", llvm-cov crashes with simple test
case:

To repro:
- uncompress attached file
- cd llvm-cov.crash
- edit the first line of the Makefile to provide the path to your llvm install
directory
- make
- make docov
- make crash

The llvm-gov process then reproducibly crashes as follows:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   llvm-cov                          0x000000010311ee9f
llvm::GCOVFunction::read(llvm::GCOVBuffer&, llvm::GCOVFormat) + 631
1   llvm-cov                          0x000000010311f386
llvm::GCOVFile::read(llvm::GCOVBuffer&) + 246
2   llvm-cov                          0x000000010311d154 main + 1188
3   llvm-cov                          0x000000010311cca4 start + 52

This is on Mac OS X 10.7.

-- 
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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to