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

Fatal Exception: Crash on iPhone 5 c #456

Closed
jasonvattenx opened this issue Oct 19, 2016 · 6 comments
Closed

Fatal Exception: Crash on iPhone 5 c #456

jasonvattenx opened this issue Oct 19, 2016 · 6 comments
Labels

Comments

@jasonvattenx
Copy link

jasonvattenx commented Oct 19, 2016

On an iPhone 5 c, on page load, the app crashes. The error is in FSCalendarExtensions.m in line 195: PARAM_BASIC_TYPES(char, charValue).

If I comment out that line, it does not crash. I only see this on an iPhone 5 C device, have tested it on other devices, and it does not happen in simulator for the other iPhone 5 versions.

@jasonvattenx jasonvattenx changed the title Crash on iPhone 5 c on page load Fatal Exception: Crash on iPhone 5 c Oct 19, 2016
@WenchaoD
Copy link
Owner

Is there a stack trace for this?

@jasonvattenx
Copy link
Author

jasonvattenx commented Oct 20, 2016

Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x1c09ee07 exceptionPreprocess
1 libobjc.A.dylib 0x1b2ff077 objc_exception_throw
2 CoreFoundation 0x1bfc3e3b -[NSInvocation setArgument:atIndex:]
3 AppName 0x118c63 -NSObject(FSCalendarExtensions) fs_performSelector:withObjects:
4 AppName 0x1b061f -FSCalendar initialize
5 AppName 0x1afd4f -FSCalendar initWithCoder:
6 UIKit 0x215cc08f (Missing)
7 UIKit 0x2170ba6f (Missing)
8 UIKit 0x2170b717 (Missing)
9 UIKit 0x215cbda7 (Missing)
10 UIKit 0x2170ba6f (Missing)
11 UIKit 0x2170b9c5 (Missing)
12 UIKit 0x2170b717 (Missing)
13 UIKit 0x215cb2b7 (Missing)
14 UIKit 0x214463b1 (Missing)
15 UIKit 0x21222c4b (Missing)
16 UIKit 0x210eedd7 (Missing)
17 UIKit 0x21106ad7 (Missing)
18 UIKit 0x2128d8dd (Missing)
19 UIKit 0x211a5e77 (Missing)
20 UIKit 0x211a5b1f (Missing)
21 UIKit 0x211a5a99 (Missing)
22 UIKit 0x210ec5d5 (Missing)
23 QuartzCore 0x1ef161e9 (Missing)
24 QuartzCore 0x1ef0a3ff (Missing)
25 QuartzCore 0x1ef0a28f (Missing)
26 QuartzCore 0x1ee9ad7b (Missing)
27 QuartzCore 0x1eeb9345 (Missing)
28 UIKit 0x210e268f (Missing)
29 CoreFoundation 0x1c05a485 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION

30 CoreFoundation 0x1c058701 __CFRunLoopDoObservers
31 CoreFoundation 0x1c058b17 __CFRunLoopRun
32 CoreFoundation 0x1bfa8073 CFRunLoopRunSpecific
33 CoreFoundation 0x1bfa7e81 CFRunLoopRunInMode
34 GraphicsServices 0x1d753bfd GSEventRunModal
35 UIKit 0x2115a82f (Missing)
36 UIKit 0x21154f61 (Missing)
37 AppName 0x1855eb main (main.m:14)
38 libdispatch.dylib 0x1b77250b (Missing)

@WenchaoD WenchaoD added the iOS10 label Oct 20, 2016
@jasonvattenx
Copy link
Author

Extra info - the Fatal Exception happened in an older version of iOS also. To test out, the device was upgraded to iOS10. Error happened in both the older iOS version and now iOS10.

@WenchaoD
Copy link
Owner

The function wouldn't get called in older version than iOS10. Please test the fix in this branch.

@jasonvattenx
Copy link
Author

Cool.

Tested, verified, fix works on an iPhone 5 c device.

Thanks a lot! When the app goes live I will send a screen shot - your library is amazing!

@WenchaoD
Copy link
Owner

Thanks @jasonvattenx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants