[llvm-dev] lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Mon May 8 18:56:21 PDT 2017


I take it back, that build doesn't have that revision. It could be r302461,
which is from the first failing build:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/1815

That revision is much safer, though. I am rebuilding with debug info
enabled. First I ran check-msan without RelWithDebInfo, and of course I
didn't reproduce the problem.

On Mon, May 8, 2017 at 6:28 PM, Kostya Serebryany <kcc at google.com> wrote:

> 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/bui
>>> lds/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/8b09c5b1/attachment.html>


More information about the llvm-dev mailing list