> Basically, ASan is unable to map the necessary shadow memory. You may want > to dump the contents of /proc/self/maps and look if it conflicts > with the range ASan is trying to use. errno 12 is ENOMEM. Are you sure you > don't have constraints on the virtual memory your process can use?Similar thread in GCC ML: https://gcc.gnu.org/ml/gcc/2014-06/msg00023.html . It looks like QEMU-user does not yet support the NORESERVE flag. -Y
> Similar thread in GCC ML:https://gcc.gnu.org/ml/gcc/2014-06/msg00023.html .> It looks like QEMU-user does not yet support the NORESERVE flag.Thanks! Applying this patch to qemu 2.0 fixed the mmap issue: http://lists.gnu.org/archive/html/qemu-devel/2014-02/msg00319.html I am still getting the segfault error, though. On Wed, Jun 4, 2014 at 2:41 AM, Yury Gribov <y.gribov at samsung.com> wrote:> Basically, ASan is unable to map the necessary shadow memory. You may want >> to dump the contents of /proc/self/maps and look if it conflicts >> with the range ASan is trying to use. errno 12 is ENOMEM. Are you sure you >> don't have constraints on the virtual memory your process can use? >> > > Similar thread in GCC ML: https://gcc.gnu.org/ml/gcc/2014-06/msg00023.html > . > It looks like QEMU-user does not yet support the NORESERVE flag. > > -Y >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140604/133ac355/attachment.html>
On Wed, Jun 4, 2014 at 7:48 AM, Gideon Billings <gideonhbillings at gmail.com> wrote:> Thanks! Applying this patch to qemu 2.0 fixed the mmap issue: > http://lists.gnu.org/archive/html/qemu-devel/2014-02/msg00319.html > > I am still getting the segfault error, though.Cool, making progress. :) Expected Passes : 43 Expected Failures : 2 Unsupported Tests : 84 Unexpected Failures: 138 For that segfault, can you run in gdb and get a stack trace? Thanks, Greg