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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:28:12+00:00 2026-05-19T02:28:12+00:00

I’ve spent that last two hours starring at the most cookie cutter block of

  • 0

I’ve spent that last two hours starring at the most cookie cutter block of code and I can’t figure out why it’s crashing, plus there’s no error message or any useful data shown in the console or debugger. I’m simply trying to load a view controller that inherits from UITableViewController and its only instance var is a UITableView object. Here’s the class code…

@interface PlayFriendViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource>
{
 IBOutlet UITableView *rootTableView;
}

@property (nonatomic, retain) IBOutlet UITableView *rootTableView;

@end

Here’s the code that loads it and pushes it on to the stack….

 PlayFriendViewController *pfvc = [[PlayFriendViewController alloc] initWithNibName:@"PlayFriendView_iPhone" bundle:nil];
 [self.navigationController pushViewController:pfvc animated:YES]; //<--Crashes here
 [pfvc release];

and here’s the relevant part of the callstack….

0   libSystem.B.dylib              0x33bd52d4 __kill + 8
1   libSystem.B.dylib              0x33bd52c4 kill + 4
2   libSystem.B.dylib              0x33bd52b6 raise + 10
3   libSystem.B.dylib              0x33be9d72 abort + 50
4   libstdc++.6.dylib              0x31bdba20 __gnu_cxx::__verbose_terminate_handler() + 376
5   libobjc.A.dylib                0x3347c594 _objc_terminate + 104
6   libstdc++.6.dylib              0x31bd9df2 __cxxabiv1::__terminate(void (*)()) + 46
7   libstdc++.6.dylib              0x31bd9e46 std::terminate() + 10
8   libstdc++.6.dylib              0x31bd9f16 __cxa_throw + 78
9   libobjc.A.dylib                0x3347b4c4 objc_exception_throw + 64
10  CoreFoundation                 0x33ac07c2 +[NSException raise:format:arguments:] + 62
11  CoreFoundation                 0x33ac07fc +[NSException raise:format:] + 28
12  UIKit                          0x320e4118 -[UITableViewController loadView] + 188
13  UIKit                          0x320a0220 -[UIViewController view] + 24
14  UIKit                          0x320acd04 -[UIViewController contentScrollView] + 16
15  UIKit                          0x320acb74 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 24
16  UIKit                          0x320aca72 -[UINavigationController _layoutViewController:] + 18
17  UIKit                          0x320ac54a -[UINavigationController _startTransition:fromViewController:toViewController:] + 374
18  UIKit                          0x320ac358 -[UINavigationController _startDeferredTransitionIfNeeded] + 176
19  UIKit                          0x320a00be -[UINavigationController pushViewController:transition:forceImmediate:] + 634
20  UIKit                          0x3209fe34 -[UINavigationController pushViewController:animated:] + 28

One thing to note: When I remove the UITableView instance var and all connections to it, the view loads successfully. There’s nothing in the view, but at least it doesn’t crash.

Any ideas what’s happening or how I can get further information on this crash?

Thanks so much for your wisdom!

  • 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-19T02:28:13+00:00Added an answer on May 19, 2026 at 2:28 am

    Fixed the problem and, like all really puzzling bugs, it was stupid. I guess I don’t feel so bad since no one else caught it either, but my view controller should be a subclass of UIViewController, not UITableViewController, since a UITableView object is an instance var of my class and my view controller adheres to the appropriate protocols. Anyhow, fixed it, now it works. That stupid mistake only took me two hours to fix…ugghh.

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

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a jquery bug and I've been looking for hours now, I can't
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.