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 (t...@compton.nu) http://compton.nu/ ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users