}
if (hasException()) {
- write(2, "Unhandled exception is occured. Ignore coredump creation and terminate normally\n", 80);
- exit(0);
+ write(2, "******************************************************\n", 55);
+ write(2, "Unhandled exception is occured. check application code\n", 55);
+ write(2, "******************************************************\n", 55);
+ }
+
+ checkOnSigabrt = true;
+ if (sigaction(SIGABRT, &sig_abrt_old, NULL) == 0) {
+ if (raise(signum) < 0) {
+ write(2, "Fail to raise SIGABRT\n", 22);
+ }
} else {
write(2, "SIGABRT from native. raise SIGABRT\n", 35);
checkOnSigabrt = true;