/* This is simply a process that segfaults */ #include #include #ifdef HAVE_SIGNAL_H #include #endif #include "disable-crash-handling.h" int main (int argc, char **argv) { _dbus_disable_crash_handling (); #ifdef HAVE_RAISE raise (SIGSEGV); #else { volatile char *p = NULL; *p = 'a'; } #endif return 0; }