It may not work so well if you have a modal dialog window open when a SIGSEGV happens - hiding the main window may not hide the dialog.The second method worked very well. You are the best!
You could test this by adding a QDialog-based class to your app and override some event (like showEvent()) for the class. In that event, call "raise( SIGSEGV )" to trigger a segmentation fault signal, which should go into your handler. If hiding the main window also hides the dialog, all is good.
Bookmarks