Crash with GADWindowForViewController

261 views
Skip to first unread message

Benoit Capallere

unread,
Dec 17, 2021, 6:23:43 AM12/17/21
to Google Mobile Ads SDK Developers
Hi,

We have a crash in our application 
Wa have Google Mobile Ads 8.9

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x9904c __exceptionPreprocess
1  libobjc.A.dylib                0x15f54 objc_exception_throw
2  CoreFoundation                 0x176014 +[NSObject(NSObject) _copyDescription]
3  UIKitCore                      0xf695a0 -[UIResponder doesNotRecognizeSelector:]
4  CoreFoundation                 0x2e474 ___forwarding___
5  CoreFoundation                 0x2d5b0 _CF_forwarding_prep_0
6  App Application                      0x134bfb4 GADWindowForViewController
7  App Application                       0x134c0b4 GADViewControllerToPresentFromForViewController
8  App Application                       0x1322080 GAD_GADRootViewControllerProvider_arm64_8_9_0
9  App Application                       0x1443844 -[IAUnitController viewControllerForPresentingModalViews]
10 App Application                       0x145e58c -[IAContentController handleAppStoreURL:withCompletion:]
11 App Application                       0x145c5c0 -[IAContentController tryToOpenURL:completion:]
12 App Application                       0x13a2d78 -[IAMRAIDContentController linkClicked:clickTrackers:completion:]
13 App Application                       0x13afa44 -[IAMRAIDViewController openLink:completion:]
14 App Application                       0x13b2108 -[IAMRAIDViewController mraidCommand:openURL:]
15 App Application                       0x13b496c -[IAMRAIDProtocolCommandOpen executeWithParams:]
16 App Application                       0x13fdb70 -[IAMRAIDProtocolController commandReceivedWithURL:fraudDetected:]
17 App Application                       0x13fd010 -[IAMRAIDProtocolController handleMRAIDCommandForURL:]
18 App Application                       0x13b0df8 -[IAMRAIDViewController webController:receivedMRAIDCommandForURL:]
19 App Application                       0x1424820 -[IAWebController webView:decidePolicyForNavigationAction:]
20 App Application                       0x1485f9c -[IAWebView webView:decidePolicyForNavigationAction:decisionHandler:]
21 WebKit                         0x33490c WebKit::NavigationState::NavigationClient::decidePolicyForNavigationAction(WebKit::WebPageProxy&, WTF::Ref<API::NavigationAction, WTF::RawPtrTraits<API::NavigationAction> >&&, WTF::Ref<WebKit::WebFramePolicyListenerProxy, WTF::RawPtrTraits<WebKit::WebFramePolicyListenerProxy> >&&, API::Object*)
22 WebKit                         0x421c10 WebKit::WebPageProxy::decidePolicyForNavigationAction(WTF::Ref<WebKit::WebProcessProxy, WTF::RawPtrTraits<WebKit::WebProcessProxy> >&&, WebKit::WebFrameProxy&, WebKit::FrameInfoData&&, unsigned long long, WebKit::NavigationActionData&&, WebKit::FrameInfoData&&, std::__1::optional<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WebCore::ResourceRequest const&, WebCore::ResourceRequest&&, IPC::FormDataReference&&, WebCore::ResourceResponse&&, WebKit::UserData const&, WTF::Ref<WebKit::WebPageProxy::PolicyDecisionSender, WTF::RawPtrTraits<WebKit::WebPageProxy::PolicyDecisionSender> >&&)
23 WebKit                         0x420908 WebKit::WebPageProxy::decidePolicyForNavigationActionAsyncShared(WTF::Ref<WebKit::WebProcessProxy, WTF::RawPtrTraits<WebKit::WebProcessProxy> >&&, WTF::ObjectIdentifier<WebCore::PageIdentifierType>, WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::PolicyCheckIdentifier, unsigned long long, WebKit::NavigationActionData&&, WebKit::FrameInfoData&&, std::__1::optional<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WebCore::ResourceRequest const&, WebCore::ResourceRequest&&, IPC::FormDataReference&&, WebCore::ResourceResponse&&, WebKit::UserData const&, unsigned long long)
24 WebKit                         0x420780 WebKit::WebPageProxy::decidePolicyForNavigationActionAsync(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::PolicyCheckIdentifier, unsigned long long, WebKit::NavigationActionData&&, WebKit::FrameInfoData&&, std::__1::optional<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WebCore::ResourceRequest const&, WebCore::ResourceRequest&&, IPC::FormDataReference&&, WebCore::ResourceResponse&&, WebKit::UserData const&, unsigned long long)
25 WebKit                         0x786610 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
26 WebKit                         0x58ddc IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
27 WebKit                         0x46a824 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
28 WebKit                         0x36848 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
29 WebKit                         0x35e58 IPC::Connection::dispatchIncomingMessages()
30 JavaScriptCore                 0x1140074 WTF::RunLoop::performWork()
31 JavaScriptCore                 0x11411e4 WTF::RunLoop::performWork(void*)
32 CoreFoundation                 0xbb020 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
33 CoreFoundation                 0xcbce0 __CFRunLoopDoSource0
34 CoreFoundation                 0x5fe8 __CFRunLoopDoSources0
35 CoreFoundation                 0xb7f4 __CFRunLoopRun
36 CoreFoundation                 0x1f3b8 CFRunLoopRunSpecific
37 GraphicsServices               0x138c GSEventRunModal
38 UIKitCore                      0x5196a8 -[UIApplication _run]
39 UIKitCore                      0x2987f4 UIApplicationMain
40 App Application                       0x15028c main + 15 (main.m:15)
41 ???                            0x104ae5a24 (Missing)

Mobile Ads SDK Forum Advisor

unread,
Dec 19, 2021, 11:02:32 PM12/19/21
to benoit.c...@webedia-group.com, google-adm...@googlegroups.com

Hi Benoit,

Thank you for reaching out to us.

For us to further investigate this, could you please provide the following details via Reply privately to author option or send it directly to mobileads...@gmail.com? Kindly inform us on this thread if you sent it directly to the email provided.

  • App ID
  • Ad unit ID/s affected
  • Sample app project
  • Steps to replicate
  • Device and versions affected

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2TN71T:ref
Reply all
Reply to author
Forward
0 new messages