third_party/virtualbox/src/VBox/Frontends/VirtualBox/src/main.cpp
/** X11, Linux, Debug: Installs signal handler printing backtrace of the call stack. */
X11, Linux, Debug: Installs signal handler printing backtrace of the call stack.
X11 Linux Debug : Installs signal handler printing backtrace of the call stack .
static void InstallSignalHandler()
{
    struct sigaction sa;
    sa.sa_sigaction = BackTraceSignalHandler;
    sigemptyset(&sa.sa_mask);
    sa.sa_flags = SA_RESTART | SA_SIGINFO;
    sigaction(SIGSEGV, &sa, 0);
    sigaction(SIGBUS,  &sa, 0);
    sigaction(SIGUSR1, &sa, 0);
}
static void InstallSignalHandler ( ) { struct sigaction sa ; sa . sa_sigaction = BackTraceSignalHandler ; sigemptyset ( & sa . sa_mask ) ; sa . sa_flags = SA_RESTART | SA_SIGINFO ; sigaction ( SIGSEGV , & sa , 0 ) ; sigaction ( SIGBUS , & sa , 0 ) ; sigaction ( SIGUSR1 , & sa , 0 ) ; }
X11, Linux, Debug: Installs signal handler printing backtrace of the call stack.
X11 Linux Debug : Installs signal handler printing backtrace of the call stack .