So I tracked down the cause of the FPE (Floating Point Exception), thanks to one of the people reporting the bug providing me with a kernel dump. The reason why I couldn’t reproduce the error is obvious, I am on an x86_64 kernel, the error would only occur on systems running legacy_kernel which forces i386 only operation. The cause? I was using a long integer for calculating the byte count for file transfers…
Why is this a problem on i386 systems?
64bit systems have a long integer range of −9223372036854775808 to +9223372036854775807
32bit systems only have a range of −2147483648 to +2147483647
So when the byte count reached over +2147483647 it starts subtracting and goes all the way back to −2147483648, then division by zero happens and the universe unravels.
Ok so enough jargon, let me get to the good stuff – the download:
Summary of changes from myHack 2.0 Release Candidate 3:
- Bugfix: Resolved floating point exception on i386 systems
- Increased resolution on file transfers that are less than 1MB to 1KB for more accurate reporting
- Updated Chameleon to revision 1332
- Updated Patched_10.7_AppleRTC.kext to new version see blackosx’s comment HERE for details
- myHack now installs Chameleon modules
- Cleaned up and further optimized code – should launch faster now
- Removed x86_64 instructions to lighten binary further
- Updated myHack Chameleon theme
Added arch=i386 kernel flag to default org.chameleon.Boot.plist
Todo:
- Update myFix
- Something special that will be revealed once it is ready
Make sure to read the release pages for myHack 2.0 RC1, RC2, and RC3 if you have not done so already, for a complete list of changes, contents and features.
Additional details of the myHack app’s contents will be maintained on the downloads page. Credits and further instructions will be maintained on the guide page.
Feel free to comment on this post but for support or to report a problem you encounter – please use the newly opened myHack forum instead.
