When testing with an iPhone, my app keeps crashing in a certain scenario. Please see the console log when it happens:
Sep 7 15:00:07 myiPhone myApp1405[5291] \<Warning\>: Runtime error ?:0: attempt to compare number with nil stack traceback: [C]: ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\> Sep 7 15:00:08 myiPhone myApp1405[5291] \<Warning\>: RuntimeErrorNotification: Runtime error: ?:0: attempt to compare number with nil stack traceback: [C]: ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\> Sep 7 15:00:08 myiPhone myApp1405[5291] \<Warning\>: Runtime error stack traceback: [C]: ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\> Sep 7 15:00:08 myiPhone myApp1405[5291] \<Warning\>: RuntimeErrorNotification: Runtime error: stack traceback: [C]: ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\>
I have been commenting out my code to narrow down where it might cause the crash, but I can’t find anything. Usually if the crash happens in my code, it shows the source filename. However, in this case, it only shows “question mark”
Any idea? Any suggestion?
Thanks.