[LLVMbugs] [Bug 11760] New: llvm-cov crashes in llvm::GCOVFunction::read with trivial test case

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 13 10:09:52 PST 2012


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: unassignedbugs at nondot.org
        ReportedBy: sean at rogue-research.com
                CC: llvmbugs at 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.



More information about the llvm-bugs mailing list