https://bugs.kde.org/show_bug.cgi?id=466104

            Bug ID: 466104
           Summary: aligned_alloc problems, part 1
    Classification: Developer tools
           Product: valgrind
           Version: 3.21 GIT
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: pjfl...@wanadoo.fr
  Target Milestone: ---

There are several issues with the handling of memalign, posix_memalign and
aligned_alloc, mostly on non-Linux-glibc systems.

Some arguments are missing TRIGGER_MEMCHECK_ERROR_IF_UNDEFINED
memalign does not set errno correctly
The posix_memalign wrapper just calls the memalign one. That adds noise to the
callstacks and makes it difficult to cutomize behaviour for different
platforms.

memcheck/tests/memalign2.c fails with an assert on at least FreeBSD

I've mostly been looking at glibc musl and FreeBSD / memalign and
posix_memalign
I'll look more at Solaris (Darwin if I can) / aligned alloc.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to