Index: TestCases/Linux/signal_segv_handler.cc =================================================================== --- TestCases/Linux/signal_segv_handler.cc +++ TestCases/Linux/signal_segv_handler.cc @@ -13,12 +13,11 @@ // "benign" SEGVs that are handled by signal handler, and ensures that // the process survive. -// REQUIRES: disabled - #include #include #include #include +#include void *guard; @@ -28,6 +27,8 @@ int main() { struct sigaction a, old; + memset(&a, 0, sizeof(a)); + memset(&old, 0, sizeof(old)); a.sa_sigaction = handler; a.sa_flags = SA_SIGINFO; sigaction(SIGSEGV, &a, &old);