Skip to content
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 for iPhone 5S #93

Closed
gautamjain987 opened this issue Jan 10, 2014 · 13 comments
Closed

Crash for iPhone 5S #93

gautamjain987 opened this issue Jan 10, 2014 · 13 comments

Comments

@gautamjain987
Copy link

The date picker is crashing for iPhone 5S. Works for all other devices and iPad as well.
Tested on multiple 5S's. The callback returns nil date.

@ma2kubo
Copy link

ma2kubo commented Jan 10, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Gautam <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>
Subject: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@YUlterior
Copy link

I don't have iPhone 5s but Apple has rejected because of the reason.
I did many testing in my iPhone 5 and in very rare case I am getting below crash. Not able to replicate, It happens once out of 25 testing.

-[NSDateComponents eventForDatePicker:]: unrecognized selector sent to instance 0x14e86be0

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSDateComponents eventForDatePicker:]: unrecognized selector sent to instance 0x14e86be0'

@ma2kubo
Copy link

ma2kubo commented Jan 16, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Yatin Chauhan <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@whuxujiyuan
Copy link

me too, the crash is NSURLConnectionInternalConnection eventForDatePicker:]: unrecognized selector sent to instance 0x180f4650

@ma2kubo
Copy link

ma2kubo commented Jan 22, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: whuxujiyuan <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@ivorst
Copy link

ivorst commented Feb 4, 2014

Is this still an issue? If this is a showstopper for Apple, it is a serious problem!

@ma2kubo
Copy link

ma2kubo commented Feb 4, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: ivorst <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@ramakrishnachunduri
Copy link

The Issue persists with the latest version as well , appears to be serious problem

@ma2kubo
Copy link

ma2kubo commented Mar 7, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: ramakrishnachunduri <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@mike-williams
Copy link

I was getting a bad access crash from datepicker on 64bit devices. I changed architecture to armv7, armv7s and the crash disappeared.

@ma2kubo
Copy link

ma2kubo commented Mar 10, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Mike Williams <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@barmat
Copy link

barmat commented Mar 20, 2014

You could try the fix from my pull request: #99

@ma2kubo
Copy link

ma2kubo commented Mar 20, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: mattbarrah <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@gautamjain987
Copy link
Author

I didn't check the pull request, but I used NSUserDefaults from where I was getting the date to the callback method. It's not a real solution, but a solid fix.

@ma2kubo
Copy link

ma2kubo commented Apr 3, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Gautam <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@skywinder
Copy link
Collaborator

This bug already fixed in 1.0.4.
I don't have rights to update Pod.
(Because owner of this Pod not me, even not Tim, - TheEskil (https://github.com/TheEskil/)
I send him a pull request and I hope he update this pod soon.

Now you can use my up-to-date version of ActionSheetPicker (ActionSheetPicker-3.0)
pod 'ActionSheetPicker-3.0', '~> 1.0.3'
Now it exactly the same as master branch of TimCinel's branch.
I'll let you know, when this branch will be able to update to last version.

@ma2kubo
Copy link

ma2kubo commented May 26, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Petr Korolev <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [ActionSheetPicker] Crash for iPhone 5S (#93)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@ypresto
Copy link

ypresto commented Oct 31, 2014

I have similar issue on ActionSheetPicker-3.0 (1.1.13), crashes when dismissing view controller while dismiss animation of ActionSheetDatePicker is running.

Got below stacktrace:

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x2713ff87 __exceptionPreprocess + 126
1  libobjc.A.dylib                0x3489ec77 objc_exception_throw + 38
2  CoreFoundation                 0x2714537d __methodDescriptionForSelector
3  CoreFoundation                 0x27143259 ___forwarding___ + 712
4  CoreFoundation                 0x27074d68 _CF_forwarding_prep_0 + 24
5  UIKit                          0x2a5ef497 -[UIApplication sendAction:to:from:forEvent:] + 70
6  UIKit                          0x2a5ef439 -[UIControl sendAction:to:forEvent:] + 44
7  UIKit                          0x2a5da04d -[UIControl _sendActionsForEvents:withEvent:] + 584
8  UIKit                          0x2a819879 -[UIPickerView _sendSelectionChangedForComponent:notify:] + 92
9  UIKit                          0x2ab04cfb -[UIPickerTableView _scrollingFinished] + 154
10 UIKit                          0x2a6b0cd5 -[UIScrollView(UIScrollViewInternal) _delegateScrollViewAnimationEnded] + 68
11 UIKit                          0x2a6b0c51 -[UIScrollView(UIScrollViewInternal) _scrollViewAnimationEnded:finished:] + 184
12 UIKit                          0x2ab04467 -[UIPickerTableView _scrollViewAnimationEnded:finished:] + 42
13 UIKit                          0x2a75a935 -[UIAnimator stopAnimation:] + 476
14 UIKit                          0x2a75a309 -[UIAnimator(Static) _advanceAnimationsOfType:withTimestamp:] + 304
15 UIKit                          0x2a75a1d5 -[UIAnimator(Static) _LCDHeartbeatCallback:] + 52
16 QuartzCore                     0x2a033d7b CA::Display::DisplayLinkItem::dispatch() + 98
17 QuartzCore                     0x2a033be3 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 366
18 IOMobileFramebuffer            0x2e8e382f IOMobileFramebufferVsyncNotifyFunc + 90
19 IOKit                          0x2806351d IODispatchCalloutFromCFMessage + 256
20 CoreFoundation                 0x270f5be5 __CFMachPortPerform + 132
21 CoreFoundation                 0x27106023 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
22 CoreFoundation                 0x27105fbf __CFRunLoopDoSource1 + 346
23 CoreFoundation                 0x271045e1 __CFRunLoopRun + 1608
24 CoreFoundation                 0x27051db1 CFRunLoopRunSpecific + 476
25 CoreFoundation                 0x27051bc3 CFRunLoopRunInMode + 106
26 GraphicsServices               0x2e3dd051 GSEventRunModal + 136
27 UIKit                          0x2a61da31 UIApplicationMain + 1440
28 OurAppName                     0x000cc2e5 main (main.m:17)
29 libdyld.dylib                  0x34e3aaaf start + 2

ActionSheetDatePicker should call UIDatePicker removeTarget:, if c3dbfd4 from #26 is fact.

@skywinder
Copy link
Collaborator

@ypresto
As I mentioned in header of readme: "This version is deprecated: use ActionSheetPicker-3.0 instead." https://github.com/skywinder/ActionSheetPicker-3.0
Try to use new version and looking forward for your feedback!

@ypresto
Copy link

ypresto commented Oct 31, 2014

oh sorry, i was reporting to wrong repo :)

@skywinder
Copy link
Collaborator

@ypresto according your problem: try to update to latest version. It should fix your problem.

@ypresto
Copy link

ypresto commented Oct 31, 2014

skywinder#65 is exactly my problem. I'll update. Thanks for your fix!

jum pushed a commit to jum/ActionSheetPicker that referenced this issue Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants