Crash in ShinobiChartsPremium 2.9.2 on iOS


#1

Hello,

after updating my app I started receiving crash reports which seem to be related to ShinobiCharts (see below). I’m not aware of any change in my app related to ShinobiCharts so I rather suspect a bug in the library. This crash seems to be rather rare (and I haven’t been able to reproduce it myself). Is this a known issue? I noticed 2.9.3 has been released in the meantime, has it been fixed there?

Thanks,

Jiri

Date/Time: 2017-02-07T15:20:51Z
Launch Time: 2017-02-07T15:20:30Z
OS Version: iPhone OS 10.2.1 (14D27)
Report Version: 104

Exception Type: SIGABRT
Exception Codes: #0 at 0x188d7f014
Crashed Thread: 0

Application Specific Information:
*** Terminating app due to uncaught exception ‘char const*’, reason: ‘wrong texture index for built-in texture - check BuiltInTextureCount’

Last Exception Backtrace:
0 NetworkAnalyzer 0x00000001002ccccc SChartGL::GLResources::addTexture(void*, unsigned int, unsigned int, unsigned int, int, int, int, int, bool, bool) + 132
1 NetworkAnalyzer 0x00000001002ccdb0 SChartGL::GLResources::addTexture(void*, unsigned int, unsigned int, unsigned int) + 104
2 NetworkAnalyzer 0x00000001002cc724 SChartGL::GLResources::setupTextures() + 708
3 NetworkAnalyzer 0x00000001002cc1f8 SChartGL::GLResources::GLResources(std::__1::shared_ptr<SChartGL::ErrorHandlerHandle const>) + 1688
4 NetworkAnalyzer 0x00000001002cc83c SChartGL::GLResources::GLResources(std::_1::shared_ptr<SChartGL::ErrorHandlerHandle const>) + 24
5 NetworkAnalyzer 0x000000010029c734 SChartGL::Drawer::Drawer(bool, SChartGL::ErrorHandlerHandle const*) + 284
6 NetworkAnalyzer 0x000000010029c9fc SChartGL::Drawer::Drawer(bool, SChartGL::ErrorHandlerHandle const*) + 44
7 NetworkAnalyzer 0x0000000100226b4c -[SChartGLView drawer] + 188
8 NetworkAnalyzer 0x0000000100226c98 -[SChartGLView reset] + 100
9 NetworkAnalyzer 0x0000000100226d2c -[SChartGLView beginRenderWithReloadedData:] + 72
10 NetworkAnalyzer 0x000000010022d154 -[SChartCanvas drawChart:] + 1148
11 NetworkAnalyzer 0x0000000100229378 -[SChartCanvasRenderView drawRect:] + 76
12 UIKit 0x000000018fceba60 -[UIView(CALayerDelegate) drawLayer:inContext:] + 404
13 QuartzCore 0x000000018d11159c -[CALayer drawInContext:] + 256
14 QuartzCore 0x000000018d110b4c CA::Layer::display
() + 816
15 QuartzCore 0x000000018d106314 CA::Layer::display_if_needed(CA::Transaction*) + 224
16 QuartzCore 0x000000018d106398 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 40
17 QuartzCore 0x000000018d0833e0 CA::Context::commit_transaction(CA::Transaction*) + 248
18 QuartzCore 0x000000018d0aaa68 CA::Transaction::commit() + 508
19 QuartzCore 0x000000018d0ab488 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 116
20 CoreFoundation 0x0000000189d5e0c0 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 28
21 CoreFoundation 0x0000000189d5bcf0 __CFRunLoopDoObservers + 368
22 CoreFoundation 0x0000000189d5c180 __CFRunLoopRun + 1020
23 CoreFoundation 0x0000000189c8a2b8 CFRunLoopRunSpecific + 440
24 GraphicsServices 0x000000018b73e198 GSEventRunModal + 176
25 UIKit 0x000000018fcd17fc -[UIApplication _run] + 680
26 UIKit 0x000000018fccc534 UIApplicationMain + 204
27 NetworkAnalyzer 0x00000001001210b0 main (main.m:14)
28 libdyld.dylib 0x0000000188c6d5b8 start + 0


#2

Hi techet,

Thanks for getting in touch!

This bug has recently been brought to our attention and we are currently working on a fix that should be included in the next release.

I shall update this ticket when a version of ShinobiCharts containing the fix has been released.

Let me know if you have any questions.

Kind regards,
Andrew Polkinghorn.