|
From: Christian P. <tr...@ge...> - 2005-08-27 16:06:18
|
On Saturday 27 August 2005 12:25, Jeroen N. Witmond wrote: > SIGQUIT (CTRL-\) is a stronger version of SIGINT (CTRL-C). The default > action is to dump core and terminate, whereas the default action of SIGINT > is just to terminate. But for the fact that it mostly originates from the > keyboard, SIGQUIT is used here for what it is intended for. Any other core > dumping signal (e.g. SIGSEGV) could be used, but that opens the door to > confusion, as they suggest errors that aren't there. (See also `man 7 > signals`.) Thanks! I implemented it, and it works :-D I'm now wondering on what the hell is all dumped in the core files (strings= =20 that shouldn't be there (anymore)), so, might it be, that=20 free()/delete/delete[] keeps the mmap()d regions for reuse, or did I maybe= =20 found some strings that leaked? Hm... I'll investigate on this tonight :) Thanks, Christian Parpart. |