Reputation: 18568
One of my free apps is making enough ad requests to cause really low fill rates, so I decided to add another ad network alongside iAd and Admob to my app. With AdWhirl, this is a very easy process. You drop the Greystripe SDK folder into XCode and enable the Greystripe adapter in the AdWhirl code. That's it! Unfortunately, it's crashing :)
The Greystripe ad banner loads fine, but as soon as it tries to dealloc, it crashes in the following code in the AdWhirlAdapterGreystrip.m file...
- (void)dealloc {
[innerContainer release]; //<--Crash here
[outerContainer release];
[super dealloc];
}
I don't know the AdWhirl SDK code at all and, before I dive into it, I was hoping someone else has seen this or can give me some ideas of where to look.
Thanks so much for your wisdom!
Upvotes: 0
Views: 1024
Reputation: 46
The current release version of our adapter has a bug in the new stopBeingDelegate
method, which as Bastian says, results in a bad release.
To solve this just comment out:
[GSAdView adViewForSlotNamed:kGSBannerSlotName delegate:nil];
from the stopBeingDelegate
method in AdWhirlAdapterGreystripe.m
This is also reported in google code. If you have a chance please "star" this issue, so AdWhirl will merge this fix into the release.
Full disclosure: I work for Greystripe ;)
Upvotes: 3
Reputation: 10433
Usually a crash in this location means that innerContainer was already released earlier. Or was never retained properly.
Upvotes: 1