hetelek / Velocity

A cross-platform application built using the Qt framework that allows you to browse and edit Xbox 360 files.
GNU General Public License v3.0
163 stars 47 forks source link

Profile Editor Crashing when Opening on OSX #3

Closed Experiment5X closed 11 years ago

Experiment5X commented 11 years ago

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).