Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4257146
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:27:04+00:00 2026-05-21T05:27:04+00:00

I was experimenting with my app in the ios simulator when I found that

  • 0

I was experimenting with my app in the ios simulator when I found that it produces the SIGKILL signal when I delete it from the multitasking bar and then rerun it. (I do this by stopping the app, running another app, then deleting the first app from the multitasking bar and rerunning it.)

I thought this might have something do do with my latest experiment, adding Core Data, but after trying to simplify the conditions, it looks like it is happening withe every app I test it with.

The code stops in the debugger at the point identified by my comment:

#import <UIKit/UIKit.h>

int main(int argc, char *argv[])
{
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    int retVal = UIApplicationMain(argc, argv, nil, nil);    //<- STOPS with SIGKILL here
    [pool release];
    return retVal;
}

I also found that it appears to be halting as if it is a break point. I click the continue button, and it resumes as if nothing happened. I put a real break point at the marked line and it halts there. Clicking continue lets the program resume without the SIGKILL signal occurring.

I tried this with a basic template program for Core Data, with no modifications of my own, and the signal occurs. I tried it with other programs that do not use Core Data, and the signal occurs. I tried it when the program is already loaded but not being debugged, and the program behaves properly, even though the problem occurs when it is being debugged.

Of course, SIGKILL does not give any error message that help.

Does anyone know what is happening? It doesn’t seem like a real problem, but I want to make sure I understand it.

I am using XCODE4.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T05:27:05+00:00Added an answer on May 21, 2026 at 5:27 am

    Deleting the program from the multitasking bar stops it from running. It’s the equivalent of the “Force Quit” option you get in OS X when right-clicking an application icon in the dock.

    At the iOS level, this is apparently done by sending the “kill” signal, known as SIGKILL, to the application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm experimenting with a jQuery Mobile app that will eventually end up as a
I've been experimenting with Adobe Flex recently. Being a long-time server-side web app developer,
While experimenting with this question on collections in Spring.NET , I discovered that Spring
I'm experimenting with internationalization by making a Hello World program that uses properties files
I'm experimenting w/ improving the resolution of an OpenGL ES based app. Apple mentions
While experimenting with iPhone app development, we have several AppIDs which should be deleted
I'm experimenting with MVVM in the context of a simple WPF app. I have
I'm experimenting with using cagradientlayer to draw gradients in our app instead of having
I am just starting to build an app that will display PDF documents. I've
I'm experimenting with video processing and I'm looking for uncompressed video frames from iPhone.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.