Hello, We've had a build that hit the following assert: AddressSanitizer CHECK failed: /var/lib/jenkins/jenkins/workspace/fst-clang/local/src/llvm/llvm-3.9.0.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator.h:1078 "((idx)) < ((kMaxNumChunks))" (0x40000, 0x40000) Increasing the limit and recompiling seems like the obvious workaround, but I'm wondering if i have better options than that. Any thoughts? Thank you, Frederik
llvm 3.9 seems pretty old. Does this happen with trunk? On Thu, Jan 11, 2018 at 11:20 AM, Frederik Deweerdt via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello, > > We've had a build that hit the following assert: > AddressSanitizer CHECK failed: > /var/lib/jenkins/jenkins/workspace/fst-clang/local/src/ > llvm/llvm-3.9.0.src/projects/compiler-rt/lib/asan/../ > sanitizer_common/sanitizer_allocator.h:1078 > "((idx)) < ((kMaxNumChunks))" (0x40000, 0x40000) > > Increasing the limit and recompiling seems like the obvious > workaround, but I'm wondering if i have better options than that. Any > thoughts? > > Thank you, > Frederik > _______________________________________________ > 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/20180116/459bcdb3/attachment.html>
Hello Kostya, I see that master has the same value for kMaxNumChunks, is there anything in particular that leads you to think i wouldn't run into the same limit? Thanks, Frederik On Tue, Jan 16, 2018 at 11:23 AM, Kostya Serebryany <kcc at google.com> wrote:> llvm 3.9 seems pretty old. > Does this happen with trunk? > > On Thu, Jan 11, 2018 at 11:20 AM, Frederik Deweerdt via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> >> Hello, >> >> We've had a build that hit the following assert: >> AddressSanitizer CHECK failed: >> >> /var/lib/jenkins/jenkins/workspace/fst-clang/local/src/llvm/llvm-3.9.0.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator.h:1078 >> "((idx)) < ((kMaxNumChunks))" (0x40000, 0x40000) >> >> Increasing the limit and recompiling seems like the obvious >> workaround, but I'm wondering if i have better options than that. Any >> thoughts? >> >> Thank you, >> Frederik >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >