What the program receives: SIGKILL means that when profiling an application running on the device and using the xcode profiler to detect leaks

What receives the program signal: Does SIGKILL mean that when profiling an application running on the device and using the xcode profiler to detect leaks?

My application crashed into a line calling drawInRect on an UIImage instance

top of call stack - CGGStateCreateCopy

+3
source share
1 answer

SIGKILL , POSIX, , iphone, . SIGKILL . , , , , , :

ps -elf | grep myprocess    

Then to kill 'myprocess' by using the numeric process id based on the PID column from the previous output sample

kill -1 9149

Depending on 'myprocess' and how the OS handles this, you will receive similar output as shown:

myprocess: received SIGKILL.
process terminated

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

, drawInRect ... , , . , ...

, , , .

+2

Source: https://habr.com/ru/post/1730708/


All Articles