[llvm-bugs] [Bug 49515] New: Segfault in llvm-profdata (11.0.1)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 10 08:55:39 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49515

            Bug ID: 49515
           Summary: Segfault in llvm-profdata (11.0.1)
           Product: tools
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: support scripts
          Assignee: unassignedbugs at nondot.org
          Reporter: warchantua at gmail.com
                CC: greg.bedwell at sony.com, i at maskray.me,
                    llvm-bugs at lists.llvm.org

PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments: llvm-profdata llvm-profdata merge -o 1.profdata
deserialization_fuzz.profraw 
 #0 0x00007f194f1ea0db llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/bin/../lib/libLLVM-11.so+0xa760db)
 #1 0x00007f194f1e7e14 llvm::sys::RunSignalHandlers()
(/usr/bin/../lib/libLLVM-11.so+0xa73e14)
 #2 0x00007f194f1e7f61 (/usr/bin/../lib/libLLVM-11.so+0xa73f61)
 #3 0x00007f194e766960 __restore_rt (/usr/bin/../lib/libpthread.so.0+0x13960)
 #4 0x00007f194e506470 __memchr_avx2 (/usr/bin/../lib/libc.so.6+0x15d470)
 #5 0x00007f194f17839d llvm::StringRef::find(llvm::StringRef, unsigned long)
const (/usr/bin/../lib/libLLVM-11.so+0xa0439d)
 #6 0x00007f194f178aa5
llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&,
llvm::StringRef, int, bool) const (/usr/bin/../lib/libLLVM-11.so+0xa04aa5)
 #7 0x00007f1951ff8821 llvm::readPGOFuncNameStrings(llvm::StringRef,
llvm::InstrProfSymtab&) (/usr/bin/../lib/libLLVM-11.so+0x3884821)
 #8 0x00007f19520000bb llvm::RawInstrProfReader<unsigned
long>::createSymtab(llvm::InstrProfSymtab&)
(/usr/bin/../lib/libLLVM-11.so+0x388c0bb)
 #9 0x00007f19520003df llvm::RawInstrProfReader<unsigned
long>::readHeader(llvm::RawInstrProf::Header const&)
(/usr/bin/../lib/libLLVM-11.so+0x388c3df)
#10 0x00007f1952000789 llvm::RawInstrProfReader<unsigned
long>::readNextHeader(char const*) (/usr/bin/../lib/libLLVM-11.so+0x388c789)
#11 0x00007f1952003305 llvm::RawInstrProfReader<unsigned
long>::readNextRecord(llvm::NamedInstrProfRecord&)
(/usr/bin/../lib/libLLVM-11.so+0x388f305)
#12 0x00007f1951fff4c1 llvm::InstrProfIterator::Increment()
(/usr/bin/../lib/libLLVM-11.so+0x388b4c1)
#13 0x0000562297f1a8f3 (/usr/bin/llvm-profdata+0xf8f3)
#14 0x0000562297f2705c (/usr/bin/llvm-profdata+0x1c05c)
#15 0x0000562297f2abed (/usr/bin/llvm-profdata+0x1fbed)
#16 0x0000562297f1217a (/usr/bin/llvm-profdata+0x717a)
#17 0x00007f194e3d0b25 __libc_start_main (/usr/bin/../lib/libc.so.6+0x27b25)
#18 0x0000562297f123ce (/usr/bin/llvm-profdata+0x73ce)
[1]    331566 segmentation fault (core dumped)  llvm-profdata merge -o
1.profdata deserialization_fuzz.profraw

-- 
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/20210310/5da212bf/attachment.html>


More information about the llvm-bugs mailing list