• 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
Why [NSApplication _deallocHardCore:] crash in my Safari Plug In
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why [NSApplication _deallocHardCore:] crash in my Safari Plug In


  • Subject: Why [NSApplication _deallocHardCore:] crash in my Safari Plug In
  • From: Joe Jones <email@hidden>
  • Date: Wed, 5 Mar 2008 16:52:34 -0800
  • Acceptlanguage: en-US
  • Thread-topic: Why [NSApplication _deallocHardCore:] crash in my Safari Plug In

Hi all,

I have an NPAPI based plug in and I am trying to use a Cocoa window to create a full screen window that the plug in can use when it wants to take over the screen. All works as expected, The window displays and goes away as required and all is joy. Until you quit the application.

At that point we get a crash with the NSApplication. From reading around it looks like there is something on the apps autorelease pool that doesn't exist anymore. The problem is that nothing that I am creating is being autoreleased! At least not that I can tell by overriding autorelease and adding a breakpoint there to check.

I am going insane with this oh so simple seeming task. I've tried a Carbon window but for some reason I get no mouse move events (Instead we pool on an event loop timer and call GetMouse...) in the window and drawing is, well, not performant. The cocoa approach gives me all I need as far as perf and eventing goes but this crash is a real deal breaker.

Any ideas on how I can see what is getting on the autorelease pool? Or how to stop this from happening?

TIA,
Joe

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:
    • Re: Why [NSApplication _deallocHardCore:] crash in my Safari Plug In
      • From: Peter Ammon <email@hidden>
  • Prev by Date: RE: large documents with doc based app
  • Next by Date: Re: NSStream SSL Help
  • Previous by thread: RE: large documents with doc based app
  • Next by thread: Re: Why [NSApplication _deallocHardCore:] crash in my Safari Plug In
  • Index(es):
    • Date
    • Thread