Thread 1: signal SIGTERM error

Hi all! I am getting this error while trying to run a calculator code on last Xcode 13.0. Did not have that problem in previous versions. App runs well until I close the Simulator and the error gets triggered. this is what is shown on left panel. Thread 3 Queue : com.apple.UIKit.KeyboardManagement (serial).

This is what I am getting at the debugger:

dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/osuhe/Library/Developer/Xcode/DerivedData/Calculator_Layout_iOS13-cdskmxpuiszizdgxwiezanhkuedj/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/osuhe/Library/Developer/Xcode/DerivedData/Calculator_Layout_iOS13-cdskmxpuiszizdgxwiezanhkuedj/Build/Products/Debug-iphonesimulator

CoreSimulator 776.3 - Device: iPhone 8 Plus (53744E1C-0ED4-4759-9FFA-1B0D0DFEF30C) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 8 Plus

(lldb) 


Posted on Oct 20, 2021 9:03 PM

Reply

Similar questions

4 replies

Oct 20, 2021 10:04 PM in response to Osu_9997

It’s a normal part of Unix process management.


SIGTERM is a polite request for the targeted process to terminate with some opportunities to close files and save state and whatnot, a signal which will usually then be followed by SIGKILL if the targeted process dallies too long in its signal-handling processing. An arriving SIGTERM can be delayed, while a SIGKILL cannot.


Some general signal info:

https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/signal.3.html


Lots of other discussions around, too.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Thread 1: signal SIGTERM error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.