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
[SR-10959] App crashes randomly after upgrading to xCode 11 & Swift 5 #4000
Comments
Can you share the app with us? If not here, then just with Apple at https://feedbackassistant.apple.com? One thing to try right now is to continue after the exception is thrown, so it'll get printed to the console. |
Comment by Ido (JIRA) After the continue I'm getting this: Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) And the location of the error is on the same place (at Tried to search for this error, looks like it doesn't give much context as When I'm sending things to feedback assistant they usually responding in few weeks and taking care the issue completely in few months (sometimes even 6+). May I send you the app via email? |
I'm afraid it has to go through Feedback Assistant, but if you mention this JIRA bug we'll be able to connect them up within Apple. We are definitely reading the bugs filed through there on Xcode 11. |
Comment by Ido (JIRA) I've already opened a feedback there (#6163396), now I asked them to give you an access to the file of the project (that I've attached there). Note that the crashes are happens in the |
Comment by Ido (JIRA) I've just found this article: https://kakshilshahblog.wordpress.com/2016/10/02/finding-error-line-number-thread-1-sigabrt-error-exc_crash/ A life (time) saving pice of text. So looks like the error is happening right after setting the text of an cell.notesTextView.text = item.notes It crashing there only if |
Comment by Ido (JIRA) Looks like xCode 11 beta 2 fixed this weird issue, so closing here. Thank you for the help intention! |
Environment
macOS 10.14.4 (18E226)
xCode 11.0 beta (11M336w)
Additional Detail from JIRA
md5: 09a2e0b16ee440411ce23cd3849f74e1
Issue Description:
Since I've upgraded to xCode 11 with the iOS 13 SDK, my app crashes randomly with "Thread 1: signal SIGABRT" (that doesn't include any reason for it in the stack trace):
I'm trying for hours to debug the issue and really can't get into it, I think it's from the iOS 13/Swift 5, 'cause the app running great on iOS 12 with Swift 4.2.
*It's important to say that in this case I'm running the app via the simulator and not from real device (I don't want to download the iOS 13 beta to my main device right now), so it may be also something that related to the simulator/it's compiler.
The text was updated successfully, but these errors were encountered: