|
From: <cdw...@li...> - 2010-07-10 19:50:31
|
Dnia 9-07-2010 o godz. 23:58 cdw...@li... napisał(a): > On Fri, Jul 09, 2010 at 11:28:43AM -0800, > cdw...@li... wrote: > >I posted to the ncurses irc chat on freenode and found, > > > >1) Catch segfaults for a clean exit for NCurses windows > >* add a handler for SIGSEGV > > > > (grepping the code shows no "SIGSEGV") > > > > Searching Google: > SIGSEGV is handable. Only SIGKILL and SIGSTOP are not > > There's some posts with inline code as well. Catching these on memory > corruptions, etc, might cleanly close the ncurses display, giving a better > formated backtrace instead of tiling (tabbing) across the terminal. Thank you for investigating it. It should be easy to implement, and it is even desirable, but not in the nearest release. I have added this to my TODO list. Kind regards, Kamil |