bitstadium / HockeySDK-iOS

HockeyApp was retired and the SDKs are deprecated. Please use App Center instead.
https://github.com/microsoft/appcenter-sdk-apple
Other
597 stars 268 forks source link

BITFeedbackMessageAttachment setData Crash iOS9 #395

Closed bbeversdorf closed 7 years ago

bbeversdorf commented 7 years ago

When prepareWithItems is called on an iOS9 device, the application will crash when setData is called. This does not crash on iOS10 devices. When [self->_internalData writeToFile:self.filename atomically:NO]; is set to [self->_internalData writeToFile:self.filename atomically:YES]; it appears to work as expected (I am not sure of the implications though).

Attached is a simple test case.

HACrash.zip

ElektrojungeAtWork commented 7 years ago

Hey @bbeversdorf,

Wow, thanks for this! I'm able to repro this thanks to your demo and have the PR ready. There will be a new release of the SDK, possibly next week. I'm keeping you updated on this.

Again, thanks a lot!

Benny

ElektrojungeAtWork commented 7 years ago

This was fixed as of 4.1.4 of the SDK.