This commit is contained in:
parent
f9c5f32a89
commit
71c033f421
|
@ -177,10 +177,14 @@ void setSignals() {
|
|||
|
||||
}
|
||||
void signal_handler(int sig)
|
||||
{
|
||||
{ bool waitForGDB=true; long long iSaidWaitBiatch = 100000000000L, i;
|
||||
|
||||
switch(sig) {
|
||||
case SIGSEGV:
|
||||
theseLogs->logN(0,"SEGV ABEND.");
|
||||
if (waitForGDB) {
|
||||
for (i = 0;i < iSaidWaitBiatch;i++);
|
||||
}
|
||||
exit(NOT_OK);
|
||||
break;
|
||||
case SIGUSR1:
|
||||
|
|
Loading…
Reference in New Issue