IPhone development - where can I get a list of all the signals received by applications and what do they mean?

My application crashes at some point when testing on the phone. The console displays this message.

Tue Jan 27 15:47:14 unknown SpringBoard[22] <Warning>: Application <SBApplication: 0x3f26180> com.myprof.test activate: deactivate: exited abnormally with signal 10: Bus error 

Where can I find a list with the values โ€‹โ€‹of all these signals? Thanks.

Edit Is there a way to find out why an error occurs? according to the signal page, signal 10 is a bus error (which is BTW, cleared of the error), but what does it mean and how to remove it?

Thanks again

+4
source share
2 answers

A bus error means that you are trying to access memory in which you cannot physically access the processor . Unlike segmentation error, which means that you are accessing memory that does not belong to you. In any case, you probably have a weird pointer.

Try using the memory allocation debugger in Xcode (Guard Malloc). It will only work in the simulator and slows down, but I find it very useful.

+2
source

All Articles