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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:17:58+00:00 2026-05-18T05:17:58+00:00

Ok, so this has me completely stumped just like the guy here with the

  • 0

Ok, so this has me completely stumped just like the guy here with the exact problem.

I have a UITableView with some rows in a view controller which supports autorotation and sometimes, if i rotate the phone, i get “EXC_BAD_ACCESS” and sometimes i get SIGABRT with a stack trace like:

2010-11-19 16:51:05.634 [2306:307] -[CABasicAnimation numberOfSectionsInTableView:]: unrecognized selector sent to instance 0x58207d0
2010-11-19 16:51:05.688 [2306:307] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CABasicAnimation numberOfSectionsInTableView:]: unrecognized selector sent to instance 0x58207d0'
*** Call stack at first throw:
(
 0   CoreFoundation                      0x344aaed3 __exceptionPreprocess + 114
 1   libobjc.A.dylib                     0x33975811 objc_exception_throw + 24
 2   CoreFoundation                      0x344ac683 -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
 3   CoreFoundation                      0x344541d9 ___forwarding___ + 508
 4   CoreFoundation                      0x34453f90 _CF_forwarding_prep_0 + 48
 5   UIKit                               0x31b20717 -[UITableViewRowData(UITableViewRowDataPrivate) _updateNumSections] + 66
 6   UIKit                               0x31b20677 -[UITableViewRowData invalidateAllSections] + 50
 7   UIKit                               0x31b2048d -[UITableView(_UITableViewPrivate) _updateRowData] + 64
 8   UIKit                               0x31b22941 -[UITableView(_UITableViewPrivate) _ensureRowDataIsLoaded] + 24
 9   UIKit                               0x31b22909 -[UITableView numberOfSections] + 16
 10  UIKit                               0x31bd114f -[UISearchDisplayController _updateNoSearchResultsMessageVisiblity] + 54
 11  UIKit                               0x31cfbef7 -[UISearchDisplayController windowWillAnimateRotation:] + 478
 12  Foundation                          0x3325d6b3 _nsnote_callback + 142
 13  CoreFoundation                      0x34431713 __CFXNotificationPost_old + 402
 14  CoreFoundation                      0x344313b3 _CFXNotificationPostNotification + 118
 15  Foundation                          0x3324cdb7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 70
 16  UIKit                               0x31b5dbb7 -[UIWindow _setRotatableClient:toOrientation:duration:force:] + 3114
 17  UIKit                               0x31b64013 -[UIWindow _setRotatableViewOrientation:duration:force:] + 50
 18  UIKit                               0x31b39a0f -[UIWindow _updateToInterfaceOrientation:duration:force:] + 74
 19  UIKit                               0x31b39be9 -[UIWindow _updateInterfaceOrientationFromDeviceOrientation:] + 112
 20  UIKit                               0x31b39b15 -[UIWindow _handleDeviceOrientationChange:] + 88
 21  Foundation                          0x3325d6b3 _nsnote_callback + 142
 22  CoreFoundation                      0x34431713 __CFXNotificationPost_old + 402
 23  CoreFoundation                      0x344313b3 _CFXNotificationPostNotification + 118
 24  Foundation                          0x3324cdb7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 70
 25  UIKit                               0x31b0d0ed -[UIDevice setOrientation:animated:] + 144
 26  UIKit                               0x31b2a51b -[UIApplication handleEvent:withNewEvent:] + 2738
 27  UIKit                               0x31b29901 -[UIApplication sendEvent:] + 44
 28  UIKit                               0x31b29337 _UIApplicationHandleEvent + 5110
 29  GraphicsServices                    0x3026c04b PurpleEventCallback + 666
 30  CoreFoundation                      0x3443fce3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26
 31  CoreFoundation                      0x3443fca7 __CFRunLoopDoSource1 + 166
 32  CoreFoundation                      0x3443256d __CFRunLoopRun + 520
 33  CoreFoundation                      0x34432277 CFRunLoopRunSpecific + 230
 34  CoreFoundation                      0x3443217f CFRunLoopRunInMode + 58
 35  GraphicsServices                    0x3026b5f3 GSEventRunModal + 114
 36  GraphicsServices                    0x3026b69f GSEventRun + 62
 37  UIKit                               0x31ad0123 -[UIApplication _run] + 402
 38  UIKit                               0x31ace12f UIApplicationMain + 670
 39  App                                 0x0000285f main + 70
 40  App                            0x00002814 start + 40
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.

In this case it is CABasicAnimation on which numberOfSectionsInTableView is being called but sometimes there are class names like NSMachPort which i have never heard of. Also, the method being called numberOfSectionsInTableView remains the same with the class names changing to always give a doesNotRecognizeSelector exception.

Also this problem only happens when i try to rotate the device. Whenever i get a stack trace like above, there are all system functions which makes it difficult to debug.

Really need some expert advice on this. Please read the forum mentioned above to be clear about the issue.

  • 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-18T05:17:58+00:00Added an answer on May 18, 2026 at 5:17 am

    Start with enabling NSZombies. What it sounds like is you are over-releasing an object.

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

Sidebar

Related Questions

Okay. I'm sick of this problem. This has to have an easy fix, I'm
Regex is absolutely my weak point and this one has me completely stumped. I
This has got me completely stumped: print_r($json); echo json_encode($json); output: Array ( [query] =>
This has been a problem that I haven't been able to figure out for
This has got to be something I just missed, but how do I add
This has always bugged me. Perhaps someone with some hardcore knowledge of .NET internals
I am sure this has been discussed repeatedly, but I am stumped. I am
I have a script that appends some rows to a table. One of the
Undoubtedly this question has been asked before, except I completely lack the knowledge to
This has been an adventure. I started with the looping duplicate query located in

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.