Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent crashes. #14

Closed
GoogleCodeExporter opened this issue Aug 30, 2015 · 4 comments
Closed

Intermittent crashes. #14

GoogleCodeExporter opened this issue Aug 30, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download and unzip/untar the attached file.  It contains an XCode project.
2. Open the project in XCode and run it.  (The code involved is minimal.) 
It will request 20 ads (from my company's test AdWhirl app) and display
them in a table view.  They refresh every 15 seconds.
3. Scroll up and down.  After at most 5 minutes of this, you should get a
crash.  I haven't figured out how to speed up the process.  More ads
doesn't seem to help.

What version of the product are you using? On what operating system?

AdWhirl 2.1.3 on OS 3.1.3

Please provide any additional information below.

The stack trace points to AdMob code, but with NSZombieEnabled set, the
warning I get is about an AdWhirlAdapterAdMob instance.

I'm sure you know about NSZombieEnabled, but I just learned about setting
MallocStackLoggingNoCompact to 1 in order to track down where a zombie
object got alloc'ed.
http://coderslike.us/2009/05/05/finding-freeddeallocated-instances-of-objects/
 (Sorry if you already knew about this.)

The zombie seems to be the currAdapter field of the AdWhirlView class.  It
looks like AdWhirl 2.1.0 and higher add a call to release that piece of
memory, and this is causing problems.

Let me know if I can help in any way.

Thanks,
David

Original issue reported on code.google.com by david.ho...@gmail.com on 26 Feb 2010 at 12:06

@GoogleCodeExporter
Copy link
Author

Argh, there was a typo in the attached code that caused only one ad to be 
displayed.
 Sorry if you tried this already.  I'm attaching a corrected version.

Original comment by david.ho...@gmail.com on 26 Feb 2010 at 7:38

Attachments:

@GoogleCodeExporter
Copy link
Author

David, do you have a crash log of some kind you can share? Send it to me 
privately if
you prefer. I'm trying to reproduce this crash and have no luck so far.

Original comment by nigel%ad...@gtempaccount.com on 12 Mar 2010 at 5:35

@GoogleCodeExporter
Copy link
Author

Fixed in the latest version.

Original comment by nigel%ad...@gtempaccount.com on 24 Mar 2010 at 4:11

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Issue 21 has been merged into this issue.

Original comment by nigel%ad...@gtempaccount.com on 24 Mar 2010 at 4:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant