• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Intermittent crash that's driving me nuts... any ideas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intermittent crash that's driving me nuts... any ideas?


  • Subject: Re: Intermittent crash that's driving me nuts... any ideas?
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Mon, 18 Dec 2006 20:43:23 -0800


On Dec 18, 2006, at 19:04, a.d. jensen wrote:

I've a program that is basically a mini browser, with only one window, with a Webview in it. A week or so ago, we added a second window to the program, and now, if you have the two windows open, about 15% of the time, it will crash when you quit. Unfortunately, it's dying deep in the [NSApplication terminate:] method, so I'm really not sure what I might be goofing up. It's always on a "undoManager" line, but I don't do anything with undoManager, and even tried setting it to nil with the [NSDocument setUndoManager:] without making a difference.

I thought I'd post the stack crawl in case anyone else recognizes something obvious I'm missing. The only piece of my code in there is "[myDocument dropOut:] which simply calls [NSApplication terminate:]

We had a similar problem, which I think was due to a bug in WebView. I worked around it by sending


[webView setEditingDelegate:nil];

in the window controller's dealloc method. Based on your backtrace, you might want to try something similar.

hth,
Adam

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Solved: Intermittent crash that's driving me nuts... any ideas?
      • From: "a.d. jensen" <email@hidden>
References: 
 >Intermittent crash that's driving me nuts... any ideas? (From: "a.d. jensen" <email@hidden>)

  • Prev by Date: No launch complete notification
  • Next by Date: Re: Re: NSMatrix, NSImageCell and selection indicator
  • Previous by thread: Re: Intermittent crash that's driving me nuts... any ideas?
  • Next by thread: Solved: Intermittent crash that's driving me nuts... any ideas?
  • Index(es):
    • Date
    • Thread