Debugging

RSS for tag

Discover and resolve issues with your app.

Pinned Posts

Posts under Debugging tag

408 Posts
Sort by:
Post not yet marked as solved
9 Replies
1.8k Views
Hello everyone! My app is getting a crash in the tableView(_:trailingSwipeActionsConfigurationForRowAt:) function. Apparently, the app is crashing when trying to get the indexPath.section value. I am attaching the crash log. This is not reproducible for me. I have the hunch that this might be related to some accessibility feature, but I have not been able to corroborate it yet. I am not sure how to solve this issue or how to move forward since I still don't know what is causing the app. Any advice or guidance is really appreciated. Thank you! Crashed: com.apple.main-thread EXC_BREAKPOINT 0x00000001bd99e0c8 Crashed: com.apple.main-thread 0&#9;libswiftUIKit.dylib&#9;&#9;&#9;&#9;&#9;&#9;0x1bd99e0c8 IndexPath.section.getter + 168 1&#9;MyApp&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1033697a4 TableDelegate.tableView(_:trailingSwipeActionsConfigurationForRowAt:) + 337 (TableDelegate.swift:337) 2&#9;MyApp&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x103369e58 @objc TableDelegate.tableView(_:trailingSwipeActionsConfigurationForRowAt:) + 4316896856 (<compiler-generated>:4316896856) 3&#9;UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad80b9cc -[UITableView _trailingSwipeConfigurationAtIndexPath:fromRemoveButton:] + 1892 4&#9;UIKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1f0935c34 -[UITableViewCellAccessibility _privateAccessibilityCustomActions] + 540 5&#9;UIAccessibility&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1bd9d8854 -[NSObject(AXPrivCategory) _retrieveCustomActionsForElement:] + 68 6&#9;UIAccessibility&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1bd9d8b0c -[NSObject(AXPrivCategory) _accessibilityCustomActions] + 220 7&#9;UIAccessibility&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1bd9f990c -[NSObjectAccessibility accessibilityRespondsToUserInteraction] + 424 8&#9;UIKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1f0952f6c -[UIViewAccessibility accessibilityRespondsToUserInteraction] + 124 9&#9;UIKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1f08f3440 -[UILabelAccessibility accessibilityRespondsToUserInteraction] + 120 10 UIKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1f0959678 -[UIViewAccessibility _isEligibleForFocusInteraction] + 124 11 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad07f4e4 _UIFocusEnvironmentIsEligibleForFocusInteraction + 64 12 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad0acb44 __UIFocusMapRecurseSearchForFocusSystemInEligibleContainer + 148 13 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad0c30f8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 64 14 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad0c32fc -[_UIFocusMapSnapshot addRegionsInContainers:] + 196 15 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1adad78cc -[UIView _searchForFocusRegionsInContext:] + 924 16 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad0c3178 -[_UIFocusMapSnapshot addRegionsInContainer:] + 192 17 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad0c32fc -[_UIFocusMapSnapshot addRegionsInContainers:] + 196 50 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ada9595c -[_UIAfterCACommitBlock run] + 64 51 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad5ff79c _runAfterCACommitDeferredBlocks + 296 52 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad5eeb4c _cleanUpAfterCAFlushAndRunDeferredBlocks + 200 53 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad620260 _afterCACommitHandler + 76 54 CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x1aad2fecc CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 32 55 CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x1aad2a5b0 __CFRunLoopDoObservers + 604 56 CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x1aad2aaf8 __CFRunLoopRun + 960 57 CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x1aad2a200 CFRunLoopRunSpecific + 572 58 GraphicsServices&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x1c0e25598 GSEventRunModal + 160 59 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad5f0004 -[UIApplication _run] + 1052 60 UIKitCore&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1ad5f55d8 UIApplicationMain + 164 61 MyApp&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x102d7d654 main + 16 (AppDelegate.swift:16) 62 libdyld.dylib&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;0x1aaa09598 start + 4 Full crash log - https://developer.apple.com/forums/content/attachment/4049d9cc-89db-4d2c-a4d9-d71127396799
Posted
by
Post not yet marked as solved
7 Replies
1.2k Views
On the crash reports, I am getting a lot of crashes with this crash report for two iOS 14 Widgets: Foundation&#9;&#9;_NSFileHandleRaiseOperationException .... SwiftUI&#9;&#9;&#9; FileArchiveWriter.AppendByes(_size:) .... My Widget&#9;&#9;&#9; closure #1 in MyTimelineProver.getTimeline(in:completion:) When checked within the project, this happens in: func getTimeline(in context: Self.Context, completion: @escaping (Timeline<Self.Entry>) -> Void) I have one timeline that asked to update every 5 mins.
Posted
by
Post not yet marked as solved
1 Replies
535 Views
My device is Apple Watch Series 5. It only support wifi. When I was debug in real machine. It can't connect to internet. The app is independent. But the system app can connect to internet. Why? Why? Why? And How to solve. code : let session = URLSession.shared     let task: URLSessionDataTask = session.dataTask(with: URLRequest(url: URL(string: "https://www.baidu.com/s?wd=iOS")!)) { [self] (data, response, error) in       if data == nil {                   print(error.debugDescription)       }     }     task.resume() error message : Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask &lt;FD086BDC-3051-469F-9280-0054CC8F0488&gt;.&lt;1&gt;, NSLocalizedDescription=The Internet connection appears to be offline., _kCFStreamErrorCodeKey=50, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "LocalDataTask &lt;FD086BDC-3051-469F-9280-0054CC8F0488&gt;.&lt;1&gt;",   "LocalDataPDTask &lt;FD086BDC-3051-469F-9280-0054CC8F0488&gt;.&lt;1&gt;",   "LocalDataTask &lt;FD086BDC-3051-469F-9280-0054CC8F0488&gt;.&lt;1&gt;" ), NSErrorFailingURLStringKey=https://www.baidu.com/s?wd=iOS, _kCFStreamErrorDomainKey=1, NSErrorFailingURLKey=https://www.baidu.com/s?wd=iOS})
Posted
by
Post not yet marked as solved
3 Replies
2.0k Views
I have added crash log, code is working perfectly fine when I compiled with XCode 11.6 & iOS 13 and iOS 14 also. But When I am compiling with XCode 12 and run on iOS 14 device. it will start crashing. Crash log - https://developer.apple.com/forums/content/attachment/e42cb9be-15b7-4fe7-b608-6008f7353aa1
Posted
by
Post marked as solved
6 Replies
1.8k Views
From the code below, I can't figure out why Preference key is not read from the view put in background of HStack. Strangely, If I put that BGViewSetter to the Text Views inside ForEach loop, it works. Unless I have ommitted something too obvious, it looks like a bug. Anybody can confirm it? Thanks xcode12.2 ios 14.2 struct BGViewSetter: View { &#9;&#9;var body: some View { &#9;&#9;&#9;&#9;GeometryReader { geometry in &#9;&#9;&#9;&#9;&#9;&#9;RoundedRectangle(cornerRadius: 25.0) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.fill(Color.init(#colorLiteral(red: 0.9372549057, green: 0.3490196168, blue: 0.1921568662, alpha: 1))) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.preference(key: TestRectPreferenceKey.self, &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;value: TestRectPreference(frame: geometry.frame(in: .global))) &#9;&#9;&#9;&#9;} &#9;&#9;} } &#9;&#9;struct FinalView : View &#9;&#9;{ &#9;&#9;&#9;&#9;@State var offsetX : CGFloat = .zero &#9;&#9;&#9;&#9;@State var info = "" &#9;&#9;&#9;&#9;@State var size : CGFloat = .zero &#9;&#9;&#9;&#9;var body: some View &#9;&#9;&#9;&#9;{ &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;VStack &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;{ &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Text("FinalView : \(info)") &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;HStack &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;{ &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;ForEach( 1 ..< 10) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;{ i in &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Text("\(i)") &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.frame(width: 100) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.opacity(0.8) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.background(BGViewSetter()) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.animation(.easeOut) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.gesture( &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;DragGesture() &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.onChanged &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;{ gesture in &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;self.offsetX = gesture.translation.width &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.onEnded &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;{ _ in &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;self.offsetX = .zero &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.offset(x: self.offsetX) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Text("Footer") &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Divider() &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Spacer() &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;.onPreferenceChange(TestRectPreferenceKey.self) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;{ &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;self.size = $0.frame.height &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;self.info = "Pref Chng : \(self.size)" &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;} &#9;&#9;} &#9;&#9;struct PreferenceKeyTest_Previews: PreviewProvider { &#9;&#9;&#9;&#9;static var previews: some View { &#9;&#9;&#9;&#9;&#9;&#9;FinalView() &#9;&#9;&#9;&#9;} &#9;&#9;}
Posted
by
Post not yet marked as solved
1 Replies
1.2k Views
My team is working on the arm64/universal conversion of a large application with lots of third-party dependencies, but while that work is in progress we are trying to support customers running the app under Rosetta on M1 macs. To that end it will be helpful if we can actually debug the x86&#92;&#95;64 build running under Rosetta on M1, but we see lots of instability when we try this. The app will not even launch if the thread sanitizer setting is turned off. Sometimes the app still fails to launch and/or the debugger fails to attach. It will sometimes show the error message "LLDB provided no error string". No breakpoints are hit during attempted debugging. Note the app is a plugin host, and we sometimes see a main queue crash on ImageLoader::recursiveInitialization when we attempt to debug. Is debugging a non-trivial x86&#92;&#95;64 app under Rosetta on an M1 machine supported by Xcode? Are there any special configuration steps to get it to work? (We can debug a trivial Hello World x86&#92;&#95;64 app fine this way so it seems to be related to more complex app architecture). Also FWIW we tried launching Xcode itself under Rosetta on the M1 machine as well to see if that would resolve any debugging conflicts, but it didn't correct these issues. Thanks for any guidance!
Posted
by
Post not yet marked as solved
1 Replies
1.1k Views
Short story: My SwiftUI app (let's say the name is *MyApplic*) is working on hundred of Apple devices (iPhone and iPad) like a charm. But at least 3 persons are concerned by a mysterious crash when they made the same action (navigate to an other view). Obviously, I can't reproduce this crash on devices I have... And of course, different devices and iOS versions. For example an iPhone X with iOS14.4, I have one and no problem on mine... Here is the stack trace for error: *EXCBADACCESS KERNINVALIDADDRESS* Crash stack - https://developer.apple.com/forums/content/attachment/c3e590ff-9895-48a1-b6a6-a40c659eb398 So, trying my best te fix it, I met a person who have to crash, and try to analyze it. Reproduce it with *NSZombiEnabled* gives me this information: [SwiftUI.AccessibilityNode retain]: message sent to deallocated instance 0x282146760 As it is on a physical device, I can't do many more with instruments, etc... But with *lldb* command line, I tried to know the malloc stack of the implied object. With the following command, (lldb) malloc_info --stack-history --max-frames=256 0x282146760 I have: Malloc history - https://developer.apple.com/forums/content/attachment/f88a0708-c03d-4d8b-8843-5cf69fcadd39 Please, could you give me some directions or indications? Is it a SwiftUI issue? Why do it happens on these devices in particular?
Posted
by
Post not yet marked as solved
4 Replies
539 Views
I am trying to load one webpage in webview using webkit. But getting crashed in iPhone Xs, iPhone 11 pro in iOS 14.4 AppSpectorSDK 0x107cd4000 + 710820 AppSpectorSDK 0x107cd4000 + 710268 libdyld.dylib ___ZN5dyld39AllImages17runImageCallbacksERKNS_5ArrayINS_11LoadedImageEEE_block_invoke libdyld.dylib dyld3::AllImages::runImageCallbacks(dyld3::Arraydyld3::LoadedImage const&amp;amp;) libdyld.dylib dyld3::AllImages::loadImage(Diagnostics&amp;amp;, char const*, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool, void const*) libdyld.dylib dyld3::AllImages::dlopen(Diagnostics&amp;amp;, char const*, bool, bool, bool, bool, bool, void const*, bool) libdyld.dylib dyld3::dlopen_internal(char const*, int, void*) libdyld.dylib dlopen_internal(char const*, int, void*) CoreFoundation _CFBundleDlfcnLoadBundle CoreFoundation _CFBundleLoadExecutableAndReturnError Foundation[NSBundle loadAndReturnError:] TextToSpeech TTSSpeechUnitTestingMode libdispatch.dylib _dispatch_client_callout libdispatch.dylib _dispatch_lane_barrier_sync_invoke_and_complete TextToSpeech TTSSpeechUnitTestingMode TextToSpeech TTSSpeechUnitTestingMode TextToSpeech TTSSpeechUnitTestingMode AXSpeechImplementation 0x1d7e3d000 + 31292 WebCore WebCore::PlatformSpeechSynthesizer::initializeVoiceList() WebCore WebCore::PlatformSpeechSynthesizer::voiceList() const WebKit WebKit::WebPageProxy::speechSynthesisVoiceList(***::CompletionHandlervoid (***::VectorWebKit::WebSpeechSynthesisVoice, 0ul, ***::CrashOnOverflow, 16ul, ***::FastMalloc&amp;amp;&amp;amp;)&amp;amp;&amp;amp;) WebKit WebKit::WebPageProxy::didReceiveSyncMessage(IPC::Connection&amp;amp;, IPC::Decoder&amp;amp;, std::__1::unique_ptrIPC::Encoder, std::__1::default_deleteIPC::Encoder &amp;amp;) WebKit IPC::MessageReceiverMap::dispatchSyncMessage(IPC::Connection&amp;amp;, IPC::Decoder&amp;amp;, std::__1::unique_ptrIPC::Encoder, std::__1::default_deleteIPC::Encoder &amp;amp;) WebKit WebKit::WebProcessProxy::didReceiveSyncMessage(IPC::Connection&amp;amp;, IPC::Decoder&amp;amp;, std::__1::unique_ptrIPC::Encoder, std::__1::default_deleteIPC::Encoder &amp;amp;) WebKit IPC::Connection::dispatchMessage(std::__1::unique_ptrIPC::Decoder, std::__1::default_deleteIPC::Decoder ) WebKit ***::Detail::CallableWrapperIPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&amp;amp;, std::__1::unique_ptrIPC::Decoder, std::__1::default_deleteIPC::Decoder &amp;amp;)::$_1, void::call() JavaScriptCore ***::RunLoop::performWork() JavaScriptCore ***::RunLoop::performWork(void*) CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ CoreFoundation __CFRunLoopDoSource0 CoreFoundation __CFRunLoopDoSources0 CoreFoundation __CFRunLoopRun CoreFoundation CFRunLoopRunSpecific GraphicsServices GSEventRunModal UIKitCore[UIApplication _run] UIKitCore UIApplicationMain MCPTT_ATT 0x102c80000 + 375724 libdyld.dylib start
Posted
by
Post not yet marked as solved
8 Replies
2.7k Views
** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Not possible to remove variable: 400: unknown var (bug!) with engine as delegate:0x283c8ed40{id: 33112} colIndex:32 from engine NSISEngine: 0x129248130{ delegate:0x12934eaa0 EngineVars:  0: objective{id: 33102} rowIndex:0  1: UIImageView:0x12924ec90.Height{id: 32592} rowIndex:1073741824  2: 0x280a04be0.marker{id: 32591} colIndex:1073741825  3: UIImageView:0x12924ec90.Width{id: 32807} rowIndex:1  4: 0x280dc35a0.posErrorMarker{id: 32871} colIndex:1  5: 0x280dc35a0.negError{id: 32872} rowIndex:88  6: 0x280dc3d80.posErrorMarker{id: 32873} colIndex:1073741826  7: 0x280dc3d80.negError{id: 32874} rowIndex:1073741825  8: UIImageView:0x129353f00.Width{id: 32594} rowIndex:2  9: 0x280979d60.marker{id: 32593} colIndex:3 10: 0x280dc1e60.posErrorMarker{id: 32875} colIndex:4 11: 0x280dc1e60.negError{id: 32876} rowIndex:3 12: UIImageView:0x129353f00.Height{id: 32822} rowIndex:1073741826 13: 0x280dc39c0.posErrorMarker{id: 32877} colIndex:1073741827 14: 0x280dc39c0.negError{id: 32878} rowIndex:1073741898 15: UIButton:0x1293540d0.Width{id: 32817} rowIndex:4 16: 0x280dc2040.posErrorMarker{id: 32879} rowIndex:93 17: 0x280dc2040.negError{id: 32880} colIndex:6 18: UIButton:0x1293540d0.Height{id: 32820} rowIndex:1073741827 19: 0x280dc3de0.posErrorMarker{id: 32881} rowIndex:96 20: 0x280dc3de0.negError{id: 32882} colIndex:1073741830 21: UILabel:0x129353300.Width{id: 32811} rowIndex:5 22: 0x280dc3e40.posErrorMarker{id: 32883} colIndex:44 23: 0x280dc3e40.negError{id: 32884} rowIndex:90 24: UILabel:0x129353300.Height{id: 32842} colIndex:1073741828 25: 0x280dc27c0.posErrorMarker{id: 32885} colIndex:1073741831 26: 0x280dc27c0.negError{id: 32886} rowIndex:1073741828 27: UILabel:0x129353c90.Width{id: 32840} rowIndex:6 28: 0x280dc1da0.posErrorMarker{id: 32887} colIndex:9 29: 0x280dc1da0.negError{id: 32888} rowIndex:97 30: UILabel:0x129353c90.Height{id: 32829} colIndex:1073741832 31: 0x280dc31e0.posErrorMarker{id: 32889} colIndex:1073741833 32: 0x280dc31e0.negError{id: 32890} rowIndex:1073741900 33: UIImageView:0x12934e490.Width{id: 32596} rowIndex:1073741905 34: UIImageView:0x12934e490.Height{id: 32597} colIndex:1073741844 35: 0x280963a70.marker{id: 32595} colIndex:11 36: 0x280dc2ee0.posErrorMarker{id: 32891} colIndex:12 37: 0x280dc2ee0.negError{id: 32892} rowIndex:8 38: 0x280dc1d40.posErrorMarker{id: 32893} colIndex:1073741835 39: 0x280dc1d40.negError{id: 32894} rowIndex:1073741830 40: UIButton:0x1293543b0.Width{id: 32832} rowIndex:9 41: 0x280dc1440.posErrorMarker{id: 32895} colIndex:0 42: 0x280dc1440.negError{id: 32896} rowIndex:1073741845 43: UIButton:0x1293543b0.Height{id: 32827} rowIndex:1073741831 44: 0x280dc3840.posErrorMarker{id: 32897} colIndex:1073741836 45: 0x280dc3840.negError{id: 32898} rowIndex:1073741829 46: UILabel:0x129353a20.Width{id: 32848} rowIndex:10 and another thousand or so lines. this crash occurs after I change the language and open the workout page to start a workout immediately, and sometimes on the second time, I open the workout page.
Posted
by
Post not yet marked as solved
2 Replies
1.8k Views
How do I enable core dumps, persistently, in Big Sur. I am more versed in *nix/linux than macOS. I've had a few apps core dump, and see in the 'Console' that they are not permitted to create core files. I've tried 'ulimit -c unlimited' but this hasn't been perspective - perhaps in part as I'm unsure how to get this persistent for all apps (even outside a login shell) on Big Sur. Is there a simple guide to allowing core dumps ie into /cores as I was able to get that working in previous releases...
Posted
by
Post not yet marked as solved
8 Replies
1.9k Views
Hi, im making a daemon swift app for macos that uses the content filter network extension. When i run the app i see the following leak in Instruments. 2021-03-08 15:58:54.943753-0300 mhunt[23320:342851] [] nw_parameters_copy_default_protocol_stack called with null parameters 2021-03-08 15:58:54.950468-0300 mhunt[23320:342851] [] nw_parameters_copy_default_protocol_stack called with null parameters, dumping backtrace: [x86_64] libnetcore-2288.80.2 0 libnetwork.dylib 0x00007fff247c82f8 __nw_create_backtrace_string + 120 1 libnetwork.dylib 0x00007fff242bb69b nw_parameters_copy_default_protocol_stack + 251 2 libnetwork.dylib 0x00007fff242dea0e nw_socket_connect + 1550 3 libnetworkextension.dylib 0x00007fff300c6102 ne_filter_protocol_connect + 396 4 libnetworkextension.dylib 0x00007fff300c73dc ne_filter_process_verdict + 1616 5 libnetworkextension.dylib 0x00007fff300cb5f7 __ne_filter_data_protocol_send_new_flow_block_invoke.65 + 148 6 libdispatch.dylib 0x000000010b5e8e78 _dispatch_call_block_and_release + 12 7 libdispatch.dylib 0x000000010b5ea0b0 _dispatch_client_callout + 8 8 libdispatch.dylib 0x000000010b5f406a _dispatch_workloop_invoke + 3277 9 libdispatch.dylib 0x000000010b600217 _dispatch_workloop_worker_thread + 1675 10 libsystem_pthread.dylib 0x000000010b693b15 _pthread_wqthread + 314 11 libsystem_pthread.dylib 0x000000010b692ae3 start_wqthread + 15 I have no idea how to debug this. As you can see on the log it says "libnetworkextension" so i thought i might have something to do with the network extension but the leak ocurrs even when the NE is not running. I tried looking at the memory graph but when i go to click on the memory address that has the leak all i see is an icon of "OS_dispatch_group". I know this might be not enough information to help me debug this so if you need anything else just let me know.
Post not yet marked as solved
1 Replies
432 Views
My app us running in debug mode and I want to display rating popup after user finishes payment and then proceeds further. However If user chooses apple pay then prompt is showing up every time. but if he selects credit/debit card then it doesn't. We are using Braintree service for payments. There is a common screen after payment on which SKStoreReviewController.requestReview api is called. This issue sounds strange but still unresolved.
Posted
by
Post not yet marked as solved
2 Replies
582 Views
The problem keeps on manifesting randomly. Every kind of Automation/ actions I set up keeps on failing at random intervals, could be 3 times a day like 1 per month. The problem is evident in Homekit settings that depends heavily on automations and actions to work, like when a Stateless Programmable Switch is used to control smart lights. I've already tried different methods ( logout/login from icloud, reinstall everithing ecc) but the problem keeps on manifesting randomly. When the automation/ action doesn't fire I can check on Home app that the message is processed by homekit but the domestic hub seems not able to run the connected action/automation, and i can control manually every device in the automation to verify that is connected. after 5 to 10 minutes everything starts acting normal again. The problem is present not only with an ATV running the latest firmware but also using an iPad. Is this a well know bug or there's some workaround?
Posted
by
Post not yet marked as solved
4 Replies
808 Views
Dear Apple Developers community, Our app is being rejected by the App Store upon review based on detecting crashes upon launch. However, following exhaustive tests on all available simulators and some physical devices (including an iPhone 12 Pro running iOS 14.4.2) we were unable to reproduce the crashes reported. We also tried testing a binary via TestFlight without any issues at all. We also symbolicated our crash reports following Apple's documentation without being able to find any issues that cause the crash upon launch. I am attaching the three reports that Apple Store review shared with us for reference along with the symbolicated outputs for "ParkZen" and "FirebaseFirestore". Our app uses the FireStore database. Any feedback would be greatly appreciated. 1) https://iosapps-ssl.itunes.apple.com/itunes-assets/Purple125/v4/80/06/1e/80061eee-c4c2-2194-c8e1-4cb693546c6a/attachment.crashlog-3B112192-8D8A-44DA-8EB1-0563386C41BB.txt?accessKey=1618848035_6910206807337667898_h6kPaYJOV56xwRkNjjTkztP%2BRq4CQCroN9LS%2BuJKwoV8TAkWCV3X%2Fd9XapTSBt9j%2FEetbrTifhYvaNHpCxXgLFEUQ6Sz68LW1KyUrp7nWwG2TjsZiYj2OAGpVVkYlLzu%2Fz7LVVaPp06PYIdfGEHYFUfe6PuFRUCB8xAnrm%2B0Poq7gYWFy0%2F7%2BkrqMxlbt8TklgbJimfs0F7%2F6ny1oc0yIbhsRNxV0BKp9wH0p85YgsQ%3D 2) https://iosapps-ssl.itunes.apple.com/itunes-assets/Purple125/v4/4f/a5/36/4fa5366a-2ab3-a0f0-9553-4a9b8cc32ab1/attachment.crashlog-E5709224-7BCB-45FC-92F7-E6E1DC7A2BC8.txt?accessKey=1618848035_5419641398235611613_S5R436uDbgLHsLasiTbmzF456qVlLyS6lyoDcbbx%2BSxV0xyzVzA67bNK7A7yftxwisf4gz3%2BjMBHwsyF3ZAeoyStfQA%2BAMENq%2B8%2B2dDa361WfIM%2BbL4toHk5RoyEzlNvaZTC8G65VMy%2BklOlbeTwLUD9HtoTYXnhyjKm4E8CV8hc2MwkwapKANmAlO9RrnEitUWt1qp620c439IN5NpSZmVdEBxYQlSp%2FJqZb33thoM%3D 3) https://iosapps-ssl.itunes.apple.com/itunes-assets/Purple125/v4/47/67/c4/4767c4bc-8820-6264-f8ce-d6464aa6cdeb/attachment.crashlog-2FAC820F-7BBD-428C-8901-BCA3663599BD.txt?accessKey=1618848035_1479893548423628230_JF9xULY4IoBRblEDOeKQZk5borlYARJjnKDlClMbXekl7BWr7Y00E6HKjwz00K3lautGkwCjdVc7khcrNcovUlbaKSI8lSZs3JAxlAvmTgdjzQVAcfYPvc0YQ%2B%2FgDIGUnPZtLiDJRC31XnZ59Yx%2B6Cidvz5%2B590ebu7DdXZ%2BMyevS%2BclcTc2C8Wl48Hq%2F9Bq7DmfcmcIJLJmI%2B1KTe6gq%2FLm%2BQhJoWxDOEpVDV33IsE%3D Symbolicated Debugging: closure #1 in ViewController.viewDidLoad() (in ParkZen) (ViewController.swift:87) closure #1 in ViewController.viewDidLoad() (in ParkZen) (ViewController.swift:87) closure #1 in DatabaseInterface.retrieveData_dynamic(completionHandler:) (in ParkZen) (DatabaseInterface.swift:0) thunk for @escaping @callee_guaranteed (@guaranteed FIRQuerySnapshot?, @guaranteed Error?) - () (in ParkZen) (compiler-generated:0) main (in ParkZen) (ViewController.swift:18) 2) 3)
Posted
by
Post not yet marked as solved
4 Replies
1.9k Views
I've got some crash reports which aren't easy to understand. All the crashes happened when the application is in the background with multiple notifications received even without clicking on the notifications. Crashes are related to the autorelease pool but don’t know the exact root cause.  This is the stack: OS Version: iPhone OS 14.1 (18A8395) Release Type: User Baseband Version: 2.01.05 Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020 VM Region Info: 0x20 is not in any region. Bytes before following region: 4306190304 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START-- __TEXT 100ab4000-100bd8000 [ 1168K] r-x/r-x SM=COW ...rexendoMobile Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [1010] Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 libobjc.A.dylib 0x00000001bac3e160 objc_release + 16 (objc-runtime-new.h:1585) 1 libobjc.A.dylib 0x00000001bac3f81c AutoreleasePoolPage::releaseUntil(objc_object**) + 204 (NSObject.mm:944) 2 libobjc.A.dylib 0x00000001bac3f6e8 objc_autoreleasePoolPop + 212 (NSObject.mm:1211) 3 CoreFoundation 0x00000001a6b3eae4 _CFAutoreleasePoolPop + 32 (NSObject.m:798) 4 CoreFoundation 0x00000001a6aae480 __CFRunLoopPerCalloutARPEnd + 48 (CFRunLoop.c:762) 5 CoreFoundation 0x00000001a6aa93f8 __CFRunLoopRun + 2576 (CFRunLoop.c:3120) 6 CoreFoundation 0x00000001a6aa84bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 7 Foundation 0x00000001a7d29e30 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374) 8 CrexendoMobile 0x0000000100bca5e4 -[MobilePortBinding performSynchronousOperation:] + 268 (MobileService.m:17547) 9 CrexendoMobile 0x0000000100bcadf4 -[MobilePortBinding deviceExistsUsingParameters:] + 116 (MobileService.m:17638) 10 CrexendoMobile 0x0000000100d7175c -[MobileServiceHelper deviceExists:error:] + 596 (MobileServiceHelper.m:612) 11 CrexendoMobile 0x0000000100b43c34 -[CrexendoMobileAppDelegate applicationDidBecomeActiveBackgroundTasks:] + 1244 (CrexendoMobileAppDelegate.m:872) 12 Foundation 0x00000001a7e9424c __NSThreadPerformPerform + 188 (NSThread.m:807) 13 CoreFoundation 0x00000001a6aaf81c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1967) 14 CoreFoundation 0x00000001a6aaf718 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2011) 15 CoreFoundation 0x00000001a6aaea94 __CFRunLoopDoSources0 + 376 (CFRunLoop.c:2056) 16 CoreFoundation 0x00000001a6aa8d20 __CFRunLoopRun + 824 (CFRunLoop.c:2925) 17 CoreFoundation 0x00000001a6aa84bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 18 GraphicsServices 0x00000001bd5ba820 GSEventRunModal + 164 (GSEvent.c:2259) 19 UIKitCore 0x00000001a9455164 -[UIApplication _run] + 1072 (UIApplication.m:3270) 20 UIKitCore 0x00000001a945a840 UIApplicationMain + 168 (UIApplication.m:4739) 21 CrexendoMobile 0x0000000100bdb60c main + 1209868 (main.m:21) 22 libdyld.dylib 0x00000001a676fe40 start + 4
Posted
by
Post not yet marked as solved
4 Replies
1.3k Views
My app is using ARKit and Scenekit to render some animation for user interaction, at some points, it hangs with the below thread backtrace Anyway to tell what is blocking the main thread? (lldb) thread backtrace thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x00000001b1dd5204 libsystem_kernel.dylib`__psynch_mutexwait + 8 frame #1: 0x00000001cf935224 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 92 frame #2: 0x00000001cf935174 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 216 frame #3: 0x00000001b821e560 SceneKit`-[SCNRenderer _projectPoint:viewport:] + 220 frame #4: 0x00000001b82c8438 SceneKit`-[SCNView projectPoint:] + 124 frame #5: 0x000000010477d970 app`static OffScreenIndicator.updateOffScreenOn(displayView=0x00000001071c2b30, sceneView=0x00000001071d5820, target=0x0000000281a3c700, image=0x0000000281411050, color=0x0000000283c3d4c0, frame=0x000000015683e340, self=app.OffScreenIndicator) at OffScreenIndicator.swift:26:37 frame #6: 0x000000010458d5d8 app`ARViewController.phoneIsFar(camPosition=SceneKit.SCNVector3 @ 0x000000016db94730, frame=0x000000015683e340, isTutorial=true, self=0x000000010883bc00) at ARViewController.swift:2434:48 frame #7: 0x000000010458a0b4 app`ARViewController.scanUpdate(frame=0x000000015683e340, showTutorial=true, scanAllDoneAction=0x000000010459300c app`partial apply forwarder for closure #1 () - () in app.ARViewController.(stateUpdate_tutorial in _ED82BCD2A98A9516DA8B452F58022553)(frame: __C.ARFrame) - () at compiler-generated, self=0x000000010883bc00) at ARViewController.swift:2371:13 frame #8: 0x0000000104560e14 app`ARViewController.stateUpdate_tutorial(frame=0x000000015683e340, self=0x000000010883bc00) at ARViewController.swift:2692:9 frame #9: 0x00000001045609f4 app`implicit closure #22 in implicit closure #21 in ARViewController.bindStateFunctions(frame=0x000000015683e340, self=0x000000010883bc00) at ARViewController.swift:1048:34 frame #10: 0x00000001045506fc app`ARViewController.updateState(frame=0x000000015683e340, self=0x000000010883bc00) at ARViewController.swift:1108:31 frame #11: 0x0000000104550274 app`ARViewController.session(session=0x00000001568cbdd0, frame=0x000000015683e340, self=0x000000010883bc00) at ARViewController.swift:696:9 frame #12: 0x0000000104550778 app`@objc ARViewController.session(_:didUpdate:) at compiler-generated:0 frame #13: 0x00000001afa25248 ARKitCore`__36-[ARSession _sessionDidUpdateFrame:]_block_invoke + 128 frame #14: 0x0000000106f37bcc libdispatch.dylib`_dispatch_call_block_and_release + 32 frame #15: 0x0000000106f396c0 libdispatch.dylib`_dispatch_client_callout + 20 frame #16: 0x0000000106f48f34 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1000 frame #17: 0x0000000183e0111c CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 frame #18: 0x0000000183dfb120 CoreFoundation`__CFRunLoopRun + 2508 frame #19: 0x0000000183dfa21c CoreFoundation`CFRunLoopRunSpecific + 600 frame #20: 0x000000019b9c4784 GraphicsServices`GSEventRunModal + 164 frame #21: 0x000000018683aee8 UIKitCore`-[UIApplication _run] + 1072 frame #22: 0x000000018684075c UIKitCore`UIApplicationMain + 168 frame #23: 0x00000001022766b4 app`main at AppDelegate.swift:14:7 frame #24: 0x0000000183aba6b0 libdyld.dylib`start + 4 (lldb) (lldb) thread list Process 4264 stopped thread #1: tid = 0x131e7b, 0x00000001b1dd5204 libsystem_kernel.dylib`__psynch_mutexwait + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP thread #6: tid = 0x131f75, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.uikit.eventfetch-thread' thread #9: tid = 0x131f7e, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'AVAudioSession Notify Thread' thread #11: tid = 0x131ffc, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.NSURLConnectionLoader' thread #14: tid = 0x132099, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.coreaudio.AQClient' thread #21: tid = 0x1320d9, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #27: tid = 0x132153, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.CoreMotion.MotionThread' thread #28: tid = 0x132157, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #46: tid = 0x1321ff, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #49: tid = 0x132202, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #53: tid = 0x13228c, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #58: tid = 0x132397, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.arkit.ardisplaylink.0x283d67a00' thread #59: tid = 0x132398, 0x00000001b1dd5f5c libsystem_kernel.dylib`__ulock_wait + 8, name = 'com.apple.scenekit.scnview-renderer', queue = 'com.apple.scenekit.renderingQueue.ARSCNView0x1071d5820' thread #60: tid = 0x1323a2, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'H11ANEServicesThread' thread #61: tid = 0x1323b3, 0x00000001b1db12d0 libsystem_kernel.dylib`mach_msg_trap + 8, name = 'H11ANEServicesThread' thread #62: tid = 0x13249f, 0x00000001b1db1324 libsystem_kernel.dylib`semaphore_timedwait_trap + 8 thread #65: tid = 0x1324a8, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #67: tid = 0x1324df, 0x00000001b1db1324 libsystem_kernel.dylib`semaphore_timedwait_trap + 8 thread #68: tid = 0x132505, 0x0000000198e9d150 libobjc.A.dylib`object_getClassName, queue = 'com.apple.libdispatch-manager' thread #69: tid = 0x132507, 0x0000000198e9d150 libobjc.A.dylib`object_getClassName thread #70: tid = 0x132537, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread thread #71: tid = 0x132538, 0x00000001cf938764 libsystem_pthread.dylib`start_wqthread (lldb)
Posted
by
Post not yet marked as solved
7 Replies
2.7k Views
Xcode - Window - Organizer - Reports - Crashes I found some unwonted crash which contains information of NO_CRASH_STACK. LocallySymbolicated crash log 1 - https://developer.apple.com/forums/content/attachment/4b77d9ae-075e-4d77-a641-af4510e9c459 LocallySymbolicated crash log 2 - https://developer.apple.com/forums/content/attachment/2baac532-a7a7-4fcd-b9d4-b016aed176b5
Posted
by
Post not yet marked as solved
3 Replies
1.8k Views
Hi, This is my last hope as i've search everywhere for a solution but can't find anything... I'm using: "react": "17.0.2", "react-native": "0.64.0", xcode 12.5 building on ios 14.5 My application works perfectly on any simulator in release mode (Iphone, Ipad etc.) but crashes on launch on every testflight review. Here is the last crash log language Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 8 Application Specific Information: abort() called Last Exception Backtrace: (0x1a26af128 0x1b63c2480 0x1028c5698 0x102943de8 0x1029447ac 0x1a26b3b60 0x1a25955e0 0x1a2595b44 0x1028f69f8 0x1028f8e28 0x1028f8a54 0x1a22e62b0 0x1a22e7298 0x1a22c334c 0x1a22c3e34 0x1a22cd674 0x1ea9215bc 0x1ea92486c) Thread 8 name: Dispatch queue: com.facebook.react.ExceptionsManagerQueue Thread 8 Crashed: 0 libsystem_kernel.dylib 0x00000001ce2cc7b0 0x1ce2a5000 + 161712 1 libsystem_pthread.dylib 0x00000001ea9209c4 0x1ea916000 + 43460 2 libsystem_c.dylib 0x00000001ab2a3a44 0x1ab230000 + 473668 3 libc++abi.dylib 0x00000001b649cbe8 0x1b648a000 + 76776 4 libc++abi.dylib 0x00000001b648ed14 0x1b648a000 + 19732 5 libobjc.A.dylib 0x00000001b63a29a0 0x1b639c000 + 27040 6 libc++abi.dylib 0x00000001b649c074 0x1b648a000 + 73844 7 libc++abi.dylib 0x00000001b649c00c 0x1b648a000 + 73740 8 libdispatch.dylib 0x00000001a22e72ac 0x1a2286000 + 397996 9 libdispatch.dylib 0x00000001a22c334c 0x1a2286000 + 250700 10 libdispatch.dylib 0x00000001a22c3e34 0x1a2286000 + 253492 11 libdispatch.dylib 0x00000001a22cd674 0x1a2286000 + 292468 12 libsystem_pthread.dylib 0x00000001ea9215bc 0x1ea916000 + 46524 13 libsystem_pthread.dylib 0x00000001ea92486c 0x1ea916000 + 59500 Thread 8 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x00000001b649ff09 x5: 0x000000016dcf6440 x6: 0x000000000000006e x7: 0x0000000000000900 x8: 0x000000016dcf7000 x9: 0x6990a1dc777f84ea x10: 0x0000000000000002 x11: 0x000000000000000b x12: 0x00000001ed620c4a x13: 0x0000000000000000 x14: 0x0000000000000010 x15: 0x0000000000000000 x16: 0x0000000000000148 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x000000000000a003 x21: 0x000000016dcf70e0 x22: 0x00000001f4829340 x23: 0x0000000000000000 x24: 0x0000000000000114 x25: 0x000000016dcf70e0 x26: 0x0000000282ae7780 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x000000016dcf63b0 lr: 0x00000001ea9209c4 sp: 0x000000016dcf6390 pc: 0x00000001ce2cc7b0 cpsr: 0x40000000 esr: 0x56000080 Address size fault Any help would be very much appreciated, i'm quite desperate at this point. Feel free to ask for more details Thank you all
Posted
by
Post not yet marked as solved
1 Replies
435 Views
Hi, Please help me in debugging c code in gdb compiled c code in gcc wit -g option trying do debugging through gdb but the following error: BFD: /Users/vamsi/Documents/c_programs/a.out: unknown load command 0x32 BFD: /Users/vamsi/Documents/c_programs/a.out: unknown load command 0x32 "/Users/vamsi/Documents/c_programs/a.out": not in executable format: file format not recognized GNU gdb (GDB) 8.2 gcc: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.5 (clang-1205.0.22.9) Target: x86_64-apple-darwin20.4.0
Posted
by
Post marked as solved
13 Replies
8.4k Views
After updating Xcode to version 12.5 and using simulator 14.5, I'm getting disconnected all the time from the debugger. Please can someone help me? I also get this: Domain: IDEDebugSessionErrorDomain Code: 4
Posted
by