I have an App which has a custom framework. When my app crashes, I could symbolicate the crash log in which I can only symbolicate the symbols in my app. But I want to symbolicate the framework as well. And I cannot create or find where the dsym file for the custom framework.
CrashLog:
Incident Identifier: E2C7076A-78E1-4269-91D0-A2AA5CA33612
CrashReporter Key: 7057b96f6b8938b54fe1ddecd38f89da2d16b752
Hardware Model: iPad5,3
Process: MyTestSuite [562]
Path: /private/var/containers/Bundle/Application/708341EB-76AB-4A0D-86E5-73DB875D26DA/MyTestSuite.app/MyTestSuite
Identifier: com.econsys.TestSuite
Version: 1 (1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-09-23 15:41:43.43 +0530
Launch Time: 2016-09-23 15:23:13.13 +0530
OS Version: iOS 9.3.3 (13G34)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x183ee2db0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x183547f80 objc_exception_throw + 56
2 CoreFoundation 0x183ee2cf8 +[NSException raise:format:] + 120
3 Foundation 0x1848602b0 -[NSMutableData(NSMutableData) replaceBytesInRange:withBytes:length:] + 300
4 DevSDK 0x10010ff28 0x10009c000 + 474920
5 DevSDK 0x10013d234 0x10009c000 + 660020
6 DevSDK 0x10013d474 0x10009c000 + 660596
7 ExternalAccessory 0x18f682a90 -[EAOutputStream _streamEventTrigger] + 420
8 CoreFoundation 0x183e9d7c8 __CFSocketPerformV0 + 1216
9 CoreFoundation 0x183e9909c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
10 CoreFoundation 0x183e98b30 __CFRunLoopDoSources0 + 540
11 CoreFoundation 0x183e96830 __CFRunLoopRun + 724
12 CoreFoundation 0x183dc0c50 CFRunLoopRunSpecific + 384
13 Foundation 0x1847d0cfc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308
14 Foundation 0x184826030 -[NSRunLoop(NSRunLoop) run] + 88
15 DevSDK 0x10010de48 0x10009c000 + 466504
16 DevSDK 0x10010de74 0x10009c000 + 466548
17 Foundation 0x1848b7e4c __NSThread__start__ + 1000
18 libsystem_pthread.dylib 0x183b47b28 _pthread_body + 156
19 libsystem_pthread.dylib 0x183b47a8c _pthread_start + 156
20 libsystem_pthread.dylib 0x183b45028 thread_start + 4
I want to symbolicate the lines 4, 5, 6 in the backtrace.
Help me on this pls.
Related
I am unable to edit storyboard files in my xcode project.
I have tried cleaning my Derived Data and cleaning my project but it has had no effect.
In the IBAgent crash log I found this.
I get further errors in the designer "already shutdown" errors. I believe because of the IBAgent crash
Here is the crash log:
Process: IBAgent-iOS [81085]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBAgent-iOS
Identifier: IBAgent-iOS
Version: 12.0.1 (17125)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [81011]
Responsible: SimulatorTrampoline [1320]
User ID: 501
Date/Time: 2020-10-07 12:38:24.736 -0400
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12
Anonymous UUID: B35CBFA6-5A9D-0F38-AAF9-43DECA2C829D
Time Awake Since Boot: 440000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to create work interval'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.17 - Device: iPhone Xʀ (4069A6FF-6A3D-4066-A9E5-2871B5CF6183) - Runtime: iOS 14.0 (18A372) - DeviceType: iPhone Xʀ
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2043a126 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177f78 objc_exception_throw + 48
2 UIKitCore 0x00007fff24a5fcb7 _UIQOSProcessingEnd + 0
3 UIKitCore 0x00007fff24a5faf9 _UIQOSProcessingBegin + 309
4 UIKitCore 0x00007fff2404fd51 -[_UISceneDisplayLink _displayLinkTick:] + 98
5 QuartzCore 0x00007fff278e732d _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 755
6 QuartzCore 0x00007fff279cb99c _ZL22display_timer_callbackP12__CFMachPortPvlS1_ + 639
7 CoreFoundation 0x00007fff2037670c __CFMachPortPerform + 157
8 CoreFoundation 0x00007fff203a913d __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
9 CoreFoundation 0x00007fff203a84de __CFRunLoopDoSource1 + 614
10 CoreFoundation 0x00007fff203a29ba __CFRunLoopRun + 2353
11 CoreFoundation 0x00007fff203a1b9e CFRunLoopRunSpecific + 567
12 Foundation 0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
13 IBFoundation 0x000000010c137bf0 -[IBAbstractPlatformTool startServingReceiveChannel:] + 399
14 IBFoundation 0x000000010c137e56 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 111
15 IBFoundation 0x000000010c138b40 +[IBAbstractPlatformTool main] + 1237
16 IBAgent-iOS 0x000000010bba295f main + 34
17 libdyld.dylib 0x00007fff20257415 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff5dca633a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5dcdbe60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff200fabd4 abort + 120
3 libc++abi.dylib 0x00007fff20250818 abort_message + 231
4 libc++abi.dylib 0x00007fff20241e7d demangling_terminate_handler() + 266
5 libobjc.A.dylib 0x00007fff201781d1 _objc_terminate() + 96
6 libc++abi.dylib 0x00007fff2024fc47 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff202525b6 __cxa_rethrow + 99
8 libobjc.A.dylib 0x00007fff2017810c objc_exception_rethrow + 37
9 com.apple.CoreFoundation 0x00007fff203a1cc4 CFRunLoopRunSpecific + 861
10 com.apple.Foundation 0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
11 com.apple.dt.IBFoundation 0x000000010c137bf0 -[IBAbstractPlatformTool startServingReceiveChannel:] + 399
12 com.apple.dt.IBFoundation 0x000000010c137e56 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 111
13 com.apple.dt.IBFoundation 0x000000010c138b40 +[IBAbstractPlatformTool main] + 1237
14 IBAgent-iOS 0x000000010bba295f main + 34
15 libdyld.dylib 0x00007fff20257415 start + 1
This happened when I upgraded to Xcode 13.0.
I couldn't find much help on the subject, but from trial and error, the solution for my situation seemed to be:
open ~/Library/Developer/Xcode/iOS\ DeviceSupport
rm -rf <VERSION>
I did this for every version expect the latest version (in this case 15.0.2 (19A404))
I tested my iOS app thoroughly in my device and there ware no crash but when I submitted the app for release it crashes repeatedly. I tried to analyze I couldn't find the reason. When I look the creash log it looks crash happens in
Hardware Model: xxx
Process: MyAppName [14002]
Path: /private/var/containers/Bundle/Application/6ED37E47-5605-432E-B077-B6B109B9FE1B/MyAppName.app/MyAppName
Identifier: com.mydomain.MyAppName
Version: 1 (1.0.0)
AppStoreTools: 10B63
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.mydomain.MyAppName [5310]
Date/Time: 2019-03-07 09:24:56.9034 -0800
Launch Time: 2019-03-07 09:20:00.9801 -0800
OS Version: iPhone OS 12.1.4 (16D57)
Baseband Version: 7.32.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x182ef1ea4 __exceptionPreprocess + 228
1 libobjc.A.dylib 0x1820c1a50 objc_exception_throw + 55
2 UIKitCore 0x1af72def0 -[UIPopoverPresentationController presentationTransitionWillBegin] + 2691
3 UIKitCore 0x1af736f28 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2195
4 UIKitCore 0x1af7348ac __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 479
5 UIKitCore 0x1afddc87c _runAfterCACommitDeferredBlocks + 295
6 UIKitCore 0x1afdca878 _cleanUpAfterCAFlushAndRunDeferredBlocks + 383
7 UIKitCore 0x1afdf9880 _afterCACommitHandler + 131
8 CoreFoundation 0x182e816bc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 31
9 CoreFoundation 0x182e7c350 __CFRunLoopDoObservers + 411
10 CoreFoundation 0x182e7c8f0 __CFRunLoopRun + 1263
11 CoreFoundation 0x182e7c0e0 CFRunLoopRunSpecific + 435
12 GraphicsServices 0x1850f5584 GSEventRunModal + 99
13 UIKitCore 0x1afdd0c00 UIApplicationMain + 211
14 MyAppName 0x100e601fc main + 33276 (ChildInfoViewController.swift:15)
15 libdyld.dylib 0x18293abb4 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000182a87104 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000182b03020 pthread_kill$VARIANT$mp + 380
2 libsystem_c.dylib 0x00000001829ded78 abort + 140
3 libc++abi.dylib 0x00000001820a8f78 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001820a9120 default_unexpected_handler+ 8480 () + 0
5 libobjc.A.dylib 0x00000001820c1e58 _objc_terminate+ 28248 () + 124
6 libc++abi.dylib 0x00000001820b50fc std::__terminate(void (*)+ 57596 ()) + 16
7 libc++abi.dylib 0x00000001820b4cec __cxa_rethrow + 144
8 libobjc.A.dylib 0x00000001820c1c20 objc_exception_rethrow + 44
9 CoreFoundation 0x0000000182e7c14c CFRunLoopRunSpecific + 544
10 GraphicsServices 0x00000001850f5584 GSEventRunModal + 100
11 UIKitCore 0x00000001afdd0c00 UIApplicationMain + 212
12 MyAppName 0x0000000100e601fc main + 33276 (ChildInfoViewController.swift:15)
13 libdyld.dylib 0x000000018293abb4 start + 4
I'm getting crash from our custom keyboard extension that shows doesNotRecognizeSelector in the report but the code that's crashing isn't mine... it's in Foundation/CoreFoundation. Here's the crash report...
Incident Identifier: B7818....
CrashReporter Key: 57ce8....
Hardware Model: iPhone9,2
Process: MyApp Keyboard [7390]
Path: /private/var/containers/Bundle/Application/AB6EA.....B37/MyApp.app/PlugIns/MyApp Keyboard.appex/MyApp Keyboard
Identifier: com.MyDomain.MyApp.MyApp-Keyboard
Version: 288 (3.12)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.MyDomain.MyApp.MyApp-Keyboard [710]
Date/Time: 2018-03-07 16:51:29.4017 -0500
Launch Time: 2018-03-07 16:51:28.3872 -0500
OS Version: iPhone OS 11.2.6 (15D100)
Baseband Version: 3.42.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 4
Last Exception Backtrace:
0 CoreFoundation 0x18146b164 __exceptionPreprocess + 124 (NSException.m:166)
1 libobjc.A.dylib 0x1806b4528 objc_exception_throw + 56 (objc-exception.mm:521)
2 CoreFoundation 0x181478628 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:322)
3 CoreFoundation 0x181470b10 ___forwarding___ + 1380 (NSForwarding.m:3220)
4 CoreFoundation 0x181355ccc _CF_forwarding_prep_0 + 92
5 Foundation 0x181df65e4 -[NSExtensionContext _willPerformHostCallback:] + 180 (NSExtensionContext.m:838)
6 Foundation 0x181df32d4 __105-[_NSExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 780 (NSExtensionContext.m:268)
7 libdispatch.dylib 0x180deaa54 _dispatch_call_block_and_release + 24 (init.c:994)
8 libdispatch.dylib 0x180deaa14 _dispatch_client_callout + 16 (object.m:502)
9 libdispatch.dylib 0x180df496c _dispatch_queue_serial_drain$VARIANT$mp + 528 (inline_internal.h:2500)
10 libdispatch.dylib 0x180df52fc _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
11 libdispatch.dylib 0x180df5d20 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 404 (queue.c:5920)
12 libdispatch.dylib 0x180dfe03c _dispatch_workloop_worker_thread$VARIANT$mp + 644 (source.c:2529)
13 libsystem_pthread.dylib 0x181092f1c _pthread_wqthread + 932 (pthread.c:2207)
14 libsystem_pthread.dylib 0x181092b6c start_wqthread + 4
I can see the doesNotRecognizeSelector at line 2 and the nearest thing in the stack is NSExtensionContext _willPerformHostCallback. I looked through all the threads in the report and nothing shows anything from our code. I searched our codebase and I don't see any code where we override willPerformHostCallback or anything derived from NSExtensionContext for that matter.
Can anybody see what the deal is here?
TIA, Mike
The iOS app I am developing is having this crash with many of my users (I can catch it via PLCrashReporter library). The Exception type is SIGSEGV, so I believe is an error involving memory (like acceding a deallocated variable?).
But how can I discover what triggered it? The first line in the stacktrace involving my app is line 13:
13 ****** 0x004a9b40 _mh_execute_header +
And I really can't catch what this could mean.
Is there a way to see more info, or maybe the first four/five lines can help me more than I think?
Additional information: I use massively CoreData and NSManagedObjects, so I can't check every instance if those.
Build Version: 2.0
Incident Identifier: 5D8AECAD-3DC6-403D-8C8A-86FCC06C7FF0
Hardware Model: iPad3,3
Process: ****** [6112]
Path: /private/var/mobile/Containers/Bundle/Application/853B3A08-D893-45CA-B223-BD4A3B0241FF/******.app/******
Identifier: com.**.******
Version: 2
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2015-07-30 11:56:43 +0000
OS Version: iPhone OS 8.4 (12H143)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x7176d0c2
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3408df66 objc_msgSend + 5
1 CoreData 0x25521bad -[NSManagedObject _clearRawPropertiesWithHint:] + 284
2 CoreData 0x25521a13 -[NSFaultHandler turnObject:intoFaultWithContext:] + 398
3 CoreData 0x2551f517 -[NSManagedObject dealloc] + 74
4 CoreData 0x2551ec25 -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 1768
5 CoreData 0x2551e4b3 <redacted> + 326
6 CoreFoundation 0x257d026d <redacted> + 20
7 CoreFoundation 0x257cd951 <redacted> + 276
8 CoreFoundation 0x257cdd53 <redacted> + 914
9 CoreFoundation 0x257199a1 CFRunLoopRunSpecific + 476
10 CoreFoundation 0x257197b3 CFRunLoopRunInMode + 106
11 GraphicsServices 0x2d0c11a9 GSEventRunModal + 136
12 UIKit 0x28eca635 UIApplicationMain + 1440
13 ****** 0x004a9b40 _mh_execute_header + 4156224
14 libdyld.dylib 0x3464faaf <redacted> + 2
[...]
I am facing issue with the private apis used in my application.So,I found that App Scanner application is a good tool for scanning those kind of issues.So i have installed it from here .When trying to test my application it crashes giving me following crash report.
Process: App Scanner [1951]
Path: /Users/USER/Downloads/*/App Scanner.app/Contents/MacOS/App Scanner
Identifier: com.chimpstudios.appscanner
Version: 1.4 (1.4.1)
Code Type: X86-64 (Native)
Parent Process: launchd [137]
Date/Time: 2013-06-18 12:28:57.620 +0530
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 571103 sec
Crashes Since Last Report: 13
Per-App Interval Since Last Report: 938 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: EC833868-1E25-4F4F-BC83-52C9B937E8A7
Crashed Thread: 8
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[1951]: garbage collection is OFF
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteData subdataWithRange:]: range {1651465984, 1633641322} exceeds data length 4295932'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff92809f56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff96085d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff92809d8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff92809d14 +[NSException raise:format:] + 116
4 Foundation 0x00007fff946b9a4b -[NSData(NSData) subdataWithRange:] + 291
5 App Scanner 0x000000010000376c App Scanner + 14188
6 Foundation 0x00007fff9470a72a -[NSThread main] + 68
7 Foundation 0x00007fff9470a6a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff984308bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff98433b75 thread_start + 13
)
terminate called throwing an exception
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9854667a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98545d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff9279650c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff9279ec74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff9279e486 CFRunLoopRunSpecific + 230
5 com.apple.HIToolbox 0x00007fff965892bf RunCurrentEventLoopInMode + 277
6 com.apple.HIToolbox 0x00007fff9659056d ReceiveNextEventCommon + 355
7 com.apple.HIToolbox 0x00007fff965903fa BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff992a1779 _DPSNextEvent + 659
9 com.apple.AppKit 0x00007fff992a107d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10 com.apple.AppKit 0x00007fff9929d9b9 -[NSApplication run] + 470
11 com.apple.AppKit 0x00007fff99519eac NSApplicationMain + 867
12 com.chimpstudios.appscanner 0x0000000100001074 0x100000000 + 4212
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff985487e6 kevent + 10
1 libdispatch.dylib 0x00007fff92724786 _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff92723316 _dispatch_mgr_thread + 54
Thread 2:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x00007fff98547bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff98434274 _pthread_cond_wait + 840
2 com.apple.JavaScriptCore 0x00007fff93546a60 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 64
3 com.apple.WebCore 0x00007fff8efcdf9a WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 132
4 com.apple.WebCore 0x00007fff8efcdef3 WebCore::LocalStorageThread::threadEntryPoint() + 99
5 com.apple.WebCore 0x00007fff8efcde3b WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 9
6 libsystem_c.dylib 0x00007fff984308bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff98433b75 thread_start + 13
Can anybody let me know what's the issue as it is not crashing in any of the device nor in the simulator?