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

  • SEARCH
  • Home
  • 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 7130163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:19:14+00:00 2026-05-28T11:19:14+00:00

i am getting program received signal sigabrt on main.m – (IBAction)segmentControl:(id)sender { NSTimeInterval oneUnit=(60*60*24*3);

  • 0

i am getting program received signal “sigabrt” on main.m

- (IBAction)segmentControl:(id)sender {

     NSTimeInterval oneUnit=(60*60*24*3);
     //NSTimeInterval oneUnit1=(60*60*24*60);

     switch (self.ydm.selectedSegmentIndex) {

         case 0:
             for (i=0; i<([forex count]); i++) { //It does not go next step
                 NSTimeInterval x=oneUnit*i/2;
                 i++;
                 id y=[NSNumber numberWithFloat:[[forex objectAtIndex:i] floatValue]]; 
                  [contentArray addObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:[NSDecimalNumber numberWithFloat:x],@"x",y,@"y", nil]];
                  self.dataForPlot=contentArray;
             }
             break;

         default:
             break;
}

Can any one help me ?

  • 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-28T11:19:15+00:00Added an answer on May 28, 2026 at 11:19 am

    I guess the problem is because of forex. It seems it is autoreleased. Make sure it is available at the time you access it. You should retain it while you create it.

    Edit after the comments on the question:

    Just change the line,

    forex=[(NSString *)[Global soapResults] componentsSeparatedByString:@","];
    

    to be like this,

    forex=[[(NSString *)[Global soapResults] componentsSeparatedByString:@","] retain];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I keep getting a -> Program received signal: EXC_BAD_ACCESS. In the following code but
I'm getting the following error Program received signal: EXC_BAD_ACCESS. warning: check_safe_call: could not restore
I am getting a Program received signal: EXC_BAD_ACCESS. when using the following code. searchResultFileSize
i am getting a serious issue Program received signal: EXC_BAD_ACCESS. Data Formatters temporarily unavailable,
Im getting segmentation fault from pthread_mutex_lock, heres my backtrace: Program received signal SIGSEGV, Segmentation
I'm getting this error: Program received signal SIGSEGV, Segmentation fault. 0x0000000000407265 in Quadtree::deeper (this=0x7fffffffe430,
I am getting the following error message: Program received signal SIGSEGV, Segmentation fault. 0x08048ff3
Im getting this error, what could this be??? Program received signal EXC_BAD_ACCESS, Could not
I am getting Program received signal: SIGKILL Exception when I close my application in
Possible Duplicate: Program received signal: 0. Data Formatters temporarily unavailable I am taking above

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.