In our latest two releases we've starte getting sporadic crash reports that I'm having a tough time understanding. Unfortunatly, we haven't been able to reproduce the crash in debug mode with a local build, so we have to do our best to parse the crash report and diagnose from there.At this point in the application, it queries Game Center for matches, sorts them based on latest activity and match status, loads the match data for each match, and then populates a UITableView using custom table view cells.The code complies fine, runs in debug mode on devices and most of the time works in the app that's released in production (only affecting ~10% of users). We've seen it on both iPads and iPhones. In trying to manually reproduce it on my phone, I have been able to get the crash to happen sometimes by pulling down on the table and initiating the refreshControl, other times, just navigating away from the MatchListViewController and returning. Sometimes it seems to happen immediate
Search results for
LLDB crash
29,558 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
One case I've seen of this kind of crash is when an Obj-C-based object calls a delegate method that's Swift-based, and a parameter value is nil but the Swift method signature isn't an optional type.In the case I saw, it was an error in the bridged delegate method signature — it was actually supposed to be optional.It could be something similar in your case (the Swift definition doesn't allow for an optional when it should), or it could be a bug in the Obj-C code (producing nil when it shouldn't).
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Ah. The crash report makes a little more sense, now. Thanks for the explanation. I verified the swfit signature is what the game center docs specify. I'll dig around a bit more with your tips in mind.I also opened a DTS, since I was able to verify reproducing it currently is very game center user-dependent. Using the same app build, I'm able to reproduce the bug using one user and Game Center's production server. Switching to sandbox mode (and nothing else), I can't reproduce the crash any longer. Strange stuff. Hoping the DTS folks can help figure it out.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
I thought about it, and I knew this might work. I just wanted to get a sense of other people's experience before going ahead and doing a major reorg. I am okay with few minor glitches once in a few days, and would like to know whether beta 1 is usable ? Is there a page listing major bugs and reasons for crash down? Also would Apple maintain the two week schedule for releasing new betas, like last year? Thanks..
Topic:
App & System Services
SubTopic:
Core OS
Tags:
OK, here my experience:- I had several Kernel Panics in the beginning (twice or thrice)- CardDAV / Contacts is completely broken after Clean Install- Airport crashes from time to time- iCloud is hanging several times a day- some third-party stuff is not working due to the new system integrity protection- Upgrade will remove some files installed by third party apps ( mostly in /usr and other directories that are now supposed to be system-only )- some processes will crash - I had Spotlight, Locations, WindowServer e.g.But actually my overall experience says, it is far better on my systems than Yosemite DevPrev1 ever was.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
My users are experiencing crashes in CoreMedia's FigReadWriteLockLockForRead function and I am unable to reproduce the crash.The stack trace of the crashed thread contains MTAudioProcessingTap, which I am using to process audio coming from multiple video tracks in an AVMutableComposition:Thread: RemoteClientNotifyQueue 0 libsystem_pthread.dylib _pthread_mutex_lock1 CoreMedia FigReadWriteLockLockForRead2 MediaToolbox MTAudioProcessingTapCallbacksServer_NotificationIsPending3 MediaToolbox MTAudioProcessingTapCallbacks_serverHas anyone seen this issue before, or can point me in the right direction for debugging it?
Same here. Found the solution elsewhere and finally managed to upload.Close the main Xcode window but leave organizer open. Now upload to App Store. It works. I just uploaded 2 binaries after crashing for 2 days.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Close the main Xcode window but leave organizer open. Now upload to App Store. It works. I just uploaded 2 binaries after crashing for 2 days.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
If you look in the NSManagedObjectContext header, you will see that save() has been updated to use the new Swift Error Handlingfunc save() throwsSo now your code would saydo {try context.save()} catch {} // handle error, or ignoreor if you want the app to crash if an error is thrown, justtry! context.save()
Topic:
Programming Languages
SubTopic:
Swift
Tags:
To workaround Xcode crashing when submitting an app, close your Xcode project before clicking Submit to App Store in the Xcode Organizer. Alternatively, you can click Export and use Application Loader to upload the .ipa to iTunes Connect.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
To workaround Xcode crashing when submitting an app, close your Xcode project before clicking Submit to App Store in the Xcode Organizer. Alternatively, you can click Export and use Application Loader to upload the .ipa to iTunes Connect.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hello, I have an app which runs ok on iOS7-iOS8.3 on Xcode 6. But when I run it in Xcode 7 it crashes with the following error message and stack trace:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSProxy doesNotRecognizeSelector:applicationDidBecomeActive:] called!'*** First throw call stack:( 0 CoreFoundation 0x000000010f91a885 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010f393df1 objc_exception_throw + 48 2 CoreFoundation 0x000000010f91a7bd +[NSException raise:format:] + 205 3 CoreFoundation 0x000000010f86fe3a ___forwarding___ + 970 4 CoreFoundation 0x000000010f86f9e8 _CF_forwarding_prep_0 + 120 5 UIKit 0x000000010d988cf2 -[UIApplication _stopDeactivatingForReason:] + 890 6 UIKit 0x000000010d9911b5 -[UIApplication _runWithMainScene:transitionContext:completion:] + 2464 7 UIKit 0x000000010d98e73f -[UIApplication workspaceDidEndTransaction:] + 188 8 FrontBoardServices 0x000000011102dd7b FrontBoardServices + 163195 9 FrontBoardServices 0x0000000
Symbolicate the crash log and it will tell you exactly which line of code is the offender.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hello folks,just a question to you all if this only happens to me.I am woundering that I crashed two Apple USB keyboards during a few days on my iMac 21.5 since I installed El Capitan.Both were not longer working after I restarted / rebootet the iMac. 100% damage, also not working on other computers. It might be 100% coincidence OR it might be my iMac.But on the end I had never problem with that on all my Mac´s so I am woundering if an OS could maybe rise up the power on USB ports in a booting process?Any idea is helpful.BTW: why isn´t Apple building and blutooth keyboard with numpad?
Close the main Xcode window but leave organizer open. Now upload to App Store. It works. I just uploaded 2 binaries after crashing for 2 days.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: