iOS 8 crash on some devices, but not all


#1

Hi there,

I’ve inherited an iOS project that uses shinobicharts LineSeries with a lot of data points (anywhere from 1000 to 30000).

As of iOS8 users on particular devices have had troubles with crashing when panning/zooming the chart.

The specific devices having trouble are iPad Air and iPad Mini (retina). Neither device crashed on iOS 7, only when updating to iOS 8 and using the existing build in the app store. I’ve updated to 2.7.3-hotfix 1 and rebuilt, however these devices are still having the issue (while other devices, eg iPad Mini non-retina, running iOS 8 aren’t crashing).

Based on this page https://developer.apple.com/library/ios/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/OpenGLESPlatforms/OpenGLESPlatforms.html  it seems to be the openGL ES 3.0 compatible devices that are crashing, but that may be a coincidence.

As I didn’t make the project from scratch I’m not certain whether this is on our end, SC’s end or Apple’s end, and the crash log (see below) hasn’t offered me a lot to go by.

Any ideas on where I could look at fixing this?

Thanks!

 Edit: Some extra info, most googling points me to people that have this issue when backgrounding their app however this crash happens to me running the app from launch and never backgrounding it, and the crash happens while actively zooming/panning the chart.

Also it looks like the crashing devices are 64-bit, while the 32-bit devices are fine?

| 0 | OUR_APP | 0x10025d7e7 | testflight_backtrace |
| 1 | OUR_APP | 0x10025cdeb | TFSignalHandler |
| 2 | libsystem_platform.dylib | 0x1973ec95b | _sigtramp |
| 3 | libGPUSupportMercury.dylib | 0x18e9d3127 | gpusSubmitDataBuffers |
| 4 | GLEngine | 0x189b84263 | gliPresentViewES_Exec |
| 5 | GLEngine | 0x189b84167 | gliPresentViewES |
| 6 | OpenGLES | 0x189b93c7f | -[EAGLContext presentRenderbuffer:] |
| 7 | OUR_APP | 0x1001a06ef | -[SChartGLView endRender] |
| 8 | OUR_APP | 0x1001a62df | -[SChartCanvas drawChart:] |
| 9 | OUR_APP | 0x1001a17fb | -[SChartCanvasRenderView drawRect:] |
| 10 | UIKit | 0x18a89e9cf | -[UIView(CALayerDelegate) drawLayer:inContext:] |
| 11 | QuartzCore | 0x18a1a1c13 | -[CALayer drawInContext:] |
| 12 | QuartzCore | 0x18a18b1bb | _ZN2CA5Layer8display_Ev |
| 13 | QuartzCore | 0x18a16c75b | _ZN2CA5Layer17display_if_neededEPNS_11TransactionE |
| 14 | QuartzCore | 0x18a16c413 | _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE |
| 15 | QuartzCore | 0x18a16bc07 | _ZN2CA7Context18commit_transactionEPNS_11TransactionE |
| 16 | QuartzCore | 0x18a16b98b | _ZN2CA11Transaction6commitEv |
| 17 | UIKit | 0x18a81b947 | _UIApplicationHandleEventQueue |
| 18 | CoreFoundation | 0x1860260e7 | __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ |
| 19 | CoreFoundation | 0x18602538b | __CFRunLoopDoSources0 |
| 20 | CoreFoundation | 0x18602343b | __CFRunLoopRun |
| 21 | CoreFoundation | 0x185f511f3 | CFRunLoopRunSpecific |
| 22 | GraphicsServices | 0x18f0b35a3 | GSEventRunModal |
| 23 | UIKit | 0x18a882783 | UIApplicationMain |
| 24 | OUR_APP | 0x1000408a7 | main in main.m on Line 16 |
| 25 | libdyld.dylib | 0x19723ea07 | start |
| 26 |   | 0xffffffffffffffff | 0xffffffffffffffff |


#2

Any ideas anybody?


#3

Hi bernord,

Thanks for getting in touch!

We aren’t currently aware of any crashes that are specific to those devices.

Is there any chance you can manipulate one of our sample apps to replicate your issue and send it to us at info@shinobicontrols.com?

This would really help us identify the source of your issue.

Kind regards,
Andrew Polkinghorn