farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

Crash when selecting House Ad (iAds, AdMob work fine) #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create simple Hello World sample app, AdWhril 2.6.1
2.In TestViewController.m 
- (void)viewDidLoad {
    [super viewDidLoad];
    AdWhirlView *awView = [AdWhirlView requestAdWhirlViewWithDelegate:self]; 
    [self.view addSubview:awView];
}

Used SDK2_SampleAppDelegate.h, .m from Sample application.

3. Run Simulator iPhone  Base SDK iOS Device 4.1 Target iOS 4.1

What is the expected output? 
Banner Ads on Top 

What do you see instead? 
Banner Ads on Top - iAds, AdMob worked fine but when displaying House Ad 
clicking on House Ad causes GDB: Program received signal: "SIGABRT". Expected 
to launch browser and go to URL.

What version of the product are you using? On what operating system?
AdWhril 2.6.1
Run Simulator iPhone  Base SDK iOS Device 4.1 Target iOS 4.1

Please provide any additional information below. The House Ad was set to 
Name: Visit MyAirwaves
Goal: Website
Goal URL: http://www.mayairwaves.com
Type: Image and Text
Ad Text: Come visit MyAirwaves.com
Use default image

#0  0x93d5bef6 in __kill
#1  0x93d5bee8 in kill$UNIX2003
#2  0x93dee62d in raise
#3  0x93e046e4 in abort
#4  0x98452fda in __gnu_cxx::__verbose_terminate_handler
#5  0x03054333 in _objc_terminate
#6  0x9845117a in __cxxabiv1::__terminate
#7  0x984511ba in std::terminate
#8  0x984512b8 in __cxa_throw
#9  0x03054481 in objc_exception_throw
#10 0x02f066ab in -[NSObject(NSObject) doesNotRecognizeSelector:]
#11 0x02e762b6 in ___forwarding___
#12 0x02e75e72 in __forwarding_prep_0___
#13 0x00002eae in -[AdWhrilTestViewController 
viewControllerForPresentingModalView] at AdWhrilTestViewController.m:78
#14 0x00005ee5 in -[AdWhirlAdapterCustom adTapped:] at 
AdWhirlAdapterCustom.m:385
#15 0x0000d526 in -[AdWhirlCustomAdView buttonTapUp:] at 
AdWhirlCustomAdView.m:164
#16 0x003a97f8 in -[UIApplication sendAction:to:from:forEvent:]
#17 0x00434de0 in -[UIControl sendAction:to:forEvent:]
#18 0x00437262 in -[UIControl(Internal) _sendActionsForEvents:withEvent:]
#19 0x00435e0f in -[UIControl touchesEnded:withEvent:]
#20 0x003cd3d0 in -[UIWindow _sendTouchesForEvent:]
#21 0x003aecb4 in -[UIApplication sendEvent:]
#22 0x003b39bf in _UIApplicationHandleEvent
#23 0x036f8822 in PurpleEventCallback
#24 0x02ee5ff4 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
#25 0x02e46807 in __CFRunLoopDoSource1
#26 0x02e43a93 in __CFRunLoopRun
#27 0x02e43350 in CFRunLoopRunSpecific
#28 0x02e43271 in CFRunLoopRunInMode
#29 0x036f700c in GSEventRunModal
#30 0x036f70d1 in GSEventRun
#31 0x003b7af2 in UIApplicationMain
#32 0x00002ae4 in main at main.m:14

Died here:

- (UIViewController *)viewControllerForPresentingModalView {
    return [((AdWhirlSDK2_SampleAppDelegate *)
             [[UIApplication sharedApplication] delegate])
            navigationController];
}

Original issue reported on code.google.com by bob...@gmail.com on 25 Oct 2010 at 3:57

GoogleCodeExporter commented 9 years ago
It also crashes when app installed on a iPad 4

Original comment by bob...@gmail.com on 25 Oct 2010 at 2:25

GoogleCodeExporter commented 9 years ago
This looks like a bug with your code.  Particularly, your 
"AdWhrilTestViewController" class probably doesn't implement 
viewControllerForPresentingModalView (note the misspelling in the class name).

If you want to take this discussion to the user forum, or want to send me your 
code directly, I can assist you further.

Also note that your goal url contains a typo.

Original comment by wesgood...@google.com on 25 Oct 2010 at 6:18