Crash on method start (name/declaration)

crashlytics says:

#0

Crashed: com.apple.main-thread

EXC_BAD_INSTRUCTION 0x0000000000000000


ENNowViewController.m line 398

-[ENNowViewController configureViewController]



But at line 398, its a method start:



Note: configureViewController is called from viewDidLoad (on app launch after a kill).


Any clue on how to debug this?

Replies

Mapping a crashing address to a line number can be tricky in the presence of optimised code. Does you crash reporter show you crashing address? Or the offset into the method? If so, you can disassemble the method to get a handle on how you got there. If not, well, you need a better crash reporter.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"