我有一个 ncurses 应用程序执行以下操作,有时在启动后立即执行,有时在一些摆弄后执行。
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)
有没有人对可能的事情有建议?