[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#869090: gcc-6: Address sanitizer: Shadow memory range interleaves



On Thu, Jul 20, 2017 at 02:45:11PM +0200, Tim Ruehsen wrote:
> ==13782==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
> ==13782==ASan shadow was supposed to be located in the [0x00007fff7000-0x10007fff7fff] range.
> ==13782==Process memory map follows:
>         0x005450338000-0x005450339000   /usr/oms/src/libpsl/conftest
>         0x005450539000-0x00545053a000   /usr/oms/src/libpsl/conftest
> ...
>         0x7fff70943000-0x7fff70964000   [stack]
>         0x7fff709a4000-0x7fff709a6000   [vvar]
>         0x7fff709a6000-0x7fff709a8000   [vdso]
> ==13782==End of process memory map.

I noticed these same error messages after rebooting today.  Not when
building a package, but when testing other software, like this:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.3 /bin/ls

Downgrading the kernel from linux-image-4.11.0-2-amd64 (4.11.11-1+b1) to
linux-image-4.11.0-1-amd64 (4.11.6-1) fixed this.  I wonder if the stack
clash fix has broken ASan.


Reply to: