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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:20:40+00:00 2026-05-11T09:20:40+00:00

I seem to be dealloc’ing something like the tab bar itself, navigation controller, or

  • 0

I seem to be dealloc’ing something like the tab bar itself, navigation controller, or ???, and this happens when I go to a particular view controller and then hit the tab bar to a specific tab (eg, if I hit the middle tab, of 3 tabs, no problem, but if I hit the rightmost tab I get the crash). My program is basically complete and I have a pretty big code base at this point. Anyone have any suggestions for debugging this — I’ve been waiting until now to work on this. My sense, is to look at the dealloc routines and any releases in the neighboring code. Any thing less ‘manual’ you can suggest? Thanks!

  • 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. 2026-05-11T09:20:41+00:00Added an answer on May 11, 2026 at 9:20 am

    Without knowing more, here’s how I would go about it.

    1. In the log viewer, type backtrace after the exception occurs in gdb. Hopefully, this will give you the exact line that shows which object is being free’d too many times.

    2. Look for references to this object and see if you can find the unnecessary release, autorelease, etc. by inspection. You are not to release/autorelease anything that your execution path does not own (via alloc).

    You may have some luck printing out retain counts for this object (by sending the retainCount message to the offending object). Though the developer’s documentation strongly suggests that this is meaningless and not fruitful, I’ve found it useful on occasion to help me narrow down when I’ve freed something by accident.

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

Sidebar

Ask A Question

Stats

  • Questions 505k
  • Answers 505k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer See here: Common HRESULT values. E_POINTER = 0x80004003 E_INVALIDARG =… May 16, 2026 at 3:25 pm
  • Editorial Team
    Editorial Team added an answer git mv and git rm are about updating the index… May 16, 2026 at 3:25 pm
  • Editorial Team
    Editorial Team added an answer Set the Content property on the Label to the current… May 16, 2026 at 3:25 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

This should be a simple question, but I just can't seem to figure it
I'm seeing something fairly strange here, I've got breakpoints set in various dealloc methods
I've seem to implement all the right code here. Is there something I'm missing
I seem to be generating a lot of questions with this one little iPhone
These seem like a great combination--I'd expect to see more on at least GWT/iPhone
I seem to have something odd with either my Mac 10.6 terminal or my
I seem to be having trouble with this. I have a Task table with
i seem to be having difficulties in accessing and comparing objects in NSMutableArrays in
I seem to have a fundamental gap in my memory management understanding. The code
I seem to be stuck and am not sure which is the best direction

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.