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

The Archive Base Latest Questions

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

I’m getting EXC_BAD_ACCESS but I don’t know anymore what to do. I get the

  • 0

I’m getting EXC_BAD_ACCESS but I don’t know anymore what to do.
I get the error when I try to switch tabs (UITabBar). Nothing executes according to NSLog.

The tabbar tab event is a segue where no code of me gets executed…
(arc enabled)

edit:
When I enable zombies, I get *** -[TDAppDelegate respondsToSelector:]: message sent to deallocated instance 0x6e8a260

I can press the rightBarButtonItem, the modal view is presented and just works (it also communicates with the appdelegate). When the modal view is dismissed, and I try to switch tabs, the app crashes again. [UITabBarDelegate tabBar:didSelectItem:] gets called.

stack:

(gdb) info malloc-history 0x6e8a260
Alloc: Block address: 0x06e8a260 length: 44
Stack - pthread: 0xac4932c0 number of frames: 32
    0: 0x9428c90b in malloc_zone_calloc
    1: 0x9428d837 in calloc
    2: 0x1bc1c93 in class_createInstance
    3: 0x1bcc88b in _objc_rootAllocWithZone
    4: 0x17de661 in +[NSObject allocWithZone:]
    5: 0x1bcc8b9 in _objc_rootAlloc
    6: 0x66f2d6 in -[UIClassSwapper initWithCoder:]
    7: 0x76dfa2 in UINibDecoderDecodeObjectForValue
    8: 0x76d6b7 in -[UINibDecoder decodeObjectForKey:]
    9: 0x66eead in -[UIRuntimeConnection initWithCoder:]
   10: 0x76dfa2 in UINibDecoderDecodeObjectForValue
   11: 0x76d9af in UINibDecoderDecodeObjectForValue
   12: 0x76d6b7 in -[UINibDecoder decodeObjectForKey:]
   13: 0x66e305 in -[UINib instantiateWithOwner:options:]
   14: 0x87484f in -[UIStoryboard instantiateViewControllerWithIdentifier:]
   15: 0x87499e in -[UIStoryboard instantiateInitialViewController]
   16: 0x4501e3 in -[UIApplication _loadMainStoryboardFileNamed:bundle:]
   17: 0x450461 in -[UIApplication _loadMainInterfaceFile]
   18: 0x44f7c0 in -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:]
   19: 0x45e743 in -[UIApplication handleEvent:withNewEvent:]
   20: 0x45f1f8 in -[UIApplication sendEvent:]
   21: 0x452aa9 in _UIApplicationHandleEvent
   22: 0x1feafa9 in PurpleEventCallback
   23: 0x17b01c5 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
   24: 0x1715022 in __CFRunLoopDoSource1
   25: 0x171390a in __CFRunLoopRun
   26: 0x1712db4 in CFRunLoopRunSpecific
   27: 0x1712ccb in CFRunLoopRunInMode
   28: 0x44f2a7 in -[UIApplication _run]
   29: 0x450a9b in UIApplicationMain
   30: 0x2a18 in main at /Users/user/Desktop/app/main.m:16
   31: 0x2975 in start
  • 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-26T18:19:53+00:00Added an answer on May 26, 2026 at 6:19 pm

    As a hunch you are crashing because you don’t have enough memory left. One of the relevant views or view controllers is being held because its referenced under ARC as strong when weak would be more appropriate.

    Also go looking in your code for instances of respondsToSelector: . It might not be the delegate that is trying to be messaged in this instance. It’s a red herring. My experience is that those “sent to deallocated instance” console logs rarely tell you the actual object which was being messaged.

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

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I don't have much knowledge about the IPv6 protocol, so sorry if the question
Does anyone know how can I replace this 2 symbol below from the string
I want to construct a data frame in an Rcpp function, but when I

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.