Linked by Eugenia Loli-Queru on Wed 13th Dec 2006 04:33 UTC, submitted by IdaAshley
Permalink for comment 191603
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.





Member since:
2005-11-16
So many 'smart' programmers write their own handler for SIGSEGV, SIGILL etc. in the application, which often makes debugging much more complicated if not impossible.
My advice: if you really want to do that, then also provide a way to disable your non-default handler at run time without the need of recompiling.
BTW, better read about signal-safe and 'reentrant functions' (printf?) before write your handlers.