parent
b857232514
commit
532573285d
|
@ -120,90 +120,116 @@ _e_backtrace_int(int fd __UNUSED__, const char *msg __UNUSED__, size_t msg_len _
|
||||||
EAPI void
|
EAPI void
|
||||||
e_sigseg_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
e_sigseg_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
|
char msg[1024];
|
||||||
|
|
||||||
_e_backtrace("**** SEGMENTATION FAULT ****");
|
_e_backtrace("**** SEGMENTATION FAULT ****");
|
||||||
_e_x_composite_shutdown();
|
_e_x_composite_shutdown();
|
||||||
ecore_x_pointer_ungrab();
|
ecore_x_pointer_ungrab();
|
||||||
ecore_x_keyboard_ungrab();
|
ecore_x_keyboard_ungrab();
|
||||||
ecore_x_ungrab();
|
ecore_x_ungrab();
|
||||||
ecore_x_sync();
|
ecore_x_sync();
|
||||||
e_alert_show("This is very bad. Enlightenment SEGV'd.\n"
|
snprintf(msg, sizeof(msg),
|
||||||
"\n"
|
"This is very bad. Enlightenment SEGV'd.\n"
|
||||||
"This is not meant to happen and is likely a sign of\n"
|
"\n"
|
||||||
"a bug in Enlightenment or the libraries it relies\n"
|
"This is not meant to happen and is likely a sign of\n"
|
||||||
"on. You can gdb attach to this process now to try\n"
|
"a bug in Enlightenment or the libraries it relies\n"
|
||||||
"debug it or you could exit, or just hit restart to\n"
|
"on. You can gdb attach to this process (%d) now\n"
|
||||||
"try and get your desktop back the way it was.\n"
|
"to try debug it or you could exit, or just hit\n"
|
||||||
"\n"
|
"restart to try and get your desktop back the way\n"
|
||||||
"Please compile everything with -g in your CFLAGS\n");
|
"it was.\n"
|
||||||
exit(-11);
|
"\n"
|
||||||
|
"Please compile everything with -g in your CFLAGS.\n",
|
||||||
|
getpid());
|
||||||
|
e_alert_show(msg);
|
||||||
|
exit(-11);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_sigill_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
e_sigill_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
|
char msg[1024];
|
||||||
|
|
||||||
_e_backtrace("**** ILLEGAL INSTRUCTION ****");
|
_e_backtrace("**** ILLEGAL INSTRUCTION ****");
|
||||||
_e_x_composite_shutdown();
|
_e_x_composite_shutdown();
|
||||||
ecore_x_pointer_ungrab();
|
ecore_x_pointer_ungrab();
|
||||||
ecore_x_keyboard_ungrab();
|
ecore_x_keyboard_ungrab();
|
||||||
ecore_x_ungrab();
|
ecore_x_ungrab();
|
||||||
ecore_x_sync();
|
ecore_x_sync();
|
||||||
e_alert_show("This is very bad. Enlightenment SIGILL'd.\n"
|
snprintf(msg, sizeof(msg),
|
||||||
"\n"
|
"This is very bad. Enlightenment SIGILL'd.\n"
|
||||||
"This is not meant to happen and is likely a sign of\n"
|
"\n"
|
||||||
"a bug in Enlightenment or the libraries it relies\n"
|
"This is not meant to happen and is likely a sign of\n"
|
||||||
"on. You can gdb attach to this process now to try\n"
|
"a bug in Enlightenment or the libraries it relies\n"
|
||||||
"debug it or you could exit, or just hit restart to\n"
|
"on. You can gdb attach to this process (%d) now\n"
|
||||||
"try and get your desktop back the way it was.\n"
|
"to try debug it or you could exit, or just hit\n"
|
||||||
"\n"
|
"restart to try and get your desktop back the way\n"
|
||||||
"Please compile everything with -g in your CFLAGS\n");
|
"it was.\n"
|
||||||
|
"\n"
|
||||||
|
"Please compile everything with -g in your CFLAGS.\n",
|
||||||
|
getpid());
|
||||||
|
e_alert_show(msg);
|
||||||
exit(-11);
|
exit(-11);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_sigfpe_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
e_sigfpe_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
|
char msg[1024];
|
||||||
|
|
||||||
_e_backtrace("**** FLOATING POINT EXCEPTION ****");
|
_e_backtrace("**** FLOATING POINT EXCEPTION ****");
|
||||||
_e_x_composite_shutdown();
|
_e_x_composite_shutdown();
|
||||||
ecore_x_pointer_ungrab();
|
ecore_x_pointer_ungrab();
|
||||||
ecore_x_keyboard_ungrab();
|
ecore_x_keyboard_ungrab();
|
||||||
ecore_x_ungrab();
|
ecore_x_ungrab();
|
||||||
ecore_x_sync();
|
ecore_x_sync();
|
||||||
e_alert_show("This is very bad. Enlightenment SIGFPE'd.\n"
|
snprintf(msg, sizeof(msg),
|
||||||
"\n"
|
"This is very bad. Enlightenment SIGFPE'd.\n"
|
||||||
"This is not meant to happen and is likely a sign of\n"
|
"\n"
|
||||||
"a bug in Enlightenment or the libraries it relies\n"
|
"This is not meant to happen and is likely a sign of\n"
|
||||||
"on. You can gdb attach to this process now to try\n"
|
"a bug in Enlightenment or the libraries it relies\n"
|
||||||
"debug it or you could exit, or just hit restart to\n"
|
"on. You can gdb attach to this process (%d) now\n"
|
||||||
"try and get your desktop back the way it was.\n"
|
"to try debug it or you could exit, or just hit\n"
|
||||||
"\n"
|
"restart to try and get your desktop back the way\n"
|
||||||
"Please compile everything with -g in your CFLAGS\n");
|
"it was.\n"
|
||||||
|
"\n"
|
||||||
|
"Please compile everything with -g in your CFLAGS.\n",
|
||||||
|
getpid());
|
||||||
|
e_alert_show(msg);
|
||||||
exit(-11);
|
exit(-11);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_sigbus_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
e_sigbus_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
|
char msg[1024];
|
||||||
|
|
||||||
_e_backtrace("**** BUS ERROR ****");
|
_e_backtrace("**** BUS ERROR ****");
|
||||||
_e_x_composite_shutdown();
|
_e_x_composite_shutdown();
|
||||||
ecore_x_pointer_ungrab();
|
ecore_x_pointer_ungrab();
|
||||||
ecore_x_keyboard_ungrab();
|
ecore_x_keyboard_ungrab();
|
||||||
ecore_x_ungrab();
|
ecore_x_ungrab();
|
||||||
ecore_x_sync();
|
ecore_x_sync();
|
||||||
e_alert_show("This is very bad. Enlightenment SIGILL'd.\n"
|
snprintf(msg, sizeof(msg),
|
||||||
"\n"
|
"This is very bad. Enlightenment SIGBUS'd.\n"
|
||||||
"This is not meant to happen and is likely a sign of\n"
|
"\n"
|
||||||
"a bug in Enlightenment or the libraries it relies\n"
|
"This is not meant to happen and is likely a sign of\n"
|
||||||
"on. You can gdb attach to this process now to try\n"
|
"a bug in Enlightenment or the libraries it relies\n"
|
||||||
"debug it or you could exit, or just hit restart to\n"
|
"on. You can gdb attach to this process (%d) now\n"
|
||||||
"try and get your desktop back the way it was.\n"
|
"to try debug it or you could exit, or just hit\n"
|
||||||
"\n"
|
"restart to try and get your desktop back the way\n"
|
||||||
"Please compile everything with -g in your CFLAGS\n");
|
"it was.\n"
|
||||||
|
"\n"
|
||||||
|
"Please compile everything with -g in your CFLAGS.\n",
|
||||||
|
getpid());
|
||||||
|
e_alert_show(msg);
|
||||||
exit(-11);
|
exit(-11);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_sigabrt_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
e_sigabrt_act(int x __UNUSED__, siginfo_t *info __UNUSED__, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
|
char msg[1024];
|
||||||
|
|
||||||
_e_backtrace("**** ABORT ****");
|
_e_backtrace("**** ABORT ****");
|
||||||
_e_x_composite_shutdown();
|
_e_x_composite_shutdown();
|
||||||
ecore_x_pointer_ungrab();
|
ecore_x_pointer_ungrab();
|
||||||
|
|
Loading…
Reference in New Issue