EXC_BREAKPOINT on LineChartRenderer.drawCircles
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I need to show Line graphs. I use regular API of Charts to show any graph, and it works perfectly in most case, but i receive in crashlyhtics some errors:
**Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x00000001060e9ad4**
> Crashed: com.apple.main-thread
> 0 Charts 0x1060e9ad4 LineChartRenderer.drawCircles(context:) + 108 (BarLineScatterCandleBubbleRenderer.swift:108)
> 1 Charts 0x106052f44 BarLineChartViewBase.draw(_:) + 237 (BarLineChartViewBase.swift:237)
> 2 Charts 0x106053f9c @objc BarLineChartViewBase.draw(_:) ()
> 3 UIKitCore 0x1edade560 -[UIView(CALayerDelegate) drawLayer:inContext:] + 460
> 4 QuartzCore 0x1c53395c4 -[CALayer drawInContext:] + 296
> 5 QuartzCore 0x1c521d970 CABackingStoreUpdate_ + 176
> 6 QuartzCore 0x1c53400d0 invocation function for block in CA::Layer::display_() + 52
> 7 QuartzCore 0x1c5338e88 -[CALayer _display] + 1520
> 8 QuartzCore 0x1c52a1388 CA::Context::commit_transaction(CA::Transaction*) + 532
> 9 QuartzCore 0x1c52cf330 CA::Transaction::commit() + 640
> 10 QuartzCore 0x1c52cff20 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
> 11 CoreFoundation 0x1c0e165f8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
> 12 CoreFoundation 0x1c0e11320 __CFRunLoopDoObservers + 412
> 13 CoreFoundation 0x1c0e1189c __CFRunLoopRun + 1228
> 14 CoreFoundation 0x1c0e110b0 CFRunLoopRunSpecific + 436
> 15 GraphicsServices 0x1c301179c GSEventRunModal + 104
> 16 UIKitCore 0x1ed647978 UIApplicationMain + 212
> 17 Easynvest 0x104ac72d4 main + 17 (main.swift:17)
> 18 libdyld.dylib 0x1c08d68e0 start + 4
## Charts Environment
**Charts version/Branch/Commit Number**: 3.3.0
**Xcode version**: 10.2.1
**Swift version**: Swift 5
**Platform(s) running Charts**: IOS
**macOS version running Xcode**: 10.14.5
Unfortunally i dont have any scenario to reproduce this, any idea how to solve this problem?
Contributor guide
Assessment
This issue has not been assessed yet.