tech-userlevel archive

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

Re: curses with ASAN (was: Re: curses: wmove(window, ...) doesn't set physical cursor)



In article <20161124112807.GA23570%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%bec.de@localhost> wrote:
>On Thu, Nov 24, 2016 at 09:20:56AM +0100, Carsten Kunze wrote:
>> christos%astron.com@localhost (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



Home | Main Index | Thread Index | Old Index