EddyVerbruggen / cordova-plugin-actionsheet

:clipboard: ActionSheet plugin for Cordova iOS and Android apps
208 stars 72 forks source link

AutoReleasePool Crash on iOS10 #50

Open northkode opened 7 years ago

northkode commented 7 years ago

Not sure how to debug this... when launching the action sheet after a few times it crashes the app and the debugger goes to the autoreleasepool in main.m

I put it in a try catch but there is no error other then (llbl) No out put or anything.

And it only happens when i go to to the action menu after a couple of times.

EddyVerbruggen commented 7 years ago

Ugh that Xcode debugging experience is not the best in the world to say the least. I hope to find something, but I'll label this with 'help wanted' as well as it may be hard to figure out..

cengebretson commented 7 years ago

I was getting something similar using 2.2.0 version of actionsheet when on a device with iOS 10 installed. The best I got for debugging was enabling zombies during debug and I ended up with the log message of [_UIAlertControllerShimPresenterWindow release]: message sent to deallocated instance when the crash happened.

Good news though is that esting using code off the master branch, I haven't hit on any crashes yet when using actionsheet.