From: Tom H. <to...@co...> - 2016-04-25 16:33:52
|
On 25/04/16 17:11, Николай Жосов wrote: > I have a problem trying to check my programme with memcheck. > Some details about programme: > It consist of 2 DLLs and executable, implicitly linked using -rpath to > add location of DLLs to executable. Also one of DLLs was linked with the > first the same way. > So I start the check with such line: > > valgrind --tool=memcheck ./L1 Graph.txt > > and caught the error message and valgrind report: > > ==14553== Memcheck, a memory error detector > ==14553== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. > ==14553== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info > ==14553== Command: ./L1 Graph.txt > ==14553== > ==14553==Shadow memory range interleaves with an existing memory > mapping. ASan cannot proceed correctly. ABORTING. It looks like you have compiled your program with -fsanitize=address but that conflicts with valgrind as both are essentially trying to do more or less the same thing. Build your program normally and you should find it works... Tom -- Tom Hughes (to...@co...) http://compton.nu/ |