I have an interesting crash case that basically just points the finger into one method. NodeFactory.appendChildren()
This method is parsing results from getattrlistbulk() and uses some code excerpts from the following developer discussion Getting inode number from URL
The entire app has been using swift for the least couple of years and slowly evolving to use less and less C/Objective-C
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [3386]
...
Thread 8 Crashed:: Dispatch queue: NSOperationQueue 0x7f83aa104920 (QOS: USER_INTERACTIVE)
0 com.bla.myapp 0x000000010f5bd8f0 NodeFactory.appendChildren(_:_:_:_:_:) + 4544
1 com.bla.myapp 0x000000010f5bf15b NodeFactory.fetchChildren(_:) + 1163
2 com.bla.myapp 0x000000010f5bf9ca NodeFactory.fetch(nodeEntry:) + 90
3 com.bla.myapp 0x000000010f5c041f partial apply for closure #3 in NodeFactory.fetch(nodeEntry:) + 127
4 com.bla.myapp 0x000000010f5505fe thunk for @escaping @callee_guaranteed () -> () + 14
5 com.apple.Foundation 0x00007fff33b72ac5 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
6 com.apple.Foundation 0x00007fff33b729e6 -[NSBlockOperation main] + 80
7 com.apple.Foundation 0x00007fff33b72981 __NSOPERATION_IS_INVOKING_MAIN__ + 17
8 com.apple.Foundation 0x00007fff33b71bb3 -[NSOperation start] + 722
A more seasoned programmer might see a bug in the body of the appendChildren(). However I'm interested in tips/flags to Xcode Settings so that apple's crash reporter is able to collect and provide more clues in the crash report.
The current Xcode has:
Debug Information Format = DWARF
Strip Debug Symbols = NO
Optimization Level = Fastest
Thank you.