• 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
Advice for error "NSBundle was released too many times"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Advice for error "NSBundle was released too many times"


  • Subject: Advice for error "NSBundle was released too many times"
  • From: Colas <email@hidden>
  • Date: Tue, 22 Apr 2014 10:10:00 +0200

Dear cocoa-dev,

I have the following error in my application.
Warning: NSBundle NSBundle </System/Library/PrivateFrameworks/CorePDF.framework> (loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug

It appeared when I added a new class in my application that deals with PDFs. Before that, I had another class which deals with PDFs and never had this error.

I tried to pu the #import <Quartz/Quartz/h> in the .pch instead of each of the classes, but the error is still there.

This error is not raised every time. I would say that it happened about 50% of times.

I put a breakpoint, as advised but I don’t know what to do once I am at the concerned assembly line.

Foundation`__NSBundleOverreleased:
0x7fff922031a5:  pushq  %rbp
0x7fff922031a6:  movq   %rsp, %rbp
0x7fff922031a9:  testq  %rdi, %rdi
0x7fff922031ac:  je     0x7fff922031b0            ; __NSBundleOverreleased + 11
0x7fff922031ae:  popq   %rbp
0x7fff922031af:  ret
0x7fff922031b0:  leaq   -337650111(%rip), %rdi    ; @"' '"
0x7fff922031b7:  xorb   %al, %al
0x7fff922031b9:  popq   %rbp
0x7fff922031ba:  jmpq   0x7fff9217bc04            ; NSLog


Here is a link to a image of the stack : http://s21.postimg.org/jm03t68kn/Capture_d_cran_2014_04_21_16_08_56.png

If you have any guess on what’s going on and/or any advice, THanKS ;-) !!!

Colas
_______________________________________________

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: Advice for error "NSBundle was released too many times"
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Strange toolbar/view/resize cursor interaction
  • Next by Date: Re: Advice for error "NSBundle was released too many times"
  • Previous by thread: Re: SpriteKit
  • Next by thread: Re: Advice for error "NSBundle was released too many times"
  • Index(es):
    • Date
    • Thread