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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:14:27+00:00 2026-05-29T11:14:27+00:00

Happy Friday. Having an interesting time debugging a zombie issue. I have a UITableView

  • 0

Happy Friday. Having an interesting time debugging a zombie issue. I have a UITableView that gets its data source from an NSMutableArray loaded with Word objects. (See class below). When the app loads, all is good – the 1st 8 or 9 words display in table view as expected. However when I scroll, I am getting zombies in my Word objects, as evidenced in the debugger output “<Zombie>” as the value for the Word class instance variable values. (See screenshot). This results in a crash.

Screenshot showing zombies

TableSearch[12440:207] *** -[CFString respondsToSelector:]: message sent to deallocated instance 0x6b1fe70

Here is the Word class

//Word Class

#import "Word.h"

@implementation Word

@synthesize word;
@synthesize definition;

+ (id)wordWith:(NSString *)word Definition:(NSString *)definition
{

Word *newWord = [[[self alloc] init] autorelease];

    newWord.word = word;
    newWord.definition = definition;

   return newWord;

 }


 - (void)dealloc
 {
   [word release];
   [definition release];
   [super dealloc];
 }

 @end

I am sure this is something dumb but I cannot see where I went wrong.

I ran “Analyze” on Instruments and no issues were reported. After the crash, I ran “malloc_history 12440 0x6b1fe70” and looked at the output but not sure what to look for except for
the class name of the objects that have the zombie, which I did not see.

Any help tracking this down is greatly appreciated.

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. Editorial Team
    Editorial Team
    2026-05-29T11:14:28+00:00Added an answer on May 29, 2026 at 11:14 am

    Are the “word” and “definition” properties of your Word class both defined as “retain”? E.g.

    @property (nonatomic, retain) NSString *word;
    @property (nonatomic, retain) NSString *definition;
    

    If you’ve written them as:

    @property (nonatomic, assign) NSString *word;
    

    or just

    @property (nonatomic) NSString *word;
    

    Then it would account for your crash.

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

Sidebar

Related Questions

Happy Friday All, I have an ASP.net 2.0 website that I'm updating to .Net
Happy Friday SO! I'm building a multi-WinForm application and am having some troubles. I
I'm a happy user of Github. Over time I have accrued a number of
Happy new year :) I have a Chrome extension which is a popup that
Happy New Year. I have a bunch of SOAP Web Services. They all have
I'm very happy of Netbeans 6.5 diff tool, I have to ask some questions
Happy Friday — Does anyone know if eclipse has the notion of smart quotes
happy holidays! i have a tablelayoutpanel (10x10). within each cell i have a picturebox
I have been happy serializing with javascript objects into JSON using JSON.stringify And sending
Happy Friday! I assume somebody out there has a simple answer to this question

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.