I have an ncurses app that does the following, sometimes instantly after launch, sometimes after some fiddling.
malloc: *** error for object 0x100300400: double free
Program received signal SIGABRT, Aborted
(gdb) where
#0 0x00007fff846a7426 in read ()
#1 0x00007fff83f3d775 in _nc_wgetch ()
#2 0x00007fff83f3de3f in wgetch ()
(and so on into my code)
Does anyone have suggestions for likely things to pursue?