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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:26:32+00:00 2026-06-10T02:26:32+00:00

I have an older app that does not use ARC. When trying to address

  • 0

I have an older app that does not use ARC. When trying to address a rather simple change, I got stuck on an annoying problem:

When running this:

NSMutableArray *arr=[[NSMutableArray alloc] initWithCapacity:0];
NSLog(@"arr=%08lx", (unsigned long)arr);
[arr release];

I get this in console:

arr=06a2ca50
*** -[__NSArrayM class]: message sent to deallocated instance 0x6a2ca50

The error comes immediately after single stepping over the release statement.

As I don’t recall seeing this before upgrading to 4.4.1, is there anything new in xcode 4.4.1 that explains the above?

Or am I just overseeing something very obvious in the above code?

Update: after downgrading to 4.3.3 the problem disappeared. Currently looking for what might be causing this. I couldn’t reproduce with a new/clean project.
Same problem with xcode 45-DP4 / iOS6..

  • 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-06-10T02:26:34+00:00Added an answer on June 10, 2026 at 2:26 am

    The project file had NSZombieEnabled=YES in the environment variables of the debug scheme.

    I’m not sure why this warning occurs under 4.4.1+ with NSZombieEnabled=YES since none of the standard analyze and diagnostic tools report memory issues.

    If anyone has more insight as to why this warning occurs on 4.1.1+, I’m eager to learn. In general I’m keen in taking a compiler or debug warning serious and don’t see disabling them as the best option..

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

Sidebar

Related Questions

I have a very simple webforms app that will allow field techs to order
I have an app that's built for Android 2.2, so I'm not using the
I have an app that must get data from the Sqlite database in order
I have some things in my app that I need to store, in order
In our iOS app, we have subclassed a UISlider in order to use a
We have an older VB6 application that used to run under various user's accounts.
I have an older web application that uses a MySQL Database (MYISAM). I noticed
I have some older (broken) code that has a join using a *= table1.ID
I have some older code that doesn't appear to work on 64bit Windows 7.
I have a app with a main viewcontroller that loads a first page viewcontroller.

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.