Removing an application from active tasks crashes when you try to re-open the application

I find that I can minimize the iOS application by doing the following:

  • Run the application
  • Exit the application (using the "home" button)
  • Double-click the Home button to open a list of running tasks.
  • Make my app close
  • Close task list
  • Launch my application (crash)

Still:

  • This only happens on the device (3GS running 4.3.1) when I run the debugger
  • I can not do this with other applications
  • This does not happen every time I do it.
  • This leaves the iPhone in an ambiguous state with a black screen - the termination of the process in xcode does not push me to the springboard, pressing the home button has no effect. I press the power button, then the home button, and she returns to the springboard.

I do it very quickly, so I am curious if this could be a mistake in my application (and what might be a mistake), or if the springboard kills my application the same way I restart it

The debugger reports that my application received a "SIGKILL" signal, so I tend to believe that this is just a delay in actually killing the process, but I do not want to ignore the error that I could make.

, , , , , .

+5
3

, SIGKILL. , , , (, SIGKILL, , 't one).

, SpringBoard ( ) , . [1] , . , SpringBoard , SIGKILL , , GDB , , .

Xcode ( Xcode 4 POC) .

, SpringBoard : . (, ), , - Mach/bootstrap namespaces/-, , , ( , , - ).


, , - (, ), "", "in-the-process-of-exiting", , . , , , .

+4

Xcode, ( gdb). , Xcode 4, , gdb , ( ).

iPhone, , , , , gdb , . , .

iPhone 3GS iPod 4- () .

+2

, , .

@Geoffroy , What I have noticed in Xcode 4 is that gdb isn't detached or quitted when you quit the app (I mean forcing it to terminate).

Xcode 3 SIG_ABORT. , Xcode 4 . Xcode 4, , , , , . ( ), , .

I would not worry about this in terms of the performance of your application, but you can mention it on the Apple developer forums or report a bug.

0
source

All Articles