In article <20161124112807.ga23...@britannica.bec.de>, Joerg Sonnenberger <jo...@bec.de> wrote: >On Thu, Nov 24, 2016 at 09:20:56AM +0100, Carsten Kunze wrote: >> chris...@astron.com (Christos Zoulas) wrote: >> >> > I used this as the Makefile, and I can't reproduce it (current/amd64) >> > >> > $ cat Makefile >> > LDFLAGS=-lcurses >> > CFLAGS=-g -fsanitize=address >> > >> > all: main >> > >> > clean: >> > rm -f main >> >> Only for a short time I could use ASAN, now it crashes again, also >with your Makefile. The output is: > >If you want to use ASAN, you really should have debug symbols at hand. >Otherwise it is not very useful.
Yes, build everything with MKDEBUG=yes christos