-
Notifications
You must be signed in to change notification settings - Fork 140
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
crash on method "dateComponentsFromString:timeZone:range:fractionOfSecond" #31
Comments
What calendar and locale (if any) do you provide to the formatter? What architecture are the crashed users running on? What OS version are the crashed users running on? |
(Incidentally, the aforementioned test case does pass now that I've fixed the script that runs the iOS tests.) |
Hi guys, I got this crash happen a lot in our application, here is the log: http://crashes.to/s/ca2bd0ce36e
The crashes happen randomly, and we unable to figure it out whats the problem. Do you guys have any ideas? |
What calendar and locale (if any) do you provide to the formatter? What architecture are the crashed users running on? What OS version are the crashed users running on? Also, please attach the crash log to this bug rather than linking to a site that (a) doesn't work without JavaScript and (b) I have no idea how long that page or that site will last. |
@boredzo Calendar : Gregorian
|
@rudysuharyadi, that looks like a different crash. Please create a new issue for it. |
(and, @rudysuharyadi, please attach the entire crash report to your issue—there are often vital clues lurking elsewhere in the crash report besides the crashed thread's stack trace) |
@rudysuharyadi, please try 0.8—it fixes at least your crash. |
oo, thanks, will try it soon |
@boredzo What specific commit fixes this issue? I have a similar crash, though I don't use this library, but I would be interested if this helps me as well. |
Awesome explanation, thanks a lot! |
I am getting crash report from the wild that has the following stacktrace.
This is a result of calling "dateFromString" with a string "2013-10-09T13:00:00Z". This does not crash all the time since I can see that it works for other dates in my logs.
I do however create an instance of ISO8601DateFormatter in my AppDelegate like the following.
The text was updated successfully, but these errors were encountered: