[NSISUnrestrictedVariable retain]: message sent to deallocated instance - ios

I am at a complete lose here. I get this error when the page finishes loading and it only happens on the ipad. This error started happening with ios 7. How can i get the stacktrace for this memory address.

Related

EXC_BAD_ACCESS issue debugging

I sometimes get EXC_BAD_ACCESS without knowing the source.I enabled Zombies and this is now what I get on the console:
2018-08-27 18:37:41.785523+0530 MyProject[3419:1228271] *** -[MyProject.VideoLibrary retain]: message sent to deallocated instance 0x103078200
VideoLibrary is the name of controller and I am not sending any retain messages. How do I go further to identify the issue and fix it? I am using Swift 4.0 if that matters.
When I want to have more information about a crash, I create an exception breakpoint.
You can add one from the breakpoint navigator by clicking on the "+".
When added, edit it and add po $arg1 for action. This will print information about the exception.

Message sent to deallocated instance in swift

I'm getting an error that causes the app to crash. My application having list of the videos(My application screen divided in two part, one for player and second for videos list). I am using AVPlayerViewController for play the video. If user clicks continuously two item that the app to crash.
I have tried to run using NSZombie and I get the following message :
An Objective-C message was sent to a deallocated 'FigPlaybackItem'
object (zombie) at address: 0x14734ed00.
Do you have any idea of how to solve this issue?
Here is the output from Allocation instrument with NSZombies Detection if it helps:

Realm insertion and updation crashes after some time

I'm using Realm as my backend and it is working properly but after sometime as continue using the app it gets crashes rising the message in console as
**[RLMRealmConfiguration copy]: message sent to deallocated instance 0x7fdea71dfa70**
As in my app the insertion , deletion or updation done after a specifice time interval and this error don't go to the point where it get crashed after using the exception break point also.
Thanks.

An Objective-C message was sent to a deallocated 'UIActivityIndicatorView' object

When running my app on device, it crashes right when I initiate my AvPlayer to stream an mp3. However, it works fine on simulator.
I have tried to run it through Zombie and I get the following error message when it crashes : "An Objective-C message was sent to a deallocated 'UIActivityIndicatorView' object (zombie) at address: 0x108c020e0"
I am using an Activity indicator in previous scenes but I have tried to remove it completely, leaving no line of code mentioning any UIActivityIndicatorView and I still get the same error.
Any idea of how to deal with this? Can it be linked to the system activity indicator displayed the status bar?
Many thanks for your help
It's a crash because of abusing appearance API not as documenting (setting a property not marked with UI_APPEARANCE_SELECTOR).
For reference, see here.

[CFString retain]: message sent to deallocated instance 0x7020100

I am converting an existing project to ARC. It is converting some of the variables to __unsafe_unretained.
My application is crashing with a message [CFString retain]: message sent to deallocated instance 0x7020100. As my application is huge , it is crashing with this message in every flow. Can anybody suggest a generic solution to this.

Resources