src/crashcatcher.cpp

changeset 528
e38d199ef9aa
parent 514
d78fea0f664c
equal deleted inserted replaced
527:47c068f2e7e3 528:e38d199ef9aa
30 static void handleCrash (int sig) 30 static void handleCrash (int sig)
31 { printf ("%s: crashed with signal %d, launching gdb\n", __func__, sig); 31 { printf ("%s: crashed with signal %d, launching gdb\n", __func__, sig);
32 32
33 if (g_crashCatcherActive) 33 if (g_crashCatcherActive)
34 { printf ("caught signal while crash catcher is active!\n"); 34 { printf ("caught signal while crash catcher is active!\n");
35 return; 35 exit (149);
36 } 36 }
37 37
38 const pid_t pid = getpid(); 38 const pid_t pid = getpid();
39 QProcess proc; 39 QProcess proc;
40 QTemporaryFile commandsFile; 40 QTemporaryFile commandsFile;

mercurial