-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXC_BREAKPOINT on LineChartRenderer.drawCircles #4049
Comments
I have the same issue ... I am still trying to reproduce it in my test environment. The crash starts to appear after updating the library from 3.2.2 to 3.3.0 (for fixing the issue 3915 ) |
Any advance in this? |
can you post the crash reason? and maybe debug a little? |
I need the crash reason, not just the stack. Can you send it? |
@caloon seems you can reliably reproduce it? Can you send a code snippet so I can reproduce with ChartsDemo? |
No, the issue did not occur when testing the app on my test device and I was not able to reproduce the issue. Only thing I have is the stack trace I received through Crashlytics and Xcode Debugger. |
then it's not easy to know where's the fault. Do you have line number for the crash? |
The way I see it, version 3.2.1 is the last stable build and I would strongly discourage anyone from using a newer version if they want to release a stable app. This is a serious issue that caused 5% of my users to experience crashes. |
I will use this thread for discussion. for #3891, you claim it's adding more issues, however I didn't see a clear reason that this new iterator is causing OOB issue, or, I don't know what to fix. #3891 is using a default iterator as it said I would like to fix it if any, asap, however so far I don't have a clue what is causing your crash. And, @caloon your crash is in scatter chart renderer, seems you can reproduce it? I need to reproduce it. This poster crashes at
which is different than yours, however both methods has
with blind guess that if we suspect #3891 is the trouble, at least we need to know what's crashing. |
and to everyone has similar crash, all I need is a reliable way to reproduce, if you find it's a rising crash rate. however so far we don't get one. The crash log is still hard to find what's wrong. If it's a very small portion, could it be some corner cases on your side? I tried single data entry and zero data entry, no crash for line chart and scatter chart. And if you manage to find the crash, the fix could be very fast and merged so I could release a new version this week. |
I was able to cause this crash by feeding in data with x Values out of order |
@liuxuan30 it seems min is 98 and max is 1 which breaks the iterator |
why it's causing the min and max the contrary? |
Hi @liuxuan30 Have you found the solution of this.I am also getting the same error. |
@liuxuan30 Hi I am also getting this error now on the production app but I am unable to replicate it. Same error tho |
Hope this isn't a red herring. I was getting this error, 100% reproducible in 3.5.0, XCode 12 beta.
I don't understand what it is even doing in drawCircles though, since I have them disabled. |
if you append, did you sort? Or is it related unsorted values to crash? It has been a long time for this and honestly I'm not sure what's the issue now |
Any update to this issue ? |
Any update to this issue ? |
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
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?
The text was updated successfully, but these errors were encountered: