What does program received signal: SIGKILL mean when profiling an app running on device and using the xcode profiler to detect leaks?
My app broke on a line calling drawInRect on a UIImage instance
top of call stack is CGGStateCreateCopy
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SIGKILL is a signal that is common across POSIX systems, such as in your iphone OS, which it issued the signal to your application. SIGKILL cannot be caught programmatically. Usually to kill a process involves entering this on the command line, remember you can do this to the processes that you own since you logged into the shell:
Depending on 'myprocess' and how the OS handles this, you will receive similar output as shown:
Depending on what happened, it is likely when your profiler ran the code, it somehow killed your application whether by intentionally or unintentionally, judging by your question:
My app broke on a line calling drawInRect on a UIImage instance
top of call stack is CGGStateCreateCopy
It is likely that
drawInRectwas supplied with a parameter that was invalid…you need to check the parameters used for that function and verify it. That could be the very reason why the OS killed your application…Hope this helps,
Best regards,
Tom.