나는 때때로 다음과 같은 일을하는 ncurses 앱을 가지고있다.ncurses에서 double-free가 가능한 원인은 무엇입니까?
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)
누구든지 추구 할 가능성이있는 제안이 있습니까?
일부 코드 게시는 어떻습니까? – Gonzalo
코드는 단순히 wgetch (stdscr) 호출입니다. wgetch가 중단 될 수있는 이유에 대해 자세히 알아보십시오. –