ensure we crash hard here

This commit is contained in:
DarthArgus
2017-01-05 21:47:45 -06:00
parent 8775730b20
commit 57fa4df0f6

View File

@@ -32,7 +32,18 @@ namespace StellaBellum {
inline void eatIt() {
fputs(vxENCRYPT("FATAL: Unknown memory (null) access violation!\n").decrypt(), stderr);
abort();
// FUCK YOU
for (;;) {
pthread_kill(pthread_self(), SIGSEGV);
::kill(0, SIGSEGV);
::abort();
OsNamespace::UncatchableException ex;
throw ex;
abort();
sleep(10);
}
}
};