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 4082254
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:09:53+00:00 2026-05-20T18:09:53+00:00

self.mLineAnimation = [CABasicAnimation animationWithKeyPath:@path]; mLineAnimation.fromValue = (id)mStartPath; mLineAnimation.toValue = (id)mEndPath; mLineAnimation.duration = 2; mLineAnimation.repeatCount

  • 0
self.mLineAnimation = [CABasicAnimation animationWithKeyPath:@"path"];
mLineAnimation.fromValue = (id)mStartPath;
mLineAnimation.toValue = (id)mEndPath;
mLineAnimation.duration = 2; 
mLineAnimation.repeatCount = 0;
[mLineAnimation setDelegate:self];
mLineAnimation.removedOnCompletion = NO;
mLineAnimation.fillMode = kCAFillModeForwards;
mLineAnimation.timingFunction = [CAMediaTimingFunction
                                    functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
[mShapeLayer addAnimation: mLineAnimation forKey: @"animateLine"];

Notice that I set the delegate in order to implement animationDidStop.
My animations runs in a table view cell.
Now when I am scrolling fast through the table, the application crashes with EXC_BAD_ACCESS.
If I do not set the delegate, the application doesn’t crash. Could you please lead what to do here? The stack trace is next:

#0  0x0168ea63 in objc_msgSend
#1  0x056ff0a0 in ??
#2  0x00ee36cb in run_animation_callbacks
#3  0x00ee3589 in CA::timer_callback
#4  0x0150dfe3 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#5  0x0150f594 in __CFRunLoopDoTimer
#6  0x0146bcc9 in __CFRunLoopRun
#7  0x0146b240 in CFRunLoopRunSpecific
#8  0x0146b161 in CFRunLoopRunInMode
#9  0x01cd9268 in GSEventRunModal
#10 0x01cd932d in GSEventRun
#11 0x003da42e in UIApplicationMain
#12 0x00002580 in main at main.m:14
  • 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-20T18:09:54+00:00Added an answer on May 20, 2026 at 6:09 pm

    The animation stops after the object that created the animation has been destructed (the object that “self” refers to in “self.mLineAnimation”). The animation then tries to message the destructed object.

    Run your executable with NSZombieEnabled, that will turn the crash in objc_MsgSend into an Objective-C exception that will break the debugger.

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

Sidebar

Related Questions

self.scrollView.frame=CGRectMake(CGRectGetMinX(self.bounds),CGRectGetMaxY(self.bounds),CGRectGetWidth(self.bounds),CGRectGetHeight(self.bounds)); [self.scrollView addSubview:self.hourView]; [self.scrollView addSubview:self.gridView]; Now after embedding some views in the gridview, I
[[self enclosingScrollView] setHorizontalLineScroll:0]; the above api doesnt works. Help Appreciated...
[[self mainFrame] loadHTMLString:@<html><body><link href='main.css' rel='stylesheet' type='text/css' /></body></html> baseURL:nil]; I am trying to load a
self.myArray = [NSArray arrayWithObjects: [NSArray arrayWithObjects: [self generateMySecretObject], [self generateMySecretObject],nil], [NSArray arrayWithObjects: [self generateMySecretObject],
self.mood_scale = { '-30':Panic, '-20':'Fear', '-10':'Concern', '0':'Normal', '10':'Satisfaction', '20':'Happiness', '30':'Euphoria'} I need to set
self.boxesOnLift = [NSMutableArray array]; [self init]; [[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@Animation.plist]; NSMutableArray *walkAnimFrames = [NSMutableArray array];
def self.jq_column_models COLUMN_NAME.collect {|x| {:name => x.to_s, :width => 80, :format => 'integer' if
Pretty self explanatory. I have a textbox in an updatepanel that will autopostback when
def self.get(server) return unless server server = server.to_s if klass = @handlers[server] obj =
self.window.rootViewController = self.tabBarController; Request for member 'rootview controller' in something not a structure or

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.