How Quantify saves data upon a segmentation fault

Quantify installs a default handler that saves your data in the event of a segmentation violation. Quantify installs its handler before the code begins execution. If you install your own handler, Quantify calls it rather than the default handler. If you want to save data in that case, your handler should call the API functions quantify_save_data or quantify_save_data_to_file.