When opening this profile in the profile editor on OSX, the application throws a segmentation fault. It throws it when trying to close the filestream in the 'FileIO' class. This is because somewhere down the line, the value of the 'fstr' variable gets changed to some weird value, and then the program treats it like an address. This comes from the call to 'gpd->Close()' on line 117 in 'gpduploader.cpp'. Commenting out the call to 'CleanGPD' solves the issue, but that's not a solution. The really strange part of it is, if all the cleaning code in the XDBF class is commented out the same thing still happens. This segmentation fault is not present on Windows systems (Linux is yet to be tested).
When opening this profile in the profile editor on OSX, the application throws a segmentation fault. It throws it when trying to close the filestream in the 'FileIO' class. This is because somewhere down the line, the value of the 'fstr' variable gets changed to some weird value, and then the program treats it like an address. This comes from the call to 'gpd->Close()' on line 117 in 'gpduploader.cpp'. Commenting out the call to 'CleanGPD' solves the issue, but that's not a solution. The really strange part of it is, if all the cleaning code in the XDBF class is commented out the same thing still happens. This segmentation fault is not present on Windows systems (Linux is yet to be tested).