Kostya Serebryany via llvm-dev
2017-May-09 01:20 UTC
[llvm-dev] lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
David, Dean, all, The bots got red today with assertion failures in llvm::DbgVariable::addMMIEntry: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/1816/steps/check-msan%20in%20gcc%20build/logs/stdio I did not find the offender yet. Any ideas? clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed. clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed. #0 0x0000000002000bea llvm::sys::PrintStackTrace(llvm::raw_ostream&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Unix/Signals.inc:402:0 #1 0x0000000001ffea1e llvm::sys::RunSignalHandlers() /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Signals.cpp:44:0 #2 0x0000000001ffeb92 SignalHandler(int) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Unix/Signals.inc:242:0 #3 0x00007fa903bee390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) #4 0x00007fa902b7b428 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35428) #5 0x00007fa902b7d02a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a) #6 0x00007fa902b73bd7 (/lib/x86_64-linux-gnu/libc.so.6+0x2dbd7) #7 0x00007fa902b73c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82) #8 0x0000000002601cd4 llvm::DbgVariable::addMMIEntry(llvm::DbgVariable const&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:130:0 #9 0x0000000002601cd4 llvm::DwarfFile::addScopeVariable(llvm::LexicalScope*, llvm::DbgVariable*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:104:0 #10 0x00000000025f5a29 llvm::DwarfDebug::createAbstractVariable(llvm::DILocalVariable const*, llvm::LexicalScope*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:746:0#11 0x00000000025f5cf4 llvm::DwarfDebug::ensureAbstractVariableIsCreatedIfScoped(std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::MDNode const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:767:0 #12 0x00000000025f5d38 llvm::DwarfDebug::createConcreteVariable(llvm::LexicalScope&, std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:961:0 #13 0x00000000025f901c llvm::DwarfDebug::collectVariableInfo(llvm::DwarfCompileUnit&, llvm::DISubprogram const*, llvm::DenseSet<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::DenseMapInfo<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*> > >&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1005:0 #14 0x00000000025f9ae8 llvm::DwarfDebug::endFunctionImpl(llvm::MachineFunction const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1208:0 #15 0x000000000262f75a llvm::DebugHandlerBase::endFunction(llvm::MachineFunction const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp:256:0 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170508/f607bcc8/attachment-0001.html>
Reid Kleckner via llvm-dev
2017-May-09 01:25 UTC
[llvm-dev] lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
I give it 99% odds it was r302483. Let's revert and debug it tomorrow. On Mon, May 8, 2017 at 6:20 PM, Kostya Serebryany via llvm-dev < llvm-dev at lists.llvm.org> wrote:> David, Dean, all, > > The bots got red today with assertion failures in llvm::DbgVariable::addMMIEntry: > > http://lab.llvm.org:8011/builders/sanitizer-x86_64- > linux/builds/1816/steps/check-msan%20in%20gcc%20build/logs/stdio > I did not find the offender yet. Any ideas? > > clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed. > clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed. > #0 0x0000000002000bea llvm::sys::PrintStackTrace(llvm::raw_ostream&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Unix/Signals.inc:402:0 > #1 0x0000000001ffea1e llvm::sys::RunSignalHandlers() /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Signals.cpp:44:0 > #2 0x0000000001ffeb92 SignalHandler(int) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Unix/Signals.inc:242:0 > #3 0x00007fa903bee390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) > #4 0x00007fa902b7b428 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35428) > #5 0x00007fa902b7d02a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a) > #6 0x00007fa902b73bd7 (/lib/x86_64-linux-gnu/libc.so.6+0x2dbd7) > #7 0x00007fa902b73c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82) > #8 0x0000000002601cd4 llvm::DbgVariable::addMMIEntry(llvm::DbgVariable const&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:130:0 > #9 0x0000000002601cd4 llvm::DwarfFile::addScopeVariable(llvm::LexicalScope*, llvm::DbgVariable*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:104:0 > #10 0x00000000025f5a29 llvm::DwarfDebug::createAbstractVariable(llvm::DILocalVariable const*, llvm::LexicalScope*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:746:0#11 0x00000000025f5cf4 llvm::DwarfDebug::ensureAbstractVariableIsCreatedIfScoped(std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::MDNode const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:767:0 > #12 0x00000000025f5d38 llvm::DwarfDebug::createConcreteVariable(llvm::LexicalScope&, std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:961:0 > #13 0x00000000025f901c llvm::DwarfDebug::collectVariableInfo(llvm::DwarfCompileUnit&, llvm::DISubprogram const*, llvm::DenseSet<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::DenseMapInfo<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*> > >&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1005:0 > #14 0x00000000025f9ae8 llvm::DwarfDebug::endFunctionImpl(llvm::MachineFunction const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1208:0 > #15 0x000000000262f75a llvm::DebugHandlerBase::endFunction(llvm::MachineFunction const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp:256:0 > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170508/b1fb9ed2/attachment.html>
Kostya Serebryany via llvm-dev
2017-May-09 01:28 UTC
[llvm-dev] lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
Thanks! On Mon, May 8, 2017 at 6:25 PM, Reid Kleckner <rnk at google.com> wrote:> I give it 99% odds it was r302483. Let's revert and debug it tomorrow. > > On Mon, May 8, 2017 at 6:20 PM, Kostya Serebryany via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> David, Dean, all, >> >> The bots got red today with assertion failures in >> llvm::DbgVariable::addMMIEntry: >> http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/ >> builds/1816/steps/check-msan%20in%20gcc%20build/logs/stdio >> I did not find the offender yet. Any ideas? >> >> clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed. >> clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed. >> #0 0x0000000002000bea llvm::sys::PrintStackTrace(llvm::raw_ostream&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Unix/Signals.inc:402:0 >> #1 0x0000000001ffea1e llvm::sys::RunSignalHandlers() /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Signals.cpp:44:0 >> #2 0x0000000001ffeb92 SignalHandler(int) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Support/Unix/Signals.inc:242:0 >> #3 0x00007fa903bee390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) >> #4 0x00007fa902b7b428 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35428) >> #5 0x00007fa902b7d02a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a) >> #6 0x00007fa902b73bd7 (/lib/x86_64-linux-gnu/libc.so.6+0x2dbd7) >> #7 0x00007fa902b73c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82) >> #8 0x0000000002601cd4 llvm::DbgVariable::addMMIEntry(llvm::DbgVariable const&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:130:0 >> #9 0x0000000002601cd4 llvm::DwarfFile::addScopeVariable(llvm::LexicalScope*, llvm::DbgVariable*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:104:0 >> #10 0x00000000025f5a29 llvm::DwarfDebug::createAbstractVariable(llvm::DILocalVariable const*, llvm::LexicalScope*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:746:0#11 0x00000000025f5cf4 llvm::DwarfDebug::ensureAbstractVariableIsCreatedIfScoped(std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::MDNode const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:767:0 >> #12 0x00000000025f5d38 llvm::DwarfDebug::createConcreteVariable(llvm::LexicalScope&, std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:961:0 >> #13 0x00000000025f901c llvm::DwarfDebug::collectVariableInfo(llvm::DwarfCompileUnit&, llvm::DISubprogram const*, llvm::DenseSet<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::DenseMapInfo<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*> > >&) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1005:0 >> #14 0x00000000025f9ae8 llvm::DwarfDebug::endFunctionImpl(llvm::MachineFunction const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1208:0 >> #15 0x000000000262f75a llvm::DebugHandlerBase::endFunction(llvm::MachineFunction const*) /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp:256:0 >> >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170508/9c390cb5/attachment.html>