int main (string[] args) {
Stacktrace.register_handlers () ;
stdout.printf(" This program will crash !\n" ) ;
// Null deferencing
this_will_crash () ;
return 0 ;
}
The output is :
Signal intercepted:
SIGSEV
int main (string[] args) {
Stacktrace.register_handlers () ;
stdout.printf(" This program will crash !\n" ) ;
// Null deferencing
this_will_crash () ;
return 0 ;
}
The output is :
Signal intercepted:
SIGSEV