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

  • Home
  • SEARCH
  • 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 7669197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:32:29+00:00 2026-05-31T15:32:29+00:00

I am working on a simple iOS app that I have taken over at

  • 0

I am working on a simple iOS app that I have taken over at work. I added a controller that has a UIWebView and is navigated to from a table view. I am able to do a pushViewController on it but when I navigate back, the app crashes at here:

- (void)dealloc
{
    myWebView.delegate = nil;  // Thread 1 stopped at breakpoint 1
}

In the console, it says:

[Switching to process 621 thread 0x13b03]
[Switching to process 621 thread 0x18703]
[Switching to process 621 thread 0x11903]

Obviously, I’ve made some mistake but what would need the next place to look? I am using ARC.

thx

edit 1

This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 974.
Pending breakpoint 1 - ""WebViewController.m":57" resolved
2012-03-19 08:11:05.888 SpotFinder[974:11903] Latitude = 37.785834
2012-03-19 08:11:05.889 SpotFinder[974:11903] Latitude = -122.406417
2012-03-19 08:11:06.030 SpotFinder[974:11903] here is a log of places 33
2012-03-19 08:11:11.030 SpotFinder[974:11903] You selected index_path: <NSIndexPath 0x705c0d0> 2 indexes [0, 2]
[Switching to process 974 thread 0x13a03]
[Switching to process 974 thread 0x15e03]
[Switching to process 974 thread 0x13a03]
[Switching to process 974 thread 0x11903]
Current language:  auto; currently objective-c
(gdb)

edit 2
stacktrace:

enter image description here

  • 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-31T15:32:30+00:00Added an answer on May 31, 2026 at 3:32 pm

    Never ever call dealloc directly whether it is in a non-ARC environment or with ARC enabled.

    In non-ARC you call release, then the dealloc is called by the system on that particular object.

    Dealloc with ARC enabled is called(again, by the system) when there is no reference any more on that object.

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

Sidebar

Related Questions

I have been working on a Core Data iOS app that works perfectly through
I am working on a simple universal ios app that displays images in a
I have an app prototype that was working on Iphone4 + iOS 4.3, build
I have an iOS app that streams background audio using AVAudioSession. It is working
I'm working on a simple music player app for iOS that accesses the iTunes
I am working on a sample map kit app for iOS. I have everything
Good Day, I have a simple working routine in Perl that swaps two words:
I'm working on a quite simple native extension for Adobe Air powered iOS app.
I have a simple application which was working fine until I added some code
I am working on an iOS project that loads UIImages from URLs in a

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.